From b85a187eb0232760d27a06e6469701aa60769dfc Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Fri, 8 Mar 2024 20:45:17 +0100 Subject: [PATCH] Update home/.config/ranger/commands.py --- home/dot_config/ranger/commands.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/dot_config/ranger/commands.py b/home/dot_config/ranger/commands.py index ca7d6f2..104f530 100644 --- a/home/dot_config/ranger/commands.py +++ b/home/dot_config/ranger/commands.py @@ -12,8 +12,6 @@ from plugins.ranger_udisk_menu.mounter import mount from tmsu import Tmsu import os -import ranger.api -import ranger.core.linemode tmsu = Tmsu.findTmsu() @@ -126,6 +124,10 @@ class tmsu_ls(Command): self.fm.notify(tags) +import ranger.api +import ranger.core.linemode + + @ranger.api.register_linemode # It may be used as a decorator too! class MyLinemode(ranger.core.linemode.LinemodeBase): name = "tmsu_linemode"