Skip to content

Commit 6871f1c

Browse files
committed
Merge branch 'master' of https://github.com/lengarvey/vimrc
2 parents bc93a5a + a901e92 commit 6871f1c

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

config/keybinds.vim

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
" CtrlP search
22
call unite#filters#matcher_default#use(['matcher_fuzzy'])
3-
" call unite#filters#sorter_default#use(['sorter_rank'])
3+
call unite#filters#sorter_default#use(['sorter_rank'])
4+
5+
" call unite#custom#source('file_rec/async','sorters','sorter_rank')
46
nnoremap <silent> <C-p> :Unite -start-insert -buffer-name=files -winheight=10 file_rec/async<cr>
7+
58
nnoremap <silent> <Leader>m :Unite -start-insert -buffer-name=recent -winheight=10 file_mru<cr>
69
710
" Buffer nav
8-
nnoremap <Leader>b :Unite -start-insert -buffer-name=buffers -winheight=10 buffer<cr>
11+
nnoremap <Leader>b :Unite -buffer-name=buffers -winheight=10 buffer<cr>
912
1013
" Unite on the bottom
1114
let g:unite_split_rule = 'botright'

config/neobundle.vim

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ NeoBundle 'tpope/vim-fugitive'
2222
NeoBundle 'Shougo/unite.vim'
2323

2424
" Visual
25-
NeoBundle 'Lokaltog/vim-powerline'
25+
" NeoBundle 'Lokaltog/vim-powerline'
26+
NeoBundle 'bling/vim-airline'
2627

2728
" Editing
2829
NeoBundle 'tomtom/tcomment_vim'
@@ -50,10 +51,10 @@ NeoBundle 'plasticboy/vim-markdown'
5051
NeoBundle 'evanmiller/nginx-vim-syntax'
5152
NeoBundle "pangloss/vim-javascript"
5253
NeoBundle 'vim-ruby/vim-ruby'
53-
54-
" Colours
55-
NeoBundle 'twe4ked/vim-colorscheme-switcher'
56-
NeoBundle 'altercation/vim-colors-solarized'
54+
"
55+
" " Colours
56+
" NeoBundle 'twe4ked/vim-colorscheme-switcher'
57+
" NeoBundle 'altercation/vim-colors-solarized'
5758
NeoBundle 'nanotech/jellybeans.vim'
5859
NeoBundle 'tomasr/molokai'
5960

config/pluginconfig.vim

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@ let g:NERDTreeDirArrows = 1 " Enable directory arrows
1111

1212
" use special powerline font
1313
let g:Powerline_symbols = 'fancy'
14+
15+
" unite searching stuff
16+
if executable('ag')
17+
" Use ag in unite grep source.
18+
let g:unite_source_grep_command = 'ag'
19+
let g:unite_source_grep_default_opts = '--nocolor --nogroup --hidden'
20+
let g:unite_source_grep_recursive_opt = ''
21+
elseif executable('ack-grep')
22+
" Use ack in unite grep source.
23+
let g:unite_source_grep_command = 'ack-grep'
24+
let g:unite_source_grep_default_opts =
25+
\ '--no-heading --no-color -a -H'
26+
let g:unite_source_grep_recursive_opt = ''
27+
endif
28+
29+
runtime macros/matchit.vim

0 commit comments

Comments
 (0)