less checks in vim config
This commit is contained in:
parent
22b2998706
commit
ae96271d17
1 changed files with 3 additions and 8 deletions
11
vimrc
11
vimrc
|
@ -22,14 +22,9 @@ set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab
|
||||||
|
|
||||||
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
|
||||||
|
|
||||||
" 256 colours at almost all times; do I even need it?..
|
let &t_Co=256
|
||||||
if $TERM =~ '^[xterm|rxvt-unicode|screen|st]'
|
set termencoding=utf-8
|
||||||
let &t_Co=256
|
set encoding=utf-8
|
||||||
endif
|
|
||||||
if $LANG =~ '[UTF\-8|utf8]$'
|
|
||||||
set termencoding=utf-8
|
|
||||||
set encoding=utf-8
|
|
||||||
endif
|
|
||||||
|
|
||||||
" insert shebang in the beginning of the file based on its name extension
|
" insert shebang in the beginning of the file based on its name extension
|
||||||
autocmd BufNewFile *.zsh 0put =\"#!/usr/bin/env zsh\<nl>\"|$
|
autocmd BufNewFile *.zsh 0put =\"#!/usr/bin/env zsh\<nl>\"|$
|
||||||
|
|
Loading…
Reference in a new issue