Adds pasteboard bindings

This commit is contained in:
William Carroll 2016-08-30 10:13:30 -04:00
parent 7e76ce2e34
commit e3147857a0

View file

@ -19,6 +19,7 @@ Plugin 'tpope/vim-fugitive'
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
Plugin 'Raimondi/delimitMate' Plugin 'Raimondi/delimitMate'
Plugin 'Valloric/YouCompleteMe' Plugin 'Valloric/YouCompleteMe'
Plugin 'airblade/vim-gitgutter'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
Plugin 'mileszs/ack.vim' Plugin 'mileszs/ack.vim'
Plugin 'pangloss/vim-javascript' Plugin 'pangloss/vim-javascript'
@ -26,7 +27,7 @@ Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic' Plugin 'scrooloose/syntastic'
Plugin 'sickill/vim-monokai' Plugin 'sickill/vim-monokai'
Plugin 'sjl/clam.vim' Plugin 'sjl/clam.vim'
Plugin 'airblade/vim-gitgutter' Plugin 'terryma/vim-multiple-cursors'
call vundle#end() " required call vundle#end() " required
@ -64,8 +65,21 @@ set conceallevel=1
set concealcursor=nvic set concealcursor=nvic
" JavaScript thanks to pangloss/vim-javascript " JavaScript thanks to pangloss/vim-javascript
let g:javascript_conceal_function = "ƒ" " let g:javascript_conceal_function = "ƒ"
match ErrorMsg /ƒ/ " match ErrorMsg /ƒ/
" Ultisnips
" Track the engine.
Plugin 'SirVer/ultisnips'
" Snippets are separated from the engine. Add this if you want them:
Plugin 'honza/vim-snippets'
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<c-x>"
" let g:UltiSnipsJumpForwardTrigger="<c-j>"
" let g:UltiSnipsJumpBackwardTrigger="<c-k>"
@ -121,6 +135,13 @@ nnoremap <silent> <leader>xh3 :execute '3match none'<CR>
nnoremap <silent> <leader>xhh :execute 'match none'<CR> :execute '2match none'<CR> :execute '3match none'<CR> nnoremap <silent> <leader>xhh :execute 'match none'<CR> :execute '2match none'<CR> :execute '3match none'<CR>
" pasteboard copy & paste
nnoremap <C-c> V"+y
vnoremap <C-c> "+y
nnoremap <C-v> "+p
vnoremap <C-v> "+p
" add 80 character wrap line " add 80 character wrap line
highlight OverLength ctermbg=red ctermfg=white guibg=#592929 highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%81v.\+/ match OverLength /\%81v.\+/