Pārlūkot izejas kodu

Testing out some keybindings.

Drew 12 gadi atpakaļ
vecāks
revīzija
27c3ab31f8
1 mainītis faili ar 10 papildinājumiem un 8 dzēšanām
  1. 10 8
      vimrc

+ 10 - 8
vimrc

@@ -87,10 +87,10 @@ nnoremap <silent> <C-k> :wincmd k<CR>
 nnoremap <silent> <C-J> :wincmd j<CR>
 nnoremap <silent> <C-h> :wincmd h<CR>
 nnoremap <silent> <C-l> :wincmd l<CR>
-nnoremap <silent> = :wincmd +<CR>
-nnoremap <silent> - :wincmd -<CR>
-nnoremap <silent> + :wincmd ><CR>
-nnoremap <silent> _ :wincmd <<CR>
+nnoremap <silent> <F10> :wincmd +<CR>
+nnoremap <silent> <F9>  :wincmd -<CR>
+nnoremap <silent> <A-F10> :wincmd ><CR>
+nnoremap <silent> <A-F9>  :wincmd <<CR>
 nnoremap <silent> <leader>r :wincmd r<CR>
 nnoremap <silent> <leader>R :wincmd R<CR>
 
@@ -176,14 +176,16 @@ map <leader><A-/><space> <plug>NERDCommenterComment
 "map <leader>/u <plug>NERDCommenterUncomment
 
 """""""""""""""""""""""""""""""""""""""" 
-" YouCompleteMe
+" Useful Stuff
 """"""""""""""""""""""""""""""""""""""""
 
-let g:ycm_key_list_select_completion = ['<TAB>', '<Down>', '<Enter>']
-
 """""""""""""""""""""""""""""""""""""""" 
-" Useful Stuff
+" YouCompleteMe
 """"""""""""""""""""""""""""""""""""""""
+
+" Unbind tab so as not to interfere with Ultisnips
+let g:ycm_key_list_select_completion = ['<Up>', '<Enter>']
+
 """""""""""""""""""""""""""""""""""""""""
 " TagList
 """""""""""""""""""""""""""""""""""""""""