Hacker Newsnew | past | comments | ask | show | jobs | submit | vadskye's commentslogin

Makes sense to me - thanks!


Pedantic correction: The term is "eminent domain". In fairness, if someone exercises the power of eminent domain, the domain will imminently be theirs, but that's neither here nor there.


Completely agree. Personally, I'm trying to spread the One True Way of ijkl navigation, but it's slow going...


I'm curious: what do you use to enter insert mode then?


In default vim, i inserts to the left of the cursor. In ijkl, you simply map h to insert left of the cursor. It's even on the left of your new arrow keys so the mental map works better too!

I'm a huge ijkl fan, because I learned wasd long before I learned vim.


Huh! This is really neat. Thanks for taking the time to evangelize. I might have to try this for a day.


Just recently I've been starting to rely on 'a' and 'A'. Maybe I could switch to ijkl


Insert mode is for noobs. ;)


Speaking as someone with a similar setup, I've never had many issues with plugins assuming the use of hjkl. The only one I can think of offhand that has issues is indent-object.

The thing that really causes issues is my attempt to swap the roles of [ and {, using [] to jump between paragraphs and {} to do fancy function jumping. Vim plugins really don't like that...


Someone else has found the wisdom of ijkl! :D

My setup uses "u" and "o" the same way you use "h" and ";". I also extended it so you can use modifiers on I and K to get page up/page down behavior, or to navigate between indentation levels.


"how2 -l cmd change directory" works for me. "how2 -l cmd enable tab completion" still returns nothing, though; I think that's just a query it can't answer. (A quick manual search returned totally unhelpful results, so I wouldn't blame how2 for that...)


Minor nitpick: I think you mean

   now = datetime.datetime.utcnow # no parentheses
More generally, I think the strongest argument for using "from" is when you're dealing with redundant "foo.foo.bar" names. Would you really be confused at seeing "datetime.utcnow()" instead of "datetime.datetime.utcnow()"?



Thanks, that clears it up. Weird that they didn't put in a reference to close kin 'staircase wit': https://en.wikipedia.org/wiki/L%27esprit_de_l%27escalier


I would like to write something like this for Vim, but I don't know how to easily create animated screencaps like those displayed here. Does anyone know a good tool for that?


I used byzanz-record for these screenshots: http://askubuntu.com/a/123515/13847


I will look into that, thank you!


I've been using ConEmu [0] for over a year now, and it's miles better than the default console. I actually spend a majority of my time in Windows in the console now.

[0] http://sourceforge.net/projects/conemu/


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

Search: