Multiple small updates for tmux and vim
This commit is contained in:
parent
fbe276353f
commit
e61a51ecde
10 changed files with 653 additions and 290 deletions
22
vim/system.vim
Normal file
22
vim/system.vim
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
" Revert settings that Debian might have touched
|
||||
if $VIM !=# '/usr/share/vim' || !filereadable('/etc/debian_version')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Set options back to appropriate defaults
|
||||
set history&
|
||||
set suffixes&
|
||||
if has('cmdline_info')
|
||||
set ruler&
|
||||
endif
|
||||
if has('printoptions')
|
||||
set printoptions&
|
||||
endif
|
||||
|
||||
" Restore terminal settings to reflect terminfo
|
||||
set t_Co& t_Sf& t_Sb&
|
||||
|
||||
" Remove addons directories from 'runtimepath' if present
|
||||
set runtimepath-=/var/lib/vim/addons
|
||||
set runtimepath-=/var/lib/vim/addons/after
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue