X-Git-Url: https://git.sthu.org/?p=vimconf.git;a=blobdiff_plain;f=init.vim;h=52bce1887ae08ac93c5633aeb12e6e020eed8dcf;hp=6d828c5ddca4dc2f982c9f2ab0e70ae64ff48937;hb=8d50ea588ae5df57d26a652aa8cf55b964823969;hpb=747a5a448b58ee6df8a3ee501e4f99b391830da5 diff --git a/init.vim b/init.vim index 6d828c5..52bce18 100644 --- a/init.vim +++ b/init.vim @@ -7,17 +7,21 @@ set number set cursorline set scrolloff=5 - set encoding=utf-8 set listchars=tab:»­,trail:·,eol:$ set virtualedit=block +filetype plugin indent on + set tabstop=4 set shiftwidth=4 set expandtab set smarttab +set autoindent +set smartindent + set incsearch set hlsearch @@ -30,7 +34,6 @@ if has('nvim') end syntax on -filetype plugin indent on runtime plugsetup.vim let g:airline_powerline_fonts=1 @@ -97,7 +100,7 @@ au Filetype tex set shiftwidth=2 au BufRead,BufNewFile *.plt set filetype=gnuplot :let g:org_todo_keywords = [['TODO(t)', 'WAITING(w)', '|', 'DONE(d)'], - \ ['|', 'OBSOLETE(o)'], + \ ['|', 'OBSOLETE(o)', 'WONT(n)'], \ ['CANCELED(c)']] " Trailing whitespace