From 27ad0496469c32325d023c0f67de5de700f0aebb Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 12 Jul 2024 14:26:33 -0400 Subject: switch to better :RG command and map ,f to :Files --- lib/vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/vimrc b/lib/vimrc index 923df55..c216a9a 100644 --- a/lib/vimrc +++ b/lib/vimrc @@ -63,10 +63,10 @@ nmap ,d :r !date +\%Y.\%m.\%d nmap ,D :r !date +\%Y.\%m.\%d..\%H.\%M.\%S " grep (ripgrep) -nmap ,g :Rg +nmap ,g :RG -" format haskell code -nmap ,f :!ormolu -m inplace % +" fzf to file +nmap ,f :Files " clear out trailing whitespace and lines ending in whitespace nmap ,w :%s/[\t ]\+$//e -- cgit v1.2.3