From 2d90a55dddf1d6fffc0354a03ea41317485872b5 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 5 Jul 2016 22:19:39 +0100 Subject: [PATCH] Move fzf mappings to plugin/mappings.vim --- plugin/mappings.vim | 10 ++++++++++ vimrc | 8 -------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/plugin/mappings.vim b/plugin/mappings.vim index 8d1f104..96ae163 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -9,6 +9,16 @@ nnoremap sd :YcmShowDetailedDiagnostic " DoxygenToolkit nnoremap d :Dox +" fzf +exec 'nnoremap f :Files ' +exec 'nnoremap a :Ag ' +nnoremap g :GitFiles +nnoremap b :Buffers +nnoremap l :BLines +nnoremap c :Commits +nnoremap h :Helptags +nnoremap s :Snippets + " Treat long lines as line containing breaks nnoremap j gj nnoremap k gk diff --git a/vimrc b/vimrc index 49b866d..ee511ac 100644 --- a/vimrc +++ b/vimrc @@ -106,14 +106,6 @@ Plug 'tpope/vim-speeddating' " fzf.vim - Fuzzy finder {{{ Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all --no-update-rc'} Plug 'junegunn/fzf.vim' -exec 'nnoremap f :Files ' -nnoremap g :GitFiles -exec 'nnoremap a :Ag ' -nnoremap b :Buffers -nnoremap l :BLines -nnoremap c :Commits -nnoremap h :Helptags -nnoremap s :Snippets " }}} " vim-notes - easy note taking {{{