change in plugin set for vim + fixkb as a function, gotta do both anyway
This commit is contained in:
parent
135bbd5b5e
commit
acc0aa52ac
2 changed files with 6 additions and 4 deletions
7
shellrc
7
shellrc
|
@ -63,8 +63,6 @@ alias fixterm='printf "c"'
|
|||
alias vi='command vim'
|
||||
alias pg-linux-client='command sudo -u postgres psql'
|
||||
alias mysql='mysql --sigint-ignore'
|
||||
alias kblayouts='setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:caps,compose:menu'
|
||||
alias kbfix='xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY'
|
||||
|
||||
# iconv
|
||||
alias iconvwk='command iconv -c -f cp1251 -t koi8-r'
|
||||
|
@ -135,6 +133,11 @@ tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config r
|
|||
|
||||
if [[ -z "${DISPLAY}" ]]; then
|
||||
x() { exec xinit -- :0 -nolisten tcp vt$XDG_VTNR; }
|
||||
else
|
||||
fixkb() {
|
||||
setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:caps,compose:menu
|
||||
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY 2>/dev/null
|
||||
}
|
||||
fi
|
||||
|
||||
# }}}
|
||||
|
|
3
vimrc
3
vimrc
|
@ -91,8 +91,7 @@ if v:version >= 700
|
|||
Plug 'vdrandom/forked-solarized.vim'
|
||||
|
||||
" syntax highlight plugins
|
||||
Plug 'puppetlabs/puppet-syntax-vim'
|
||||
Plug 'nagios-syntax'
|
||||
Plug 'neilhwatson/vim_cf3'
|
||||
call plug#end()
|
||||
|
||||
" easymotion options
|
||||
|
|
Loading…
Reference in a new issue