vim-scripts / tabbi Goto Github PK
View Code? Open in Web Editor NEWAligns text as a table
Home Page: http://www.vim.org/scripts/script.php?script_id=3280
Aligns text as a table
Home Page: http://www.vim.org/scripts/script.php?script_id=3280
This is a mirror of http://www.vim.org/scripts/script.php?script_id=3280 A simple vim plugin that aligns text separated with tabs or two or more whitespaces, so that each part starts in the same column as in the other lines. Similar as a table, but without lines. Before: part one part two part three another part one another part two another part three After: part one part two part three another part one another part two another part three Usage: to align the whole buffer, type :Tabbi, for aligning parts type e.g. :10,20Tabbi or use visual mode. With the function Tabb(<pattern> [<trim> [,<separator]]) it is possible to format the selected lines. <pattern> is the pattern after which the lines should be formatted, §x or §x-y is replaced by the corresponding column. §- can be used to align the lines like the :Tabbi command. <trim> is a boolean specifying if the parts are trimmed (default 0). <sep> is a string or regular expression that specifies the string separating the line into columns. The default is tabs or two or more whitespaces. See the plugin file for more details. Before: part one, part two ,part three , part four, rest one , two , three -> select the lines and type :call Tabb("§2: §1§-§3-4", 1, ",") Result: part two: part one - part three , part four two: one - three
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.