Add vim File Edit Dotfile, Go Align, and disable autolint in insert mode

This commit is contained in:
Hunter Haugen 2017-02-06 14:29:01 -08:00
parent 4bf3988e19
commit e64807f0ec
Signed by: hunner
GPG key ID: EF99694AA599DDAD

View file

@ -100,12 +100,22 @@ let g:lightline = {
noremap <Leader>tn :color tender<CR>
noremap <Leader>ip :color inkpot<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 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
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)
" Undo files in undodir=~/.local/share/nvim/undo/
" Backup files in backupdir=~/.local/share/nvim/backup/
set undofile