less checks in vim config
This commit is contained in:
parent
22b2998706
commit
ae96271d17
1 changed files with 3 additions and 8 deletions
5
vimrc
5
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?..
|
|
||||||
if $TERM =~ '^[xterm|rxvt-unicode|screen|st]'
|
|
||||||
let &t_Co=256
|
let &t_Co=256
|
||||||
endif
|
|
||||||
if $LANG =~ '[UTF\-8|utf8]$'
|
|
||||||
set termencoding=utf-8
|
set termencoding=utf-8
|
||||||
set encoding=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