Skip to content
Permalink
Browse files

revert denite settings to previous commit and set denite to use a spe…

…cific hash to prevent breaking changes for time being
  • Loading branch information...
ipatch committed Jun 12, 2019
1 parent 3a65de9 commit 33da9464401618ba4930916544bee9d2437e0ee0
Showing with 5 additions and 25 deletions.
  1. +5 −25 editors/vim/vim/after/plugin/plugin_denite.vim
@@ -62,28 +62,8 @@ if has('nvim')
echo 'Denite not installed. It should work after running :packupdate'
endtry

function! s:denite_my_settings() abort
nnoremap <silent><buffer><expr> <CR> denite#do_map('do_action')
nnoremap <silent><buffer><expr> p denite#do_map('do_action', 'preview')
nnoremap <silent><buffer><expr> <C-c> denite#do_map('quit')
nnoremap <silent><buffer><expr> i denite#do_map('open_filter_buffer')
nnoremap <silent><buffer><expr> <Space> denite#do_map('toggle_select').'j'
" nnoremap ; :Denite buffer -split=floating -winrow=1<CR>
" nnoremap <leader>t :Denite file/rec -split=floating -winrow=1<CR>
" nnoremap <leader>g :<C-u>Denite grep:. -no-empty -mode=normal<CR>
" nnoremap <leader>j :<C-u>DeniteCursorWord grep:. -mode=normal<CR>
endfunction

augroup DENITE
autocmd!
autocmd FileType denite call s:denite_my_settings()
augroup end

" NOT HOTDOG
" nnoremap ; :Denite buffer -split=floating -winrow=1<CR>
nnoremap <silent> <leader>ff :Denite file/rec -auto-resize -smartcase -start-filter<CR>
nnoremap <silent> <leader>fb :Denite buffer -auto-resize<CR>
" nnoremap ; :Dentie buffer -auto-resize<CR>


endif
nnoremap ; :Denite buffer -split=floating -winrow=1<CR>
nnoremap <leader>t :Denite file/rec -split=floating -winrow=1<CR>
nnoremap <leader>g :<C-u>Denite grep:. -no-empty -mode=normal<CR>
nnoremap <leader>j :<C-u>DeniteCursorWord grep:. -mode=normal<CR>
endif

0 comments on commit 33da946

Please sign in to comment.
You can’t perform that action at this time.