Skip to content

Instantly share code, notes, and snippets.

@nicewook
Created September 4, 2022 15:04
Show Gist options
  • Save nicewook/c57d66c4c82faf8037178a8f7de06851 to your computer and use it in GitHub Desktop.
Save nicewook/c57d66c4c82faf8037178a8f7de06851 to your computer and use it in GitHub Desktop.
syntax on
set nu rnu
set expandtab
set tabstop=2
set shiftwidth=2
colo wombat
map <C-n> :cnext<CR>
map <C-m> :cprevious<CR>
nnoremap <leader>a :cclose<CR>
autocmd FileType go nmap <leader>b <Plug>(go-build)
autocmd FileType go nmap <leader>r <Plug>(go-run)
call plug#begin()
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'fatih/vim-go', { 'tag': '*' }
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment