summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 77bbcc6..799a2e0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -7,6 +7,12 @@ RPROMPT='%F{white}%~%f'
# Set default editor
export EDITOR='nvim'
+# Use vi-style command-line editing
+bindkey -v
+
+# Keep Ctrl-R reverse history search in insert mode
+bindkey -M viins '^R' history-incremental-search-backward
+
alias l='ls -lha'
alias vim='nvim'
alias v='nvim'