This is why I was excited about the elisp interpreter (see above). We could then port EMACS's viper-mode to ranger.
On Thu, Apr 2, 2015, 08:50 Karthik K <
address@hidden> wrote:
Will there still be an option to choose between vim and emacs key bindings? Sorry for asking this again, but I can't make out which posts in this thread are sarcastic and which are not!!
On Apr 1, 2015 1:51 AM, "hut" <
address@hidden> wrote:
So, ranger has been around for almost 6 years, and after all this time of
optimizing and re-evaluating, I think we need a paradigm shift in the way
ranger works.
There are going to be a few changes starting with the upcoming 1.7.0 release
which can be tested now already by running the current git version:
git clone https://github.com/hut/ranger.git -b current
cd ranger
./ranger.py
I sincerely believe now that trying to copy the vim user experience was wrong
on many levels, because clearly emacs is the better editor. It's build on the
idea of freedom, of elegance and of having to press modifier keys all the time.
If that doesn't convince you yet, how about this:
Imagine a text editor where you can just type in some keys, and they appear on
the screen. Just like that. No silly modes, no crazy things happening by
typing random characters on the keyboard (think ggdGZZ, it deletes your whole
text, then saves the file and quits the editor! How crazy is that?!)
No. Using Emacs key bindings is the only sane way to do it. Check out the
new key bindings on the man page: http://ranger.nongnu.org/ranger.1.html
Of course ranger has no concept of "typing in text" like emacs does, so typing
in keys without modifiers will do nothing at all. Basically you will have to
use modifier keys for everything you do. But still it's obviously better than
vim-like key bindings. ***BONUS*** The first 100 to upgrade will get a free
treatment for their future carpal tunnel syndrome!
Regards,
hut