diff options
-rwxr-xr-x | ranger/config/commands.py | 3 | ||||
-rw-r--r-- | ranger/config/rc.conf | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index a2492369..bf03069f 100755 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1762,7 +1762,8 @@ class yank(Command): mode = self.modes[self.arg(1)] if mode == "splitext": - selection = [os.path.splitext(self.get_selection_attr('basename')[0])[0]] + selection = [os.path.splitext(item)[0] for item in + self.get_selection_attr('basename')] else: selection = self.get_selection_attr(mode) diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index 3725c400..6b0802bb 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -413,7 +413,7 @@ map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh map yp yank path map yd yank dir map yn yank name -map yw yank name_without_extension +map y. yank name_without_extension # Filesystem Operations map = chmod |