vim-emoji : Emoji in Vim
| script karma |
Rating 2/6,
Downloaded by 1404 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Junegunn Choi |
| |
| script type |
| utility |
| |
| description |
https://github.com/junegunn/vim-emoji
Emoji in Vim. Emojis are only available on terminal Vim on Mac.
List of functions:
- emoji#available()
- emoji#for(name[, default = '', pad = 1])
- Refer to http://www.emoji-cheat-sheet.com
- Returns an empty string if not available
- emoji#list()
Example - Using Emojis as GitGutter symbols:
silent! if emoji#available()
let g:gitgutter_sign_added = emoji#for('small_blue_diamond')
let g:gitgutter_sign_modified = emoji#for('small_orange_diamond')
let g:gitgutter_sign_removed = emoji#for('small_red_triangle')
let g:gitgutter_sign_modified_removed = emoji#for('collision')
endif |
| |
| install details |
| Extract in ~/.vim or use your favorite plugin manager |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.216
|