Add vim File Edit Dotfile, Go Align, and disable autolint in insert mode
This commit is contained in:
parent
4bf3988e19
commit
e64807f0ec
1 changed files with 10 additions and 0 deletions
|
|
@ -100,12 +100,22 @@ let g:lightline = {
|
||||||
noremap <Leader>tn :color tender<CR>
|
noremap <Leader>tn :color tender<CR>
|
||||||
noremap <Leader>ip :color inkpot<CR>
|
noremap <Leader>ip :color inkpot<CR>
|
||||||
noremap <Leader>ir :color ir_black<CR>
|
noremap <Leader>ir :color ir_black<CR>
|
||||||
|
noremap <Leader>fed :e ~/.config/nvim/init.vim<CR>
|
||||||
|
|
||||||
" TODO quickfix for ripgrep results
|
" TODO quickfix for ripgrep results
|
||||||
" TODO quickfix for autolint and rake stuff
|
" TODO quickfix for autolint and rake stuff
|
||||||
|
|
||||||
|
" Only lint when leaving insert or changing text in command mode
|
||||||
|
let g:neomake_autolint_events = {
|
||||||
|
\ 'InsertLeave': {'delay': 0},
|
||||||
|
\ 'TextChanged': {},
|
||||||
|
\ }
|
||||||
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
|
" Start interactive EasyAlign in visual mode (e.g. vipga)
|
||||||
|
xmap ga <Plug>(EasyAlign)
|
||||||
|
|
||||||
" Undo files in undodir=~/.local/share/nvim/undo/
|
" Undo files in undodir=~/.local/share/nvim/undo/
|
||||||
" Backup files in backupdir=~/.local/share/nvim/backup/
|
" Backup files in backupdir=~/.local/share/nvim/backup/
|
||||||
set undofile
|
set undofile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue