diff options
author | William Carroll <wpcarro@gmail.com> | 2016-11-04T20·12-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2016-11-04T20·12-0400 |
commit | 0661c25246dd28a903ac1d17461974c67e050a4c (patch) | |
tree | 8117a518fa96c7b35ffda966f9f8950a5eca90f8 | |
parent | 1e8a01d8d18d982a095a16a8d0eebbda3e6e0c7a (diff) |
Adds pasting commands and window controls
-rw-r--r-- | usbify/vim/.vimrc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/usbify/vim/.vimrc b/usbify/vim/.vimrc index 42e4f20fcb8e..b98dc273ca17 100644 --- a/usbify/vim/.vimrc +++ b/usbify/vim/.vimrc @@ -27,6 +27,7 @@ Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/syntastic' Plugin 'sickill/vim-monokai' Plugin 'sjl/clam.vim' +" NOTE: use <C-n> to run miltiple cursors not <C-d> Plugin 'terryma/vim-multiple-cursors' @@ -92,6 +93,17 @@ let g:UltiSnipsExpandTrigger="<c-x>" inoremap ;; <C-n> +" vs and sp keybinding +nnoremap vs <Esc>:vs<CR> +nnoremap vv <Esc>:vs<CR> +nnoremap sp <Esc>:sp<CR> +nnoremap ss <Esc>:sp<CR> + + +" Remap window keybinding +nnoremap <space> <C-w> + + " tab movement bindings nnoremap <C-h> gT nnoremap <C-l> gt @@ -153,6 +165,24 @@ nnoremap F9 F( nnoremap F0 F) +" Karate edits +nnoremap ca9 ca( +nnoremap da9 da( +nnoremap va9 va( + +nnoremap ca0 ca) +nnoremap da0 da) +nnoremap va0 va) + +nnoremap ci9 ci( +nnoremap di9 di( +nnoremap vi9 vi( + +nnoremap ci0 ci) +nnoremap di0 di) +nnoremap vi0 vi) + + " scrolling and maintaing mouse position nnoremap <C-j> j<C-e> nnoremap <C-k> k<C-y> @@ -221,6 +251,7 @@ nnoremap <silent> <leader>xhh :execute 'match none'<CR> :execute '2match none'<C nnoremap <C-c> V"+y vnoremap <C-c> "+y +inoremap <C-v> <Esc>"+pa nnoremap <C-v> o<Esc>"+p vnoremap <C-v> "+p |