diff --git a/.vimrc b/.vimrc index cf4a14a..224bdba 100644 --- a/.vimrc +++ b/.vimrc @@ -70,7 +70,17 @@ endfunction augroup RestoreCursor autocmd! 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 @@ -127,6 +137,9 @@ if executable('rg') set grepformat=%f:%l:%c:%m endif +" projectionist +nnoremap a :A + """ Selecta " Run a given vim command on the results of fuzzy selecting from a given shell