diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-10-07 08:51:10 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-10-07 08:51:10 +0100 |
commit | 155d2c6c9935126efa499c16245f38f43c2ddd06 (patch) | |
tree | 1541ec85bc859477c7130ce7c86d5e6d4b90e9d9 /vim/vimrc | |
parent | 36698dbd11ab5d59ca1c377a3304b44e61f9b239 (diff) |
added some vim-go stuff
Diffstat (limited to '')
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -349,6 +349,9 @@ let g:go_snippet_engine = "ultisnips" au Filetype go nmap <leader>ga <Plug>(go-alternate-edit) au Filetype go nmap <leader>gah <Plug>(go-alternate-split) au Filetype go nmap <leader>gav <Plug>(go-alternate-vertical) +au Filetype go nmap <leader>gaf <Plug>(go-fmt) +au Filetype go nmap <leader>gal <Plug>(go-lint) +au Filetype go nmap <leader>gbx <Plug>(go-deps) au FileType go nmap <F8> :GoTestFunc -short<cr> au FileType go nmap <F10> :GoTest -short<cr> au FileType go nmap <F9> :DlvToggleBreakpoint<CR> |