|
|
@ -70,7 +70,17 @@ endfunction
|
|
|
|
augroup RestoreCursor
|
|
|
|
augroup RestoreCursor
|
|
|
|
autocmd!
|
|
|
|
autocmd!
|
|
|
|
autocmd BufWinEnter * call RestoreCursor()
|
|
|
|
autocmd BufWinEnter * call RestoreCursor()
|
|
|
|
augroup END
|
|
|
|
augroup end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
augroup netrw_buf_hidden_fix
|
|
|
|
|
|
|
|
autocmd!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Set all non-netrw buffers to bufhidden=hide
|
|
|
|
|
|
|
|
autocmd BufWinEnter *
|
|
|
|
|
|
|
|
\ if &ft != 'netrw'
|
|
|
|
|
|
|
|
\| set bufhidden=hide
|
|
|
|
|
|
|
|
\| endif
|
|
|
|
|
|
|
|
augroup end
|
|
|
|
|
|
|
|
|
|
|
|
""" GUI
|
|
|
|
""" GUI
|
|
|
|
|
|
|
|
|
|
|
@ -127,6 +137,9 @@ if executable('rg')
|
|
|
|
set grepformat=%f:%l:%c:%m
|
|
|
|
set grepformat=%f:%l:%c:%m
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" projectionist
|
|
|
|
|
|
|
|
nnoremap <leader>a :A<cr>
|
|
|
|
|
|
|
|
|
|
|
|
""" Selecta
|
|
|
|
""" Selecta
|
|
|
|
|
|
|
|
|
|
|
|
" Run a given vim command on the results of fuzzy selecting from a given shell
|
|
|
|
" Run a given vim command on the results of fuzzy selecting from a given shell
|
|
|
|