This commit is contained in:
mokou 2022-12-05 13:54:25 +01:00
parent 6443ead17a
commit d8b7e86dd6
6 changed files with 32 additions and 2 deletions

View file

@ -1,3 +1,6 @@
LICENSE LICENSE
misc/ misc/
.gitignore .gitignore
dot_config/doom/init.el
dot_config/doom/config.el
dot_config/doom/packages.el

View file

@ -36,6 +36,7 @@ setpath ~/.fly/bin
setpath ~/.nimble/bin setpath ~/.nimble/bin
setpath ~/Projects/go/bin setpath ~/Projects/go/bin
setpath ~/.bun/bin setpath ~/.bun/bin
setpath ~/go/bin
# zoxide setup # zoxide setup
zoxide init fish | source zoxide init fish | source
@ -70,6 +71,7 @@ alias c "cargo"
alias cr "cargo run" alias cr "cargo run"
alias cb "cargo build" alias cb "cargo build"
alias cwr "cargo watch -x run" alias cwr "cargo watch -x run"
alias rp "rustup"
alias be "bundle exec" alias be "bundle exec"
alias mkt "cd (mktemp -d)" alias mkt "cd (mktemp -d)"
alias czm "chezmoi" alias czm "chezmoi"
@ -83,6 +85,7 @@ alias gqc "g add --all; and g commit"
alias gpl "g pull" alias gpl "g pull"
alias gps "g push" alias gps "g push"
alias gc "g commit" alias gc "g commit"
alias gb "g branch"
alias gaa "g add --all" alias gaa "g add --all"
alias gco "g checkout" alias gco "g checkout"
alias gse "g send-email" alias gse "g send-email"
@ -90,3 +93,13 @@ alias wip "g add --all; and g commit -m WIP"
alias squish "gs; and g commit -a --amend -C HEAD" alias squish "gs; and g commit -a --amend -C HEAD"
alias editorigin "git remote set-url origin" alias editorigin "git remote set-url origin"
# Alias vim to helix if it exists because vim is way easier to type
if command --search hx > /dev/null
alias vim "hx"
end
# Load nix profile if nix is installed
if test -e /nix
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
set -x NIX_PATH "$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels"
end

View file

@ -0,0 +1,14 @@
theme = "gruvbox_light"
[editor]
shell = ["fish", "-c"]
[editor.cursor-shape]
insert = "bar"
select = "underline"
[editor.file-picker]
hidden = false
[editor.indent-guides]
render = true

1
dot_config/nix/nix.conf Normal file
View file

@ -0,0 +1 @@
experimental-features = nix-command flakes

View file

@ -17,7 +17,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and ;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(setq doom-theme 'doom-opera) (setq doom-theme 'doom-solarized-light)
;; This determines the style of line numbers in effect. If set to `nil', line ;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.

View file

@ -15,7 +15,6 @@
;; directory (for easy access to its source code). ;; directory (for easy access to its source code).
(doom! :input (doom! :input
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
;;chinese ;;chinese
;;japanese ;;japanese
;;layout ; auie,ctsrnm is the superior home row ;;layout ; auie,ctsrnm is the superior home row