diff --git a/vim/vimrc b/vim/vimrc index fbbbe36..3d6634f 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -37,6 +37,7 @@ endfunction " Brief Config: " -> Sane Config Base " -> Leader Key +" -> Clip " -> Has Async Var " Sane Config Based on Tpope's Vim-Sensible @@ -46,6 +47,12 @@ source ~/.vim/vimrc.d/sensible.vim " Take me to your leader let mapleader="," +" Clipboard +" This requires +clipboard to be included in the compile. +nnoremap Y "+y +vnoremap Y "+y +nnoremap yY ^"+y$ + " Added Async Var let g:has_async = v:version >= 800 || has('nvim')