Skip to content

Commit

Permalink
Added vim-unimpaired
Browse files Browse the repository at this point in the history
  • Loading branch information
fidel committed May 14, 2012
1 parent 884de6e commit 6fb0f8a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@
[submodule "vim/bundle/snipmate-snippets"]
path = vim/bundle/snipmate-snippets
url = https://github.com/honza/snipmate-snippets.git
[submodule "vim/bundle/vim-unimpaired"]
path = vim/bundle/vim-unimpaired
url = https://github.com/tpope/vim-unimpaired.git
1 change: 1 addition & 0 deletions vim/bundle/vim-unimpaired
Submodule vim-unimpaired added at e80137
10 changes: 9 additions & 1 deletion vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ colorscheme spacedust
"" Whitespace
set nowrap " don't wrap lines
set tabstop=2 shiftwidth=2 " a tab is two spaces
set softtabstop=2
set softtabstop=2
set expandtab " use spaces, not tabs
set list listchars=tab:\ \ ,trail:· " set trailing space name
set backspace=indent,eol,start " backspace through everything in insert mode
Expand Down Expand Up @@ -74,3 +74,11 @@ nnoremap <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
set showmode

"" Bubble signle lines
nmap <C-Up> [e
nmap <C-Down> ]e
"" Bubble multiple lines
vmap <C-Up> [egv
vmap <C-Down> ]egv

0 comments on commit 6fb0f8a

Please sign in to comment.