diff --git a/roles/dotfiles/files/vimrc b/roles/dotfiles/files/vimrc index 6456323..cbbfdbd 100644 --- a/roles/dotfiles/files/vimrc +++ b/roles/dotfiles/files/vimrc @@ -23,7 +23,7 @@ augroup terraform augroup end augroup go autocmd FileType go :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix - autocmd FileType go nnoremap :GoFmt + au FileType go nmap (go-fmt)(go-lint) au FileType go nmap (go-build) au FileType go nmap (go-run) augroup end