diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-30 09:57:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-30 09:57:59 -0300 |
commit | ef4d8da354c539dfd6a40e4c2ba08cec5e753d8b (patch) | |
tree | e3c6945dfda43b7db648478a591a6faba51d8a9d /vim.dot.link/plugin/lib.vim | |
parent | 6da0eb60ce8435917e126006b9506cbcd31b6ff0 (diff) | |
download | vim-ef4d8da354c539dfd6a40e4c2ba08cec5e753d8b.tar.gz vim-ef4d8da354c539dfd6a40e4c2ba08cec5e753d8b.tar.bz2 |
Feat: buffer cleansing
Diffstat (limited to 'vim.dot.link/plugin/lib.vim')
-rw-r--r-- | vim.dot.link/plugin/lib.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vim.dot.link/plugin/lib.vim b/vim.dot.link/plugin/lib.vim index f1b2a30..1c3212e 100644 --- a/vim.dot.link/plugin/lib.vim +++ b/vim.dot.link/plugin/lib.vim @@ -32,3 +32,14 @@ endfun command! TrimWhitespace call TrimWhitespace() " }}} + +" Cleanup the buffer {{{ +" +" Implement miscelaneous buffer cleansing procedures +function BufferCleansing() + " Trim white spaces + call TrimWhitespace() +endfunction + +command! BufferCleansing call BufferCleansing() +" }}} |