Skip to content

Commit

Permalink
disable unite
Browse files Browse the repository at this point in the history
  • Loading branch information
X0nic committed Jan 22, 2015
1 parent a758447 commit b6d7798
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions vimrc
Expand Up @@ -147,8 +147,8 @@ Bundle 'Lokaltog/vim-powerline'
Bundle 'kien/ctrlp.vim'
nmap <C-p> :CtrlP<cr>
Bundle 'Shougo/vimproc.vim'
Bundle 'unite.vim'
" Bundle 'Shougo/vimproc.vim'
" Bundle 'unite.vim'

Bundle 'tComment'
nnoremap // :TComment<CR>j
Expand Down Expand Up @@ -267,27 +267,27 @@ else
endif

" Unite
let g:unite_source_history_yank_enable = 1
call unite#filters#matcher_default#use(['matcher_fuzzy'])
" nmap <C-p> :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
nnoremap <leader>f :<C-u>Unite -no-split -buffer-name=files -start-insert file<cr>
nnoremap <leader>r :<C-u>Unite -no-split -buffer-name=mru -start-insert file_mru<cr>
nnoremap <leader>o :<C-u>Unite -no-split -buffer-name=outline -start-insert outline<cr>
nnoremap <leader>y :<C-u>Unite -no-split -buffer-name=yank history/yank<cr>
nnoremap <leader>e :<C-u>Unite -no-split -buffer-name=buffer buffer<cr>
" let g:unite_source_history_yank_enable = 1
" call unite#filters#matcher_default#use(['matcher_fuzzy'])
" " nmap <C-p> :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
" nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
" nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr>
" nnoremap <leader>f :<C-u>Unite -no-split -buffer-name=files -start-insert file<cr>
" nnoremap <leader>r :<C-u>Unite -no-split -buffer-name=mru -start-insert file_mru<cr>
" nnoremap <leader>o :<C-u>Unite -no-split -buffer-name=outline -start-insert outline<cr>
" nnoremap <leader>y :<C-u>Unite -no-split -buffer-name=yank history/yank<cr>
" nnoremap <leader>e :<C-u>Unite -no-split -buffer-name=buffer buffer<cr>


" Custom mappings for the unite buffer
autocmd FileType unite call s:unite_settings()
function! s:unite_settings()
" Play nice with supertab
let b:SuperTabDisabled=1
" Enable navigation with control-j and control-k in insert mode
imap <buffer> <C-j> <Plug>(unite_select_next_line)
imap <buffer> <C-k> <Plug>(unite_select_previous_line)
endfunction
" autocmd FileType unite call s:unite_settings()
" function! s:unite_settings()
" " Play nice with supertab
" let b:SuperTabDisabled=1
" " Enable navigation with control-j and control-k in insert mode
" imap <buffer> <C-j> <Plug>(unite_select_next_line)
" imap <buffer> <C-k> <Plug>(unite_select_previous_line)
" endfunction

" ---------------
" UltiSnips
Expand Down

0 comments on commit b6d7798

Please sign in to comment.