13

RStudio constantly requires taking fingers away from "asdf-jkl;" to the arrow keys. Not very comfortable after working with IPython's Emacs keybindings.

RStudio has vim navigation for file editing, but not for the console. (And that's not the real vim navigation. Some commands do not work at all.)

How can I setup a more friendly keyboard navigation Emacs/Vim-like for the console in RStudio?

Anton Tarasenko
  • 8,099
  • 11
  • 66
  • 91

2 Answers2

9

You can turn vim keybindings of RStudio on in Tools | Global Options | Code | Editing, like this:

enter image description here Please make sure your RStudio's version is above v0.99.x!

crypdick
  • 16,152
  • 7
  • 51
  • 74
Stan Zhai
  • 91
  • 1
  • 1
3

On Macs, you can use Karabiner app, which enables vi/vim/emacs keybindings everywhere, including RStudio. Karabiner is more flexible and functional than native Cocoa quasi-Emacs bindings.

Anton Tarasenko
  • 8,099
  • 11
  • 66
  • 91