Skip to content

vim-scripts/TEXT--fill-char

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=574

Script for on-the-fly indenting of columns according
to the previous or next line (it allows for instance to easily align
'=' sign in a sequence of C initializations, and much more).

EXAMPLE:

line 1: background-color: _#eeeeee
line 2: color:|

Char | is cursor, char _ is space. 

After call :FillUpSpace (you can map to TAB) is 
situation this:

line 1: background-color:_#eeeeee
line 2: color:___________|

Cursor is under #. It's all.

You can use :FillUpPrevious for fill any char (by char 
previous cursor) 

EXAMPLE:

line1: Chapter1 ...................... 7
line2: Chapter2 .|

After use :FillUpPrevious is situation this:

line1: Chapter1 ...................... 7
line2: Chapter2 ......................|

About

script for on-the-fly indenting of columns according to previous or next line

Resources

Stars

Watchers

Forks

Packages

No packages published