~smlavine/dots

a2031ba47edb25497616c48e8090b65c44947301 — Sebastian LaVine 24 days ago c36184f
Add go-specific <leader> bindings
2 files changed, 8 insertions(+), 0 deletions(-)

A src/.config/nvim/ftplugin/go.vim
M src/.config/nvim/init.vim
A src/.config/nvim/ftplugin/go.vim => src/.config/nvim/ftplugin/go.vim +5 -0
@@ 0,0 1,5 @@
nnoremap <leader>l :GoLint<CR>

nnoremap <leader>j :cnext<CR>
nnoremap <leader>k :cprevious<CR>
nnoremap <leader>p :cclose<CR>

M src/.config/nvim/init.vim => src/.config/nvim/init.vim +3 -0
@@ 20,6 20,9 @@ set wildmenu
" Makes backspace 'normal'
set backspace=indent,eol,start

" Set leader key to space
let mapleader = " "

" Aligns C cases like:
" switch (x) {
" case 'a':