소스 검색

added some new UNITE plugins

wreed4 8 년 전
부모
커밋
21683ef384
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      vimrc

+ 5 - 3
vimrc

@@ -62,6 +62,8 @@ Plug 'tpope/vim-surround'
 " Amazing plugin that makes a lot of things obsolete...
 Plug 'Shougo/unite.vim'
 Plug 'Shougo/neomru.vim'
+Plug 'Shougo/neoyank.vim'
+Plug 'Shougo/unite-outline'
 " Make Tmux pretty
 Plug 'edkolev/tmuxline.vim'
 " switch between header files easily
@@ -328,9 +330,9 @@ nnoremap <leader>y :<C-u>Unite -buffer-name=yank    history/yank<CR>
 nnoremap <leader>j :<C-u>Unite  -buffer-name=jump    jump<CR>
 nnoremap <leader>be :<C-u>Unite -buffer-name=buffer buffer<CR>
 nnoremap <leader>/ :<C-u>Unite -keep-focus -no-quit -buffer-name=search -start-insert line:all<CR>
+nnoremap <leader>vg :<C-u>Unite -buffer-name=vimgrep vimgrep<CR>
 "
-"Doesn't work.  Can't get plugins to play nice
-"nnoremap <leader>t :<C-u>Unite -buffer-name=outline -start-insert outline<CR>
+nnoremap <leader>t :<C-u>Unite -buffer-name=outline -no-split -start-insert outline<CR>
 
 " }}}
 " {{{##### JSON.vim #####
@@ -437,7 +439,7 @@ set ruler
 " set incremental search
 set hlsearch
 set incsearch
-if !has('nvim')
+if has('nvim')
   set inccommand=split
 endif
 " set status line always on