From 1179afc20d0a8388e24cecb625587be805bcec19 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Sun, 11 Mar 2018 22:54:48 +0100 Subject: [PATCH] change grepper and fzf bindings --- vimrc | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/vimrc b/vimrc index be81d67..9647f0f 100644 --- a/vimrc +++ b/vimrc @@ -227,6 +227,7 @@ let g:EditorConfig_exclude_patterns = ['fugitive://.*'] "" vim-grepper nnoremap / :Grepper -tool rg +nnoremap * :Grepper -tool rg -cword -noprompt let g:grepper = {} let g:grepper.tools = ['rg', 'git', 'ag', 'grep'] @@ -241,20 +242,27 @@ let g:gutentags_file_list_command = { \ } "" Grepper -nnoremap g :Grepper -tool git -nnoremap G :Grepper -tool ag -nnoremap * :Grepper -tool ag -cword -noprompt - nmap gs (GrepperOperator) xmap gs (GrepperOperator) "" fzf -nnoremap bb :Buffers -nnoremap ff :GFiles -nnoremap FF :Files -vnoremap ff y:Files " -nnoremap cc :Commits -nnoremap hf :History +nnoremap b :Buffers +nnoremap f :GFiles +nnoremap F :Files +nnoremap c :Commits +nnoremap bc :BCommits +nnoremap t :Tags +nnoremap bt :BTags +nnoremap l :Lines +nnoremap bl :BLines +nnoremap w :Windows +nnoremap bh :History +nnoremap ch :History: +nnoremap sh :History/ +nnoremap vc :Commands +nnoremap m :Maps +nnoremap h :Helptags + "" ale nmap (ale_previous_wrap)