I've started programming after an 8 year break. I'm using notepad++ and I like it, but taking my hand away from the main keyboard to the cursor keys to get around the file is really slowing me down.

What methods of file / sentence / character navigation are there that use keyboard shortcuts instead of cursor keys? I know there's a shortcut editor in npp - how do I assign a shortcut for the cursor keys to say CTRL+J for right and CRTL+F for left?

link|improve this question
Didn't they invent Emacs or Vim for this purpose? – Ivo Flipse Nov 29 '11 at 12:17
1  
@Ivo Yes, but neither is as awesome as N++ – BloodPhilia Nov 29 '11 at 12:21
Wait, Emacs and Vim joining forces against N++? The end is near. – MBraedley Nov 29 '11 at 13:51
feedback

1 Answer

Go to

Settings -> Shortcut mapper -> Scintilla commands -> 33 SCI_CHARLEFT

and do the following:

  1. Click Modify.
  2. Check CTRL.
  3. Select ,.
  4. Click Add -> OK -> Close.

Now you can press the left arrow key or CTRL + ,.

You could also define CTRL + F for this, but that is the default shortcut for the search.

If you want to, you will have to disable the other shortcut in

Settings -> Shortcut mapper -> Main menu -> 46 Find...
link|improve this answer
Thanks, that's what I've done and very happy. I tried VI to get its keyboard shortcuts so I'll apply those so that I'll be able to look into VI in the future. Many thanks! – TenLeftFingers Dec 1 '11 at 15:18
feedback

Your Answer

 
or
required, but never shown

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