summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorChris <[email protected]>2020-03-31 16:26:31 -0400
committerChris <[email protected]>2020-03-31 16:26:31 -0400
commit7da740604820bab2b9a68c433828ff377811f644 (patch)
tree42751b861e8a8713619651f740adce8afae7c763 /modules
parent9b9dfb9cc52f394466ca8c94aa88960ef09c77af (diff)
added copy paste, better tab
Diffstat (limited to 'modules')
-rw-r--r--modules/general.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/general.vim b/modules/general.vim
index 9c55b521..75b9cff8 100644
--- a/modules/general.vim
+++ b/modules/general.vim
@@ -74,9 +74,27 @@ tnoremap <C-h> <C-\><C-n><C-w>h
tnoremap <C-j> <C-\><C-n><C-w>j
tnoremap <C-k> <C-\><C-n><C-w>k
tnoremap <C-l> <C-\><C-n><C-w>l
+
+nnoremap <M-h> <C-w>h
+nnoremap <M-j> <C-w>j
+nnoremap <M-k> <C-w>k
+nnoremap <M-l> <C-w>l
+
+nnoremap <D-h> <C-w>h
+nnoremap <D-j> <C-w>j
+nnoremap <D-k> <C-w>k
+nnoremap <D-l> <C-w>l
+
" TAB in general mode will move to text buffer
nnoremap <TAB> :bnext<CR>
" SHIFT-TAB will go back
nnoremap <S-TAB> :bprevious<CR>
+" Copy paste between vim and everything else
+set clipboard=unnamedplus
+" hold when tabbing
+vnoremap < <gv
+vnoremap > >gv
+
+set conceallevel=0