diff --git a/home/dot_config/ranger/commands.py b/home/dot_config/ranger/commands.py index e248c0f..0833209 100644 --- a/home/dot_config/ranger/commands.py +++ b/home/dot_config/ranger/commands.py @@ -12,6 +12,8 @@ from plugins.ranger_udisk_menu.mounter import mount from plugins.ranger_tmsu import Tmsu import os +import ranger.api +import ranger.core.linemode tmsu = Tmsu.findTmsu() @@ -124,10 +126,6 @@ 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"