Skip to content

Commit

Permalink
adds hotkeys to split window
Browse files Browse the repository at this point in the history
  • Loading branch information
raecoo committed Feb 29, 2012
1 parent f4de7fa commit 0437e1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions gvimrc
Expand Up @@ -20,6 +20,12 @@ if has("gui_macvim")
map <D-\> :NERDTreeToggle<CR>
imap <D-\> <Esc>:NERDTreeToggle<CR>
map <D-d> :vsplit<CR>
imap <D-d> <Esc>:vsplit<CR>
map <S-d> :split<CR>
imap <S-d> <Esc>:split<CR>
" Command-Shift-F for Ack
map <D-F> :Ack<space>
Expand Down
8 changes: 4 additions & 4 deletions vimrc
Expand Up @@ -6,7 +6,7 @@ call vundle#rc()

Bundle 'gmarik/vundle'
Bundle 'gmarik/snipmate.vim'
Bundle 'honza/snipmate-snippets'
"Bundle 'honza/snipmate-snippets'
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/nerdcommenter'
Bundle 'surround.vim'
Expand All @@ -16,7 +16,7 @@ Bundle 'taq/vim-rspec.git'
Bundle 'pangloss/vim-javascript'
Bundle 'tpope/vim-haml'
Bundle 'kchmck/vim-coffee-script'
Bundle 'tpope/vim-markdown'
"Bundle 'tpope/vim-markdown'
Bundle 'cakebaker/scss-syntax.vim'
Bundle 'skammer/vim-css-color'
Bundle 'ervandew/supertab'
Expand Down Expand Up @@ -81,7 +81,7 @@ endfunction
au FileType make set noexpandtab

au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru} set ft=ruby
au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn} call s:setupMarkup()
"au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn} call s:setupMarkup()
au BufNewFile,BufRead *.json set ft=javascript
au BufRead,BufNewFile *.txt call s:setupWrapping()
au FileType python set softtabstop=4 tabstop=4 shiftwidth=4 textwidth=79
Expand Down Expand Up @@ -125,7 +125,7 @@ set showcmd

let g:cssColorVimDoNotMessMyUpdatetime = 1
let g:SuperTabMappingForward="<tab>"
set wildignore+=*.o,*.obj,.git,vendor/ruby/**,coverage
set wildignore+=*.o,*.obj,.git,vendor/ruby/**,coverage,.sass-cache,tmp

let g:ctrlp_map = '<c-p>'
let g:ctrlp_match_window_reversed = 0

0 comments on commit 0437e1f

Please sign in to comment.