Replies: 4 comments 37 replies
-
Unfortunately, I could not find any trashing utility that comes in-built in all the platforms and behaves the same way. If you go through the built-in commands, you will notice that I try to keep the use of "non-native" bash commands as little as possible. It can be argued that in platforms like
The verbosity is more of a personal preference. For me, I like watching what's happening when I'm executing some command. It would be nice if it supported progress bars, but However, these mapping are meant to be overwritten based on your preference, platform, what tools you use and how you use When we implement plugin support I think things will get better, and we'll be able to achieve more cross-platform way of doing things with more control.
Yes 😄 "Un"mapping isn't supported as of now because remap works like symlink to existing mappings. In your example, the resolved mapping looks like
For me, I often open files while selecting to determine if I should select it or not. So I'd want
Good suggestion 👍 I didn't know they're different.
The primary goal of the default key bindings is to demonstrate what's possible, and the goal of
I often use it to copy files to a destination and get back to the previous location. Also, when visiting a symlink and get back to the previous directory. But I guess we can make it "jump list" like in
Weird! Try |
Beta Was this translation helpful? Give feedback.
-
Another related idea, that I'm not sure if is a good one or not: what if in the help menu we would sort the entries not by shortcut, but by description? |
Beta Was this translation helpful? Give feedback.
-
Historically terminals couldn't distinguish certain shortcuts (e.g. kakoune had to implement support for this new keyboard mode, I haven't looked deeply in xplr, but I presume you use some library for this? Would be real nice to track this, to be able to support wider range of shortcuts. |
Beta Was this translation helpful? Give feedback.
-
Another idea to consider: remapping a key from one mode to another. For example I found myself remapping |
Beta Was this translation helpful? Give feedback.
-
I decided to take a closer look at built-in shortcuts and play with customizing them, thought I'd give you some feedback 🙂
For
dd
I honestly simply see no usefulness, for mermdir
chokes on "directory not empty" all the time, I dont know when I'm supposed to use this shortcut, only if I pay attention to not select folders?...dD
is a bit noisy for my taste, removing a simple directory results in pages of output of all it's contents...Are you using both shortcuts? I realize it's probably a matter of taste, but I'd look into making making output less noisy, and for myself I will map
dd
dormtrash -rf
anddD
dorm -rf
, so that both at least remove without choking what I tell them to remove, but one moves it to trash and another purges instantly.ctrl-a
toa
with the following hack, it does work, buta
does not appear in the help menu. Am I stepping in the unsupported area here? 😅Same for
/
, I wanted to removectrl-f
so that in help I only see/
, but this seems to also hide the shortcut entirely from help:It's probably because you have a notion of "primary shortcut" and "alias", but ideally as a user I'd not worry what is a main shortcut and what is an alias... but at least let's make it consistent, either prohibit me from doing this hack, or let's make sure the shortcut appears in the help.
open in gui
, I guess it all depends on user setup, so maybe don't change anything, but just FYI this seems to work perfectly well for me:(recently I've been burned by the fact that
&>
was buggy and in some environments not 100% equal to> .. 2>&1
so now I'm always using the latter one 😅 )All in all I see a tendency in myself to remap keys to something more reachable, for example from day one I remapped
:e
toe
(one less shortcut made me feel better), now I'm 100% remappinggx
tov
(thinking to avoidx
in case my nnn muscle memory will confuse it with delete, so choosing betweenp
andv
forp
rev
iew), remappingctrl+a
to simplya
, removingctrl+f
mapping since I have/
. Create, copy and move I haven't really used yet, but it feels like in my taste they belong toc
,y
andp
in default mode.This mapping I also added almost since day one, very useful for me, because arrow keys are too far off 😄
For next/prev visited path, still trying to get used to this feature, so not sure yet if I'll be searching for different shortcuts or unmapping them altogether 🤔
I will eventually get to debugging logs, I dont know why yet, but
:l
flashes some screen which closes instantly, but at the same time?
works correctly, so there must be some difference or bug somewhere...Enough for now! 😁
Beta Was this translation helpful? Give feedback.
All reactions