diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -264,6 +264,8 @@ let test#vimterminal#term_position = "belowright" " command! S :w !sudo tee % "nnoremap <Tab> % +nnoremap <C-@> :call system("wl-copy", @")<CR> +xnoremap <silent> <C-@> :w !wl-copy<CR><CR> " }}} " FZF {{{ " This is the default extra key bindings @@ -366,10 +368,10 @@ augroup END " Golang {{{ augroup golang autocmd! - au BufReadPre,BufReadPost *.go + autocmd FileType go \ set tabstop=8 | \ set softtabstop=8 | - \ set shiftwidth=8 | + \ set shiftwidth=8 augroup END " }}} " GitFZF {{{ |