Created
July 23, 2014 23:09
-
-
Save maxbeizer/b3d08fdb35f6035c6ec9 to your computer and use it in GitHub Desktop.
Mappings for Ragtag.vim ❤️ tpope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CTRL+X / Close the last open HTML tag | |
CTRL+X SPACE Create open/close HTML tags from the typed word | |
CTRL+X CR The same as CTRL+X SPACE but puts a new space in between | |
CTRL+X ! Insert HTML doctype | |
CTRL+X @ Insert CSS stylesheet | |
CTRL+X # Insert meta content-type meta tag | |
CTRL+X $ Load JavaScript document | |
For the following mappings, suppose that | |
you have typed "foo". | |
Mapping Result | |
--------- ----------- | |
CTRL+X = foo<%= | %> | |
CTRL+X + <%= foo| %> | |
CTRL+X - foo<% | %> | |
CTRL+X _ <% foo| %> | |
CTRL+X ' foo<%# | %> | |
CTRL+X " <%# foo| %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment