From 0915c9642e3db06c16bce3e68668c78514ac60ef Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 20 Jan 2024 16:42:37 +0100 Subject: home/neovim: Add double space FZF mapping --- home/neovim/init.vim | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home/neovim/init.vim b/home/neovim/init.vim index 159e7e0..c73fb73 100644 --- a/home/neovim/init.vim +++ b/home/neovim/init.vim @@ -132,6 +132,14 @@ nnoremap ddpkJ " I do this move pretty frequently. nnoremap Lh +" If the fzf executable is available, assume that the fzf plugin is going to +" be loaded. In that case we want an easy way to load a file. +if executable("fzf") + nnoremap FZF +else + nnoremap echo "FZF not found!" +endif + " Commands """"""""""""""""""""""""""" -- cgit v1.2.3