diff options
author | Adam Hovorka <[email protected]> | 2017-11-15 20:03:19 -0700 |
---|---|---|
committer | Adam Hovorka <[email protected]> | 2017-11-15 20:03:19 -0700 |
commit | 9fb86fce6b97733f184d911c9d3c1efddd4ec965 (patch) | |
tree | bdd76213eb392f8720923872a1e045568fcd3c27 /base/vimrc | |
parent | fa73b6181e439fa0c1c9597743d3f964d9156530 (diff) |
Use proper register for system clipboard (vim)
Diffstat (limited to 'base/vimrc')
-rw-r--r-- | base/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -142,9 +142,9 @@ nnoremap <leader>l :nohlsearch<cr>:diffupdate<cr>:syntax sync fromstart<cr><c-l> nnoremap [<space> :<c-u>put! =repeat(nr2char(10), v:count1)<cr>'[ nnoremap ]<space> :<c-u>put =repeat(nr2char(10), v:count1)<cr> -noremap <leader>y "*y -noremap <leader>yy "*Y -noremap <leader>p :set paste<CR>:put *<CR>:set nopaste<CR> +noremap <leader>y "+y +noremap <leader>yy "+Y +noremap <leader>p :set paste<CR>:put +<CR>:set nopaste<CR> noremap <silent> + :s/^\s*/&\/\//<CR>:noh<CR> noremap <silent> - :s/^\(\s*\)\/\//\1/<CR>:noh<CR> |