For ease of my personal VIM configuration deployment.
Automatically install it without cloning this repository.
wget -O - https://raw.github.com/josephj/vimrc/master/install.sh | sh
Help folks to align text, equals, declarations, tables, etc.
Usage:
\t=
Align assignments.\t,
Align on commas.\tsp
Align on whitespace.\acom
Align comments.\Htd
Align HTML tables.
Inserts matching bracket, paren, brace or quote.
VIM plugin and command line tool for running JSLint.
Usage:
- It also will display more information about the error in the commandline if the curser is in the same line.
Extended % matching for HTML, LaTeX, and many other languages.
Usage:
On any HTML tags, press %
to find opening or closing tag.
A plugin that allows for easy commenting of code for many filetypes.
Usage:
- This plugin works both in visual and normal mode.
\cc
Add general comment.\cm
Add block comment.\cu
Remove comment.
A tree explorer plugin for navigating the filesystem.
Usage:
<F1>
Open the explorer.o
Open the file.t
Open the file in new tab.i
Open the file in split window.q
Quit the explorer.
Indentation script for OOP JavaScript.
Usage:
- This plugin only works for JavaScript file.
gg=G
Make indentation for current JavaScript file.=
Make indentation for current selection.
Automatic folding of PHP functions, classes,.. (also folds related PhpDoc)
Usage:
<F5> <Esc>
Enable fast PHP Folds.<F6> <Esc>
Enable PHP Folds.<F7> <Esc>
Disable PHP Folds.
phpDocumentor for Vim : Provides really comfortable generation of phpDocumentor doc blocks for PHP4 & 5.
Usage:
- Move cursor to any function name.
- Type
<Ctrl-K>
and the comment block is generated.
Vim syntax file for scss.
Do all your insert-mode completion with Tab.
Usage:
- This plugin only works in insert mode.
<Tab>
It displays a menu listing all matching keywords in current file.<Shift>-<Tab>
Just put a tab without showing the menu.
Delete/change/add parentheses/quotes/XML-tags/much more with ease.
Usage:
- Normal mode:
cs<$1><$2>
Replace(c) surrounding(s) from $1 to $2.cs'"
Replace single quotes with double quotes.cs'<q>
Replace single quotes withtags.
cst"
Replace tags with double quotes.ds<$1>
Delete(d) $1 surrounding.ds"
Delete surrounding double quotes.yss<$1>
Wrap entire line with $1.- Visual mode:
S<$1>
Wrap with $1.S<p class="foo">
Vim plugin that displays tags in a window, ordered by class etc.
Usage:
F2
Toggle the Tag List.
A source code browser and provides an overview of the structure of source code files.
Usage:
F4
Toggle the Tag List.
HTML and CSS hi-speed coding.
Usage:
- Write CSS selector. Take
div#foo$*2>div.bar
for example. - Type
Ctrl-y
. - It output HTML code.
F1
Toggle NERDTree.F2
Toggle TagBar.F3
Print PHP test code.F4
Toggle TagList.F5 ESC
Enable Fast PHP Folds.F6 ESC
Enable PHP Folds.F7 ESC
Disable PHP Folds.
- Create a new *.html file with automatic content.
- Remove tailing spaces.
- Replace tabs with 4 spaces.
- When saving a *.scss file, a mapping CSS file will be created or updated.