mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
Fixed clipboard
This commit is contained in:
parent
98470e5563
commit
96ca63874a
@ -72,7 +72,7 @@ Some mappings are commented out
|
|||||||
" These two mappings are a quality of life improvement of copy/pasting from the clipboard
|
" These two mappings are a quality of life improvement of copy/pasting from the clipboard
|
||||||
" Effectively this paste map applies the indent within the pasted content from the indent level that you're at when you invoke the pasting
|
" Effectively this paste map applies the indent within the pasted content from the indent level that you're at when you invoke the pasting
|
||||||
" http://tilvim.com/2014/03/18/a-better-paste.html
|
" http://tilvim.com/2014/03/18/a-better-paste.html
|
||||||
map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
|
map <Leader>p :set paste<CR>o<esc>"+]p:set nopaste<cr>
|
||||||
vmap <Leader>y "+y
|
vmap <Leader>y "+y
|
||||||
|
|
||||||
`plugins_config.vim`
|
`plugins_config.vim`
|
||||||
|
@ -340,7 +340,7 @@ endif
|
|||||||
" These two mappings are a quality of life improvement of copy/pasting from the clipboard
|
" These two mappings are a quality of life improvement of copy/pasting from the clipboard
|
||||||
" Effectively this paste map applies the indent within the pasted content from the indent level that you're at when you invoke the pasting
|
" Effectively this paste map applies the indent within the pasted content from the indent level that you're at when you invoke the pasting
|
||||||
" http://tilvim.com/2014/03/18/a-better-paste.html
|
" http://tilvim.com/2014/03/18/a-better-paste.html
|
||||||
map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
|
map <Leader>p :set paste<CR>o<esc>"+]p:set nopaste<cr>
|
||||||
vmap <Leader>y "+y
|
vmap <Leader>y "+y
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
Loading…
Reference in New Issue
Block a user