diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-30 00:44:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-30 00:44:53 -0300 |
commit | c0c227d51a3caf5502eac6bd65ab01117f12d29a (patch) | |
tree | aefb342134e1f740cf0f0cacd503250e8a40f189 /vim.dot.link/plugin/key_mappings.vim | |
parent | 32131c83c870e4900c21443b997ee7172753e470 (diff) | |
download | vim-c0c227d51a3caf5502eac6bd65ab01117f12d29a.tar.gz vim-c0c227d51a3caf5502eac6bd65ab01117f12d29a.tar.bz2 |
Feat: adds TrimWhitespace()
Diffstat (limited to 'vim.dot.link/plugin/key_mappings.vim')
-rw-r--r-- | vim.dot.link/plugin/key_mappings.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim.dot.link/plugin/key_mappings.vim b/vim.dot.link/plugin/key_mappings.vim index 2b0f2e7..0c8bfba 100644 --- a/vim.dot.link/plugin/key_mappings.vim +++ b/vim.dot.link/plugin/key_mappings.vim @@ -245,3 +245,7 @@ nnoremap <leader>d i<C-R>=strftime('%Y-%m-%d')<CR> inoremap <leader>d <C-R>=strftime('%Y-%m-%d')<CR> map <leader>e :put =strftime('## %Y-%m-%d')<CR> " }}} + +" Remove trailing whitespaces {{{ +noremap <leader>w :call TrimWhitespace()<CR> +" }}} |