Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like a lot the way Yi maps \ and -> to appropriate extended characters for display but leaves them in ASCII in the underlying file, but I didn't find it to be stable enough for primetime yet.


It's an absolutely useless feature but I love it too :)

There's a Vim plugin called Haskell cuteness that does the same for Haskell code but unfortunately it didn't work very well.


If you are using Vim >= 7.3, you can use the vim conceal feature which works as described, but without any messy hacks!

For Haskell, here ( https://github.com/vim-scripts/Haskell-Conceal ) is a plugin that works quite well, although the lambda symbol does not seem to appear for me, and the resulting glyphs don't flow nicely with the rest of my font. It's still kind of nice!


Thanks for the tip!


We actually stole that Yi feature from Emacs ('pretty-lambda', I think it was called.)





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: