about summary refs log tree commit diff
path: root/usbify/vim
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2016-11-10T15·57-0500
committerWilliam Carroll <wpcarro@gmail.com>2016-11-10T15·57-0500
commitccd11f71971cfabd9f61666f403161a553266693 (patch)
tree16fceab39aeee6ef9e4eadf2d8e1e88edd1ae59d /usbify/vim
parent251c7d72b955bdcd79870fa0d7b508e8b67792a3 (diff)
Updates config to support ctags
Diffstat (limited to 'usbify/vim')
-rw-r--r--usbify/vim/.vimrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/usbify/vim/.vimrc b/usbify/vim/.vimrc
index 236d79bc07b4..151391950a30 100644
--- a/usbify/vim/.vimrc
+++ b/usbify/vim/.vimrc
@@ -67,6 +67,14 @@ let g:airline_powerline_fonts = 1
 set noswapfile
 
 
+" Allow visual tab completion in command mode
+set wildmenu
+
+
+" Show Vim commands as they're being input.
+set showcmd
+
+
 " Changes <leader> to <space> character.
 let mapleader = " "
 
@@ -81,6 +89,10 @@ set hlsearch
 nnoremap <leader>/ :set hlsearch!<CR>
 
 
+" Use custom-made snippets.
+nnoremap ,jsfn :-1read $HOME/.vim/function_skeleton.js<CR>o
+
+
 " backspace settings
 set backspace=2
 set backspace=indent,eol,start
@@ -305,6 +317,7 @@ nnoremap <leader>w :set wrap!<CR>
 " Resize split to 10,20,...,100 chars
 " Uncomment the next lines for support at those sizes.
 " These bindings interfere with the highlight groups, however.
+" Increases the width of a vertical split.
 " nnoremap <leader>1 :vertical resize 10<CR>
 " nnoremap <leader>2 :vertical resize 20<CR>
 nnoremap <leader>3 :vertical resize 30<CR>
@@ -316,6 +329,16 @@ nnoremap <leader>8 :vertical resize 80<CR>
 nnoremap <leader>9 :vertical resize 90<CR>
 nnoremap <leader>0 :vertical resize 100<CR>
 
+" Increases the height of a horizontal split.
+nnoremap <leader>v1 :resize 5<CR>
+nnoremap <leader>v2 :resize 10<CR>
+nnoremap <leader>v3 :resize 15<CR>
+nnoremap <leader>v4 :resize 20<CR>
+nnoremap <leader>v5 :resize 25<CR>
+nnoremap <leader>v6 :resize 30<CR>
+nnoremap <leader>v7 :resize 35<CR>
+nnoremap <leader>v8 :resize 40<CR>
+
 
 " View Directory tree with ctrl + \
 nnoremap <C-\> :NERDTreeToggle<CR>