Update nvim settings
This commit is contained in:
parent
b79bc346e9
commit
bcf2bb88b5
1 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue