Skip to content

Instantly share code, notes, and snippets.

@kana
Created February 22, 2012 02:26
Show Gist options
  • Save kana/1880768 to your computer and use it in GitHub Desktop.
Save kana/1880768 to your computer and use it in GitHub Desktop.
vim-smartpunc memo
```
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