From 64dd722a5b4eb077704330b093e8b28b049ed4da Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Tue, 16 Jun 2020 02:25:26 -0500 Subject: [PATCH] nvim: more mappings for fzf --- nvim/init.vim | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 1074556..aac8b7f 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -21,12 +21,12 @@ call plug#end() set nonumber norelativenumber nnoremap :set number! relativenumber! +" highlight the cursor line, toggle with F3 +nnoremap :set cursorline! + " show the effects of a command incrementally, as you type set inccommand=nosplit -" highlight the cursor line, toggle with \c -nnoremap c :set cursorline! - " clear highlighting with escape key nnoremap :noh @@ -37,6 +37,10 @@ nmap (fzf-maps-n) xmap (fzf-maps-x) omap (fzf-maps-o) nnoremap :FzfFiles +nnoremap fc :FzfCommits +nnoremap ff :FzfFiles +nnoremap fh :FzfHistory +nnoremap fr :FzfRg " disable match highlighting let g:loaded_matchparen=1