punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

overwrites basic emacs keys #188

Open bingoUV opened 6 years ago

bingoUV commented 6 years ago

Installed from melpa (version 20170817.1557). The wiki talks about C-u changing the behaviour of commands dd and yy etc. But in the melpa version, ranger overwrites lots of C- keybindings that are supposed to be reserved for emacs and basic to emacs usage. Including :

  1. C-u (universal prefix)
  2. C-h (help)

For now I added the following to my init file as a workaround, but please check :

(define-key ranger-mode-map (kbd "C-u") nil)
(define-key ranger-mode-map (kbd "C-h") nil)
punassuming commented 5 years ago

Thanks for the suggestion. I set them to the original ranger defaults, but will think again about whether we want to keep them as he defaults.

jpggithub commented 4 years ago

Changing C-h (help) does not permit the user to find the use of a function or a key. Very incomfortable because it works with all Emacs package in the world (I think ;-) and it's a real way of learning how to use a package. The basics are the basics, they would not be changed IMHO.