about summary refs log tree commit diff
path: root/usbify
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-08-30T14·13-0400
committerWilliam Carroll <wpcarro@gmail.com>2016-08-30T14·13-0400
commite3147857a09daacf8c19401f050f892bf009b141 (patch)
tree72fde8d5dd21418316901a1a04422afa7db728a1 /usbify
parent7e76ce2e34b0414b9187c3cebf29a967e32e9ae3 (diff)
Adds pasteboard bindings
Diffstat (limited to 'usbify')
-rw-r--r--usbify/vim/.vimrc27
1 files changed, 24 insertions, 3 deletions
diff --git a/usbify/vim/.vimrc b/usbify/vim/.vimrc
index 604e39726b6b..db8a40b4ef5a 100644
--- a/usbify/vim/.vimrc
+++ b/usbify/vim/.vimrc
@@ -19,6 +19,7 @@ Plugin 'tpope/vim-fugitive'
 " All of your Plugins must be added before the following line
 Plugin 'Raimondi/delimitMate'
 Plugin 'Valloric/YouCompleteMe'
+Plugin 'airblade/vim-gitgutter'
 Plugin 'kien/ctrlp.vim'
 Plugin 'mileszs/ack.vim'
 Plugin 'pangloss/vim-javascript'
@@ -26,7 +27,7 @@ Plugin 'scrooloose/nerdtree'
 Plugin 'scrooloose/syntastic'
 Plugin 'sickill/vim-monokai'
 Plugin 'sjl/clam.vim'
-Plugin 'airblade/vim-gitgutter'
+Plugin 'terryma/vim-multiple-cursors'
 
 
 call vundle#end()            " required
@@ -64,8 +65,21 @@ set conceallevel=1
 set concealcursor=nvic
 
 " JavaScript thanks to pangloss/vim-javascript
-let g:javascript_conceal_function = "ƒ"
-match ErrorMsg /ƒ/
+" let g:javascript_conceal_function = "ƒ"
+" 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>
 
 
+" 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
 highlight OverLength ctermbg=red ctermfg=white guibg=#592929
 match OverLength /\%81v.\+/