Menu

Emacs-like shortcuts

2007-01-24
2012-11-13
  • Anthony Tarlano

    Anthony Tarlano - 2007-01-24

    Does anyone know how I can bind some Emacs like shortcuts in notepad++?
    Specifically I would like to map:

    ctrl+p (cursor-up)
    ctrl+n (cursor-down)
    ctrl+f (cursor-forward)
    ctrl+b (cursor-back)

    I checked the "shortcut mapper" and it doesn't have cursor-up, cursor-down, cursor-forward and cursor-back

    Thanks,

    Anthony

     
    • fl1ckmasterflex

      fl1ckmasterflex - 2008-04-15

      Google xkeymacs.

       
      • Fool4UAnyway

        Fool4UAnyway - 2008-04-15

        Is it already xmas again?

         
    • Nobody/Anonymous

      Any news on this?

      I would like to do the same.  You could navigate VERY fast in the text if you got used to it, because you don't have to move the hand to the cursor keys.

       
      • Nobody/Anonymous

        I would also like to import or set emacs-style Shortcuts.  It there any way to do this?
        If I record the necessary macros can I then export them and import them to a different machine?

         
        • fidvo

          fidvo - 2008-02-29

          All of your shortcuts, including Macro definitions, are stored in Shortcuts.xml.  Moving this file to a new computer will transfer the shortcuts.

          Keep in mind, it's an all-or-nothing thing.  You can't transfer only some of the shortcuts this way.

          Technically, you could edit the Shortcuts.xml file to copy and paste just the ones you want to transfer, but it's probably just easier to record them on the new computer.

           
    • fidvo

      fidvo - 2008-01-17

      Record them as macros.

      For example:

      Macro->Start Recording
      (cursor-forward)
      Macro->Stop Recording
      Macro->Save current recorded macro
      Give it a name, set it to ctrl+f, and save.

      Note: You might need to change the shortcuts for other options in the shortcut mapper that already use these key combinations.  You can record macros to key combinations that are already bound, but they might not play right when you use them.

       
  • john jr.

    john jr. - 2009-09-18

    flickmaster - thankyou for that.  xkeymacs rocks.