Add Leader to run :GoImports

This commit is contained in:
Andrew Tomaka 2020-10-05 14:00:07 -04:00
parent 0b2520274e
commit 134e92f489
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

1
vimrc
View file

@ -150,6 +150,7 @@ nnoremap <silent> <Leader>BD :Bclose!<CR>
map <Leader>fj :%!python -m json.tool<cr>
map <Leader>fw :StripWhitespace<cr>
map <Leader>gg :exe "!hub gist create -o %:p"<cr><cr>
map <Leader>gi :GoImports<cr>
map <Leader>pm :set paste!<cr>
map <Leader>sa :Move %<tab>
map <Leader>sb :exe "!subl %:p:" . line(".")<cr><cr>