aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/init
diff options
context:
space:
mode:
Diffstat (limited to 'vim/init')
-rw-r--r--vim/init/keymaps.vim11
1 files changed, 10 insertions, 1 deletions
diff --git a/vim/init/keymaps.vim b/vim/init/keymaps.vim
index 5e472d2..540dd33 100644
--- a/vim/init/keymaps.vim
+++ b/vim/init/keymaps.vim
@@ -5,6 +5,7 @@
5" - COMMON_MAPPING 5" - COMMON_MAPPING
6" - LINKS 6" - LINKS
7" - MOVING_WITH_READLINE 7" - MOVING_WITH_READLINE
8" - INSERT_SURROUNDING
8" - JUMP_TO_TABS_WITH_ALT 9" - JUMP_TO_TABS_WITH_ALT
9" - MANAGE_TABS 10" - MANAGE_TABS
10" - MANAGE_BUFFERS 11" - MANAGE_BUFFERS
@@ -166,6 +167,14 @@ noremap <m-k> gk
166inoremap <m-j> <c-\><c-o>gj 167inoremap <m-j> <c-\><c-o>gj
167inoremap <m-k> <c-\><c-o>gk 168inoremap <m-k> <c-\><c-o>gk
168 169
170"----------------------------------------------------------------------
171" INSERT_SURROUNDING
172"----------------------------------------------------------------------
173inoremap ' ''<Left>
174inoremap " ""<Left>
175inoremap ( ()<Left>
176inoremap [ []<Left>
177inoremap { {}<Left>
169 178
170"---------------------------------------------------------------------- 179"----------------------------------------------------------------------
171" JUMP_TO_TABS_WITH_ALT 180" JUMP_TO_TABS_WITH_ALT
@@ -209,7 +218,7 @@ autocmd TabLeave * let g:lasttab = tabpagenr()
209 218
210" Opens a new tab with the current buffer's path 219" Opens a new tab with the current buffer's path
211" Super useful when editing files in the same directory 220" Super useful when editing files in the same directory
212map <leader>te :tabedit <C-r>=expand("%:p:h")<cr>/ 221map <leader>te :tabedit <C-r>=expand("%:p:h")<cr>
213 222
214" Tab move functions 223" Tab move functions
215function! Tab_MoveLeft() 224function! Tab_MoveLeft()