Skip to main content
added 195 characters in body
Source Link
ivan
  • 2k
  • 11
  • 20

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

I'm willing to lose the Help functions on C-h since I can access them elsewhere, like F1.

Update: I may have found the solution.

(define-key evil-normal-state-map "\C-w\C-h" 'evil-window-left)

This seems to work without affecting C-h behavior in other cases.

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

I'm willing to lose the Help functions on C-h since I can access them elsewhere, like F1.

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

I'm willing to lose the Help functions on C-h since I can access them elsewhere, like F1.

Update: I may have found the solution.

(define-key evil-normal-state-map "\C-w\C-h" 'evil-window-left)

This seems to work without affecting C-h behavior in other cases.

added 115 characters in body
Source Link
ivan
  • 2k
  • 11
  • 20

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

I'm willing to lose the Help functions on C-h since I can access them elsewhere, like F1.

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?

I'm willing to lose the Help functions on C-h since I can access them elsewhere, like F1.

Source Link
ivan
  • 2k
  • 11
  • 20

How can I bind a key-sequence ending in `C-h`?

Evil-mode binds C-wh to evil-window-left. I'd like to bind C-wC-h to the same so it will work whether or not I lift my finger off the Control key in time. But C-h is the help key. Is there any reasonable workaround for this?