4

I have been using Emacs from past few months and I like its line navigation feature a lot as it does't need you to use arrow keys.

Emacs Line Navigation:

C-p : go to previous line
C-n : go to next line
C-f : go forward one character
C-b : go backward one character

Is there anyway I can use this in sublime text 3 also? I have read in some blogs that some people did this but I cant find instructions how to do it.

Deepak
  • 1,503
  • 3
  • 22
  • 45

1 Answers1

8

The sublemacspro project seems to provide what you want.

  • 4
    If you don't want all of the emacs functionality, you can take the relevant keybindings from the `Default.sublime-keymap` file on the plugin, and put them in your User keybindings. – skuroda Feb 12 '14 at 02:41
  • Just copy & paste the key-bindings of your choice into the Preferences -> keybindings from the following file: https://github.com/grundprinzip/sublemacspro/blob/master/Default.sublime-keymap – Datageek Mar 13 '16 at 15:44
  • 1
    @Datageek, here's a link to the section for "Motion Commands": https://github.com/sublime-emacs/sublemacspro/blob/d129e116c806235b56ab7575df470eb852ebc36e/Default.sublime-keymap#L66 – Jesse W. Collins Oct 25 '18 at 14:22