diff options
Diffstat (limited to 'lib/vimrc')
-rw-r--r-- | lib/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -58,6 +58,9 @@ nmap <silent> ,D :r !date +\%Y.\%m.\%d..\%H.\%M.\%S<cr> " grep (ripgrep) nmap ,g :Rg +" format haskell code +nmap ,f :!ormolu -m inplace %<cr> + " clear out trailing whitespace and lines ending in whitespace nmap <silent> ,w :%s/[\t ]\+$//e<cr> |