fix: clean trailing spaces
parent
dad294008c
commit
fa7300b1ab
16
init.vim
16
init.vim
|
@ -3,7 +3,7 @@ if filereadable("/etc/vim/vimrc.local")
|
||||||
source /etc/vim/vimrc.local
|
source /etc/vim/vimrc.local
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Syntax coloration and color theme
|
" Syntax coloration and color theme
|
||||||
syntax enable
|
syntax enable
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
|
@ -16,7 +16,7 @@ if has("autocmd")
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" add some tags for html indentations
|
" add some tags for html indentations
|
||||||
:let g:html_indent_inctags = "html,body,head,tbody"
|
:let g:html_indent_inctags = "html,body,head,tbody"
|
||||||
|
|
||||||
set showcmd " Show (partial) command in status line.
|
set showcmd " Show (partial) command in status line.
|
||||||
|
@ -28,14 +28,14 @@ set autowrite " Automatically save before commands like :next and :make
|
||||||
set hidden " Hide buffers when they are abandoned
|
set hidden " Hide buffers when they are abandoned
|
||||||
set mouse=a " Enable mouse usage (all modes)
|
set mouse=a " Enable mouse usage (all modes)
|
||||||
set linebreak " Line wrap
|
set linebreak " Line wrap
|
||||||
set number " Line numbering
|
set number " Line numbering
|
||||||
set cindent
|
set cindent
|
||||||
set smartindent
|
set smartindent
|
||||||
set autoindent
|
set autoindent
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set ruler
|
set ruler
|
||||||
set wrap
|
set wrap
|
||||||
set modeline
|
set modeline
|
||||||
|
@ -81,7 +81,7 @@ autocmd FileType xml set foldlevel=1
|
||||||
au BufRead,BufNewFile *.md set filetype=markdown
|
au BufRead,BufNewFile *.md set filetype=markdown
|
||||||
|
|
||||||
" vim-pandoc
|
" vim-pandoc
|
||||||
:let g:pandoc#spell#default_langs = ['fr', 'en', 'de_de'] " default languages grammar check
|
:let g:pandoc#spell#default_langs = ['fr', 'en', 'de_de'] " default languages grammar check
|
||||||
|
|
||||||
" set C-l to :nohlsearch
|
" set C-l to :nohlsearch
|
||||||
nnoremap <silent> <C-l> :nohlsearch<CR><C-l>
|
nnoremap <silent> <C-l> :nohlsearch<CR><C-l>
|
||||||
|
|
Loading…
Reference in New Issue