adjusted so vi keybindings didn't throw off ctrl l clear
This commit is contained in:
parent
1bd14eff72
commit
c36b937f91
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@
|
||||||
# enable vi keybindings in terminal and terminal applications
|
# enable vi keybindings in terminal and terminal applications
|
||||||
set -o vi
|
set -o vi
|
||||||
|
|
||||||
|
# but keep ctrl l as the clear screen command
|
||||||
|
bind -m vi-command 'Control-l: clear-screen'
|
||||||
|
bind -m vi-insert 'Control-l: clear-screen'
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
colors() {
|
colors() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue