Skip to content

Commit

Permalink
better split management
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtaylor committed Apr 18, 2013
1 parent b935828 commit b667f4a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Expand Up @@ -61,3 +61,9 @@
[submodule "bundle/easymotion"]
path = bundle/easymotion
url = https://github.com/Lokaltog/vim-easymotion.git
[submodule "bundle/ragtag"]
path = bundle/ragtag
url = https://github.com/tpope/vim-ragtag.git
[submodule "bundle/golang"]
path = bundle/golang
url = https://github.com/jnwhiteh/vim-golang.git
1 change: 1 addition & 0 deletions bundle/golang
Submodule golang added at b63f8e
1 change: 1 addition & 0 deletions bundle/ragtag
Submodule ragtag added at da5a0b
17 changes: 17 additions & 0 deletions vimrc
Expand Up @@ -146,3 +146,20 @@ nmap <Leader>a: :Tabularize /:\zs<CR>
vmap <Leader>a: :Tabularize /:\zs<CR>
nmap <Leader>a, :Tabularize /,\zs<CR>
vmap <Leader>a, :Tabularize /,\zs<CR>
nmap <Leader>a<Space> :Tabularize /^\s*\S\+\zs/l0c1l0<CR>
vmap <Leader>a<Space> :Tabularize /^\s*\S\+\zs/l0c1l0<CR>
" for ragtag
inoremap <M-o> <Esc>o
inoremap <C-j> <Down>
let g:ragtag_global_maps = 1

" open splits opposite to vim's default which is a bit odd
set splitbelow
set splitright

" move splits quicker
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>

0 comments on commit b667f4a

Please sign in to comment.