Added new vim conf
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
0df9d7aae3
commit
89f9112337
@ -43,11 +43,13 @@ Plug 'tpope/vim-rails'
|
|||||||
" pip3 install msgpack --user
|
" pip3 install msgpack --user
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
" NerdTree
|
||||||
|
let NERDTreeShowHidden=1
|
||||||
|
|
||||||
"Pass a dictionary to set multiple options
|
" Deoplete
|
||||||
|
let g:deoplete#enable_at_startup=1
|
||||||
call deoplete#custom#option({
|
call deoplete#custom#option({
|
||||||
\ 'auto_complete_delay': 200,
|
\ 'auto_complete_delay': 500,
|
||||||
\ 'smart_case': v:true,
|
\ 'smart_case': v:true,
|
||||||
\ 'max_list' : 10,
|
\ 'max_list' : 10,
|
||||||
\ })
|
\ })
|
||||||
@ -72,6 +74,7 @@ set cmdheight=1
|
|||||||
syntax on
|
syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
set nowrap
|
||||||
|
|
||||||
" livepreviewer
|
" livepreviewer
|
||||||
let g:livepreview_previewer = 'mupdf'
|
let g:livepreview_previewer = 'mupdf'
|
||||||
@ -142,10 +145,10 @@ autocmd BufWritePost *.tex silent! execute "!sudo rm -rf *.fls *.ilg *.nav *.snm
|
|||||||
autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw!
|
autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw!
|
||||||
|
|
||||||
" mutt
|
" mutt
|
||||||
autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
|
"autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80
|
||||||
autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
|
"autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo
|
||||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
|
"autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
|
||||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
"autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
||||||
|
|
||||||
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
" Automatically deletes all trailing whitespace and newlines at end of file on save.
|
||||||
autocmd BufWritePre * %s/\s\+$//e
|
autocmd BufWritePre * %s/\s\+$//e
|
||||||
|
Loading…
Reference in New Issue
Block a user