Add Leader to run :GoImports
This commit is contained in:
parent
0b2520274e
commit
134e92f489
1 changed files with 1 additions and 0 deletions
1
vimrc
1
vimrc
|
@ -150,6 +150,7 @@ nnoremap <silent> <Leader>BD :Bclose!<CR>
|
||||||
map <Leader>fj :%!python -m json.tool<cr>
|
map <Leader>fj :%!python -m json.tool<cr>
|
||||||
map <Leader>fw :StripWhitespace<cr>
|
map <Leader>fw :StripWhitespace<cr>
|
||||||
map <Leader>gg :exe "!hub gist create -o %:p"<cr><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>pm :set paste!<cr>
|
||||||
map <Leader>sa :Move %<tab>
|
map <Leader>sa :Move %<tab>
|
||||||
map <Leader>sb :exe "!subl %:p:" . line(".")<cr><cr>
|
map <Leader>sb :exe "!subl %:p:" . line(".")<cr><cr>
|
||||||
|
|
Loading…
Reference in a new issue