Differences From Artifact [8caa2cc9d1]:
- File zshrc — part of check-in [bc901a6b26] at 2015-02-15 19:27:02 on branch trunk — zshrc: export EDITOR (user: js, size: 3939) [annotate] [blame] [check-ins using]
To Artifact [4fb9e6e71b]:
- File
zshrc
— part of check-in
[e63f67d956]
at
2016-09-28 19:26:01
on branch trunk
— zshrc: Switch to vi mode with some emacs bindings
This provides the best of both worlds. (user: js, size: 4413) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
13 14 15 16 17 18 19 | LS_ON_CD="yes" LS_ON_INIT="no" LS_COLORS='di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.rar=36:*.xz=36:*.zip=36:*.orig=90:*~=90' FEMALE="no" # Whether the user is female ;) LISTMAX=32768 WORDCHARS="*?[];!#~" | | > > > > > > > > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | LS_ON_CD="yes" LS_ON_INIT="no" LS_COLORS='di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.rar=36:*.xz=36:*.zip=36:*.orig=90:*~=90' FEMALE="no" # Whether the user is female ;) LISTMAX=32768 WORDCHARS="*?[];!#~" bindkey -v # history-incremental-search-backward is much more useful than # _history-complete-* bindkey "^R" history-incremental-search-backward # Add a few other emacs bindings for convenience, as it's sometimes quicker to # use those than to switch between modes. bindkey "^A" beginning-of-line bindkey "^E" end-of-line bindkey "^D" delete-char-or-list # backward-kill-word behaves more like vim, whereas vi-backward-kill-word is # the vi behaviour. bindkey "^W" backward-kill-word setopt no_bg_nice setopt no_nomatch setopt extended_glob setopt autocd setopt auto_pushd autoload -U compinit |
︙ | ︙ |