1
0
Fork 0

gvimrc cleanup, zshrc additions for st

This commit is contained in:
Von Random 2018-06-20 14:53:12 +03:00
parent f7a608b37b
commit 1508f5a19d
2 changed files with 3 additions and 5 deletions

4
gvimrc
View file

@ -3,10 +3,6 @@ if has('win32')
else
set guifont=Fantasque\ Sans\ Mono\ 11
endif
if exists("g:lightline")
unlet g:lightline.separator
unlet g:lightline.subseparator
endif
set guiheadroom=0 guioptions=aei mouse=a
set noerrorbells visualbell t_vb=
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor

4
zshrc
View file

@ -50,6 +50,9 @@ bindkey '^[[4~' end-of-line # end
# xterm
bindkey '^[[H' beginning-of-line # home
bindkey '^[[F' end-of-line # end
# st
bindkey '^[[P' delete-char # del
bindkey '^[[M' delete-word # ctrl + del
# most of them (but not urxvt)
bindkey '^[[1;5C' forward-word # ctrl + right
bindkey '^[[1;5D' backward-word # ctrl + left
@ -58,7 +61,6 @@ bindkey '^[[3;5~' delete-word # ctrl + del
bindkey '^[[5~' backward-word # page up
bindkey '^[[6~' forward-word # page down
bindkey '^[[3~' delete-char # del
bindkey '^R' history-incremental-search-backward # ctrl + r
bindkey '^[m' copy-prev-shell-word # alt + m
bindkey -s '^j' '^atime ^m' # ctrl + j
# }}}