From 0661c25246dd28a903ac1d17461974c67e050a4c Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 4 Nov 2016 16:12:41 -0400 Subject: [PATCH] Adds pasting commands and window controls --- usbify/vim/.vimrc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/usbify/vim/.vimrc b/usbify/vim/.vimrc index 42e4f20fc..b98dc273c 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 to run miltiple cursors not Plugin 'terryma/vim-multiple-cursors' @@ -92,6 +93,17 @@ let g:UltiSnipsExpandTrigger="" inoremap ;; +" vs and sp keybinding +nnoremap vs :vs +nnoremap vv :vs +nnoremap sp :sp +nnoremap ss :sp + + +" Remap window keybinding +nnoremap + + " tab movement bindings nnoremap gT nnoremap 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 j nnoremap k @@ -221,6 +251,7 @@ nnoremap xhh :execute 'match none' :execute '2match none' V"+y vnoremap "+y +inoremap "+pa nnoremap o"+p vnoremap "+p