aboutsummaryrefslogtreecommitdiff
path: root/dot.zshrc.local
diff options
context:
space:
mode:
Diffstat (limited to 'dot.zshrc.local')
-rw-r--r--dot.zshrc.local6
1 files changed, 5 insertions, 1 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local
index 3fc2a29..19fb1f6 100644
--- a/dot.zshrc.local
+++ b/dot.zshrc.local
@@ -58,7 +58,11 @@ function qsx_fix_vcs_info() {
qsx_fix_vcs_info
(( $+commands[bsdtar] )) && alias tar=bsdtar
-(( $+commands[nvim] )) && alias vim=nvim
+(( $+commands[nvim] )) && function vim {
+ command nvim "$@"
+ # Reset terminal cursor
+ printf "\033[0 q"
+}
alias g=git
alias ec="emacsclient -n"
alias et="emacsclient -t"