Added clipboard keybinds

This commit is contained in:
James Patrick 2022-08-30 14:29:38 -04:00
parent 5bb4fda4d2
commit a298a84123

View File

@ -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')