diff options
author | Ben Sima <ben@bsima.me> | 2024-07-12 14:26:33 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-07-12 14:26:33 -0400 |
commit | 27ad0496469c32325d023c0f67de5de700f0aebb (patch) | |
tree | 0be0fc8db0d3346e2903ff3bee9a5e30c8c12655 /lib/vimrc | |
parent | b5705ba15218c969b4c77c282e10a30acfb29912 (diff) |
switch to better :RG command and map ,f to :Files
Diffstat (limited to 'lib/vimrc')
-rw-r--r-- | lib/vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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> |