Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was just wondering if there was a way to get "vim" style cursor movement (i.e. 'hkjl' movement). After spending much time with vim, I have gotten used to not having to lift my hands off the keyboard to move around a text document (going to the arrow keys is also too disruptive :p).

Moving back to vim is always an option, but it'd be nice if there was a way to get this feature on notepad++. I have already spent some time in setting up macros and plugins to get my notepad++ environment working the way I want it to.

Any help on this matter would be much appreciated.

share|improve this question
up vote 5 down vote accepted

A new plugin ViSimulator for Notepad++ has just released, which maybe meet your requests.

share|improve this answer
Just tried this. Looks pretty great. Is the source for this available? – funseiki Nov 25 '13 at 6:59
I have been happily using ViSimulator on one machine for a year; however, in the last month I have been unable to install ViSimulator through Package Manager on a new machine: it seems that no longer resolves. – J0e3gan Nov 10 '15 at 22:25
me too, after a long time stick in linux, now back to windows, and the visimulator gone :( so sad. – LongTTH Jan 8 at 9:00
The link is dead, too. – Neftas Jun 30 at 12:16

Notepad++ is not a modal editor, how would you expect it to work? How could NP++ make the difference between a j for moving down one line and the j in Beetlejuice?

That's the core difference between modeless editors and modal editors: in the normal mode of a modal editor, you have the whole keyboard at your disposal for lightning quick operation while modeless editors only allow you to use all those alpha keys with modifiers.

I don't think hjkl is either practical or even doable in NP++. Maybe a Ctrl+Shift+J combo… but that would defeat your purpose almost completely.

I might add that hjkl is definetely not the alpha and omega of productivity: jjjjjjj is just as silly as DownDownDownDownDownDownDown, even if you keep the key down for as long as it takes. OK your hands are still on the home row but that's still a very inefficient way to move. Using counts (7j) is better, using search (/foo) is even better and text objects/motions are unvaluable. How would it be possible to "port" the concept of count to a modeless editor? Search is possible, of course, because it's modal in every editor and there's no way around it. What about text objects and motions?

share|improve this answer
It is indeed not a modal editor by default, so I maybe should have clarified and asked how one might simulate vim style modal editing in npp. I am also not concerned with knowing the productivity of hjkl vs up down left right, though you are probably right in saying there are more productive ways to traverse a text document. – funseiki Oct 8 '12 at 16:03
If you are serious about it, you should get in touch with the people behind NP++: it's open source and they are probably eager to have more commiters. – romainl Oct 8 '12 at 18:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .