Update home/.config/ranger/commands.py
This commit is contained in:
parent
34ec2771f8
commit
b85a187eb0
@ -12,8 +12,6 @@ from plugins.ranger_udisk_menu.mounter import mount
|
|||||||
from tmsu import Tmsu
|
from tmsu import Tmsu
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import ranger.api
|
|
||||||
import ranger.core.linemode
|
|
||||||
|
|
||||||
|
|
||||||
tmsu = Tmsu.findTmsu()
|
tmsu = Tmsu.findTmsu()
|
||||||
@ -126,6 +124,10 @@ class tmsu_ls(Command):
|
|||||||
self.fm.notify(tags)
|
self.fm.notify(tags)
|
||||||
|
|
||||||
|
|
||||||
|
import ranger.api
|
||||||
|
import ranger.core.linemode
|
||||||
|
|
||||||
|
|
||||||
@ranger.api.register_linemode # It may be used as a decorator too!
|
@ranger.api.register_linemode # It may be used as a decorator too!
|
||||||
class MyLinemode(ranger.core.linemode.LinemodeBase):
|
class MyLinemode(ranger.core.linemode.LinemodeBase):
|
||||||
name = "tmsu_linemode"
|
name = "tmsu_linemode"
|
||||||
|
Loading…
Reference in New Issue
Block a user