Adds pasteboard bindings
This commit is contained in:
parent
7e76ce2e34
commit
e3147857a0
1 changed files with 24 additions and 3 deletions
|
@ -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.\+/
|
||||
|
|
Loading…
Reference in a new issue