Skip to content

Commit

Permalink
Vim updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Kudria committed Mar 9, 2015
1 parent 05984ab commit 9dadd25
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .vim/keys.vim
Expand Up @@ -98,14 +98,18 @@ nmap L i<cr><esc>[e
nnoremap P :put!<cr>==
map <leader>a :Tabularize /
map <leader>a: :Tabularize /:<cr>
nmap <leader>a: vaI:Tabularize /^[^:]*\zs:/l1<cr>
vmap <leader>a: :Tabularize /^[^:]*\zs:/l1<cr>
map <leader>a, :Tabularize /,\zs<cr>
map <leader>a= :Tabularize /=<cr>
map <leader>a=> :Tabularize /=><cr>
map <leader>a-> :Tabularize /-><cr>
map <leader>bd :e .<cr>
map <leader>cc :ccl<cr>
map <leader>c <plug>(operator-coffee-compile)
map <leader>cl :ccl<cr>
map <leader>cd :CtrlPDir ~<cr>
let g:blockle_mapping = '<Leader>bt'
Expand Down Expand Up @@ -163,6 +167,7 @@ map <C-w>1 :only<cr>
map ~ :cd ~<cr>
map <C-space> *N
nnoremap <silent> <C-space> :call InterestingWords('n')<cr>
nnoremap <silent> <esc> :call UncolorAllWords()<cr>
nnoremap R cl
3 changes: 3 additions & 0 deletions .vim/operators.vim
Expand Up @@ -33,4 +33,7 @@ function! MotionText(motion_wiseness)
let return_value = @"
let @" = old_value
return return_value

endfunction

call operator#user#define_ex_command('coffee-compile', 'CoffeeCompile')
14 changes: 12 additions & 2 deletions .vim/packages.vim
Expand Up @@ -134,7 +134,7 @@ NeoBundle 'jeffkreeftmeijer/vim-numbertoggle'
NeoBundle 'grep.vim'
let Grep_Xargs_Options = '-0 -P 10'
let Grep_Default_Options = '-S -m 1000'
let Grep_Skip_Dirs = '.git log'
let Grep_Skip_Dirs = '.git log node_modules .coffee'
let Grep_Path = '/usr/local/bin/ag'
let Grep_Default_Filelist = '*.coffee'

Expand Down Expand Up @@ -280,7 +280,17 @@ NeoBundle 'junkblocker/patchreview-vim'

NeoBundle 'gregsexton/MatchTag'

NeoBundle 'Wolfy87/vim-expand'
NeoBundle 'vasconcelloslf/vim-interestingwords'
let g:interestingWordsGUIColors = [
\ '#b58900',
\ '#cb4b16',
\ '#dc322f',
\ '#d33682',
\ '#6c71c4',
\ '#268bd2',
\ '#2aa198',
\ '#859900'
\ ]

call neobundle#end()
filetype plugin indent on
Expand Down

0 comments on commit 9dadd25

Please sign in to comment.