summaryrefslogtreecommitdiff
path: root/lib/vimrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-07-12 14:26:33 -0400
committerBen Sima <ben@bsima.me>2024-07-12 14:26:33 -0400
commit27ad0496469c32325d023c0f67de5de700f0aebb (patch)
tree0be0fc8db0d3346e2903ff3bee9a5e30c8c12655 /lib/vimrc
parentb5705ba15218c969b4c77c282e10a30acfb29912 (diff)
switch to better :RG command and map ,f to :Files
Diffstat (limited to 'lib/vimrc')
-rw-r--r--lib/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vimrc b/lib/vimrc
index 923df55..c216a9a 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -63,10 +63,10 @@ nmap <silent> ,d :r !date +\%Y.\%m.\%d<cr>
nmap <silent> ,D :r !date +\%Y.\%m.\%d..\%H.\%M.\%S<cr>
" grep (ripgrep)
-nmap ,g :Rg<cr>
+nmap ,g :RG<cr>
-" format haskell code
-nmap ,f :!ormolu -m inplace %<cr>
+" fzf to file
+nmap ,f :Files<cr>
" clear out trailing whitespace and lines ending in whitespace
nmap <silent> ,w :%s/[\t ]\+$//e<cr>