Created
February 22, 2012 02:26
-
-
Save kana/1880768 to your computer and use it in GitHub Desktop.
vim-smartpunc memo
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
``` | |
call smartpunc#map_to_trigger('<Plug>(physical-key-;)', '<Enter>', '<Enter>') | |
call smartpunc#map_to_trigger('<Plug>(physical-key-:)', '<S-Enter>', '<S-Enter>') | |
call smartpunc#map_to_trigger('<Plug>(physical-key-<CR>)', ';', ';') | |
call smartpunc#map_to_trigger('<Plug>(physical-key-<S-CR>)', ':', ':') | |
``` | |
Review conflicted trigger keys. | |
Operators: | |
* `foo+bar` -> `foo + bar` | |
* `foo +bar` -> `foo + bar` | |
* `foo+ bar` -> `foo + bar` | |
* `foo + bar` -> `foo + bar` | |
vim: Comment. `" ` -> `" `? | |
GitHub-flavored markdown: ``` | |
cs: Comment. ` / ` -> `// ` -> `/// ` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment