1
0
Fork 0

Update nvim settings

This commit is contained in:
Jeremy Kaplan 2017-12-05 01:38:05 -08:00
commit bcf2bb88b5

View file

@ -45,16 +45,18 @@ set smartcase
set cursorline set cursorline
set cursorcolumn set cursorcolumn
highlight ExtraWhitespace ctermbg=red guibg=red set shortmess+=I
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ set virtualedit=
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ set display+=lastline
autocmd InsertLeave * match ExtraWhitespace /\s\+$/ noremap <silent> k gk
autocmd BufWinLeave * call clearmatches() noremap <silent> j gj
map ; : map ; :
noremap ;; ; noremap ;; ;
map ;n :nohlsearch<CR>
map ;h :wincmd h<CR> map ;h :wincmd h<CR>
map ;j :wincmd j<CR> map ;j :wincmd j<CR>
map ;k :wincmd k<CR> map ;k :wincmd k<CR>
@ -73,3 +75,6 @@ map ;q :q<CR>
map ;x :x<CR> map ;x :x<CR>
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
autocmd BufEnter * EnableStripWhitespaceOnSave
autocmd BufNewFile,BufRead *.tako set filetype=python