aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e0db18a..328c859 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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 {{{