MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/vim/comments/h8pgor/til_conceal_in_vim/fusevsf/?context=3
r/vim • u/[deleted] • Jun 14 '20
49 comments sorted by
View all comments
98
So, just like prettify-symbol-mode in Emacs, in Vim, you can use conceal in a custom syntax file to replace something with just a single symbol.
prettify-symbol-mode
conceal
In the screenshot above, I replace [ ] and [x] into an actual checkbox symbols, which make Vim even more useful for me!
[ ]
[x]
You can take a look at the syntax file here https://gist.github.com/huytd/668fc018b019fbc49fa1c09101363397
36 u/shpidoodle Jun 14 '20 The real question is, what font is that? 37 u/mattas Jun 14 '20 https://github.com/huytd/haskplex-font 20 u/jack-of-some Jun 15 '20 There goes my productivity tomorrow 2 u/shpidoodle Jun 14 '20 Thank you!
36
The real question is, what font is that?
37 u/mattas Jun 14 '20 https://github.com/huytd/haskplex-font 20 u/jack-of-some Jun 15 '20 There goes my productivity tomorrow 2 u/shpidoodle Jun 14 '20 Thank you!
37
https://github.com/huytd/haskplex-font
20 u/jack-of-some Jun 15 '20 There goes my productivity tomorrow 2 u/shpidoodle Jun 14 '20 Thank you!
20
There goes my productivity tomorrow
2
Thank you!
98
u/[deleted] Jun 14 '20
So, just like
prettify-symbol-modein Emacs, in Vim, you can useconcealin a custom syntax file to replace something with just a single symbol.In the screenshot above, I replace
[ ]and[x]into an actual checkbox symbols, which make Vim even more useful for me!You can take a look at the syntax file here https://gist.github.com/huytd/668fc018b019fbc49fa1c09101363397