diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index 732426d..a0dd544 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -205,3 +205,6 @@ vnoremap utc :s/\v(^\|[^0-9])\zs[0-9]{10}\ze([^0-9]\|$)/\=strftime("%F % " and ][ fw to next '[', instead of the other way around. noremap ]] ][ noremap ][ ]] + +" Strip trailing whitespace +nnoremap :silent! %s/\v\s+$//