Live data from Hacker News

Ask HN: What kind of sample Vim plugin should I build in LVSTHW?

news.ycombinator.com

11–12 of 12 posts

Re: Ask HN: What kind of sample Vim plugin should I build in LVSTHW?

#11

Clickable: [Learn Vimscript the Hard Way]: http://learnvimscriptthehardway.stevelosh.com/ [Potion]: http://www.runciter.net/potion/

[shameless plug] If you are tired of non-clickable links in the description/comments, try my Chrome extension:

https://chrome.google.com/webstore/detail/anmdmfcnlenkjbiffg...

It also does sorting and moves the search bar to the top of the page.

Re: Ask HN: What kind of sample Vim plugin should I build in LVSTHW?

#12
Something I've always wanted but haven't got round to creating is a command that would convert from camel case to pascal case to uppercase with underscores.

It would be awesome if you were able to yank text in one case and it would paste in a different case if it was being pasted on top of exiting text.

for example if you had the code: #define USER_NAME_LEN const int userNameId; class UserName { };

if you did a search and replace for userName to replace with clientName it would update all cases correctly.

Post reply on HN