Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 2 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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.