How to setup vim/emacs keybindings in RStudio?
Asked Answered
U

2

14

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?

Undertrump answered 1/2, 2014 at 16:39 Comment(2)
"Software tools commonly used by programmers" are on-topic, people.Cyndy
I love Rstudio and Vim, I'm really mourning the lose of predictable support for move to, delete to, etc. :-(Nook
P
10

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!

Peccant answered 23/9, 2016 at 11:45 Comment(0)
U
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.

Undertrump answered 12/9, 2014 at 13:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.