summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zsh/.zprofile4
-rw-r--r--zsh/.zsh/.zshrc1
2 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.zsh/.zprofile b/zsh/.zsh/.zprofile
index 38e7bb0..e6c4265 100644
--- a/zsh/.zsh/.zprofile
+++ b/zsh/.zsh/.zprofile
@@ -1,5 +1,7 @@
-export EDITOR=vim
+export EDITOR=nvim
+export VISUAL=nvim
export HISTSIZE=1000000
+export SAVEHIST=$HISTSIZE
# Start X automatically
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
diff --git a/zsh/.zsh/.zshrc b/zsh/.zsh/.zshrc
index 95d0bb0..7bce5fe 100644
--- a/zsh/.zsh/.zshrc
+++ b/zsh/.zsh/.zshrc
@@ -124,5 +124,6 @@ alias rd='cd $(git rev-parse --show-toplevel)'
alias mi='make install'
alias mc='make clean'
alias mca='make clean-all'
+alias -s pdf='xdg-open'
# }}}