Last active
December 20, 2015 07:39
-
-
Save markjlorenz/6095161 to your computer and use it in GitHub Desktop.
Vim Mappings
This file contains hidden or 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
| " Run app.js and put the output in a new buffer below the current one | |
| :bel new | r !node app.js | |
| " And map it to ",r" | |
| :map ,r :bel new \| r !node app.js <cr> | |
| " And stop warning me about unsaved data | |
| :map ,r :bel new \| setlocal buftype=nofile \| r !node app.js <cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment