ranger icon indicating copy to clipboard operation
ranger copied to clipboard

[question] How to unmap `um<bg>` and friends?

Open heysokam opened this issue 1 year ago • 0 comments

Runtime Environment

  • Operating system and version: Arch Linux
  • Terminal emulator and version: alacritty 0.13.2 (bb8ea18e)
  • Python version: 3.12.3 (main, Apr 23 2024, 09:16:07) [GCC 13.2.1 20240417]
  • Ranger version/commit: ranger 1.9.3
  • Locale: ranger version: en_US.UTF-8

Current Behavior

Trying to unmap um<bg> and every other um* default keybind doesn't work.

Expected Behavior

Being able to disable the keybinds with starting with u, so that single u presses do not open the bookmarks menu ignoring the user defined map u thing

Context

image

Possible Solutions

That's what I'm here for.

Steps to reproduce

# Delete defaults
unmap um um<any> um<bg>
unmap ut uv uV ud uy uq
map u move up=1
copymap <UP> u
  1. Hitting u still triggers the um<bg> popup

heysokam avatar May 04 '24 14:05 heysokam