sponsor Vim development Vim logo Vim Book Ad

TrimBlank : help trim trailing blank characters and blank lines

 script karma  Rating 0/0, Downloaded by 1626  Comments, bugs, improvements  Vim wiki

created by
Hong Xu
 
script type
utility
 
description
TrimBlank is a vim plugin aimed at helping trim trailing blank characters and
blank lines.

How to use this plugin?
Select some lines and type "<Leader>ttb"(<Leader> would be "backslash" by
default), then the trailing blank characters of the lines selected will be
trimmed; select some lines and type "<Leader>tbl", then the blank lines among
the lines selected will be trimmed; select some lines and type "<Leader>tab",
then both trailing blank characters and blank lines would be trimmed.

If you find any bug, please report it to xuhdev@gmail.com or submit it on the
issue tracker:
https://bitbucket.org/xuhdev/trimblank/issues


Repository: https://bitbucket.org/xuhdev/trimblank
 
install details
Download the TrimBlank.zip file and extract it to your vim runtime
directory(~/.vim on linux and $VIM_INSTALLATION_FOLDER\vimfiles on
windows), you'd better then use helptags command to generate the help
tag(for example use ":helptags ~/.vim/doc" on Linux).

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
TrimBlank.zip 0.3.1 2010-11-20 7.0 Hong Xu optimize the popup menu.
TrimBlank.zip 0.3 2010-11-06 7.0 Hong Xu Move some functions to autoload directory so that this plugin could also be used as a third party library for other plugins.
Optimise the prompt.
TrimBlank.zip 0.2 2010-10-30 7.0 Hong Xu add TBTrimAllBlank command. Update the document.
trimblank.zip 0.1 2010-10-27 7.0 Hong Xu Initial upload
ip used for rating: 216.73.216.208

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github