This commit is contained in:
Jacob Bohanon
2024-09-23 10:04:26 -04:00
parent 8ffa24ce52
commit eb4ded42d7
3 changed files with 9 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ vnoremap('K', ':m \'<-2<CR>gv=gv')
nnoremap('<Leader>ee', ':NvimTreeFindFileToggle<cr>')
vnoremap('<Leader>/', ':Commentary<cr>')
nnoremap('<Leader>/', ':Commentary<cr>')
-- golang error handling
nnoremap('<Leader>err', 'oif err != nil {<CR>return nil, err<CR>}<CR><esc>kkI<esc>')