diff options
-rw-r--r-- | dotfiles/.vimrc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index aeadd1e..2fe47f6 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -69,9 +69,17 @@ let mapleader =" " " Copy selected text to system clipboard (requires gvim installed): vnoremap <C-c> "*y :let @+=@*<CR> -" Copy and paste to clipboard - vmap <F3> "+y - map <F4> "+p +" Copy to clipboard + vnoremap <leader>y "+y + nnoremap <leader>Y "+yg_ + nnoremap <leader>y "+y + nnoremap <leader>yy "+yy + +" Paste from clipboard + nnoremap <leader>p "+p + nnoremap <leader>P "+P + vnoremap <leader>p "+p + vnoremap <leader>P "+P " Enable Goyo by default for mutt writting " Goyo's width will be the line limit in mutt. |