Skip to content

Commit 2a8a4bf

Browse files
authored
Merge pull request #59 from deathaxe/develop
Update package structure
2 parents 0f493a7 + 544e242 commit 2a8a4bf

24 files changed

Lines changed: 56 additions & 51 deletions

FileManager.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# -*- encoding: utf-8 -*-
2-
import sublime
3-
import sublime_plugin
42
import os
5-
63
import imp
74
import sys
85

9-
from .sublimefunctions import *
10-
from .FMcommands.copy import FmCopyCommand
11-
from .FMcommands.create import FmCreaterCommand, FmCreateCommand
12-
from .FMcommands.create_from_selection import FmCreateFileFromSelectionCommand
13-
from .FMcommands.delete import FmDeleteCommand
14-
from .FMcommands.duplicate import FmDuplicateCommand
15-
from .FMcommands.editto import FmEditToTheLeftCommand, FmEditToTheRightCommand
16-
from .FMcommands.find_in_files import FmFindInFilesCommand
17-
from .FMcommands.move import FmMoveCommand
18-
from .FMcommands.open_in_explorer import FmOpenInExplorerCommand
19-
from .FMcommands.open_in_browser import FmOpenInBrowserCommand
20-
from .FMcommands.open_terminal import FmOpenTerminalCommand
21-
from .FMcommands.rename import FmRenameCommand
22-
from .FMcommands.open_all import FmOpenAllCommand
6+
import sublime
7+
import sublime_plugin
8+
9+
from .libs.sublimefunctions import *
10+
from .commands.copy import FmCopyCommand
11+
from .commands.create import FmCreaterCommand, FmCreateCommand
12+
from .commands.create_from_selection import FmCreateFileFromSelectionCommand
13+
from .commands.delete import FmDeleteCommand
14+
from .commands.duplicate import FmDuplicateCommand
15+
from .commands.editto import FmEditToTheLeftCommand, FmEditToTheRightCommand
16+
from .commands.find_in_files import FmFindInFilesCommand
17+
from .commands.move import FmMoveCommand
18+
from .commands.open_all import FmOpenAllCommand
19+
from .commands.open_in_browser import FmOpenInBrowserCommand
20+
from .commands.open_in_explorer import FmOpenInExplorerCommand
21+
from .commands.open_terminal import FmOpenTerminalCommand
22+
from .commands.rename import FmRenameCommand
2323

2424
BASE_NAME = os.path.dirname(__file__)
2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- encoding: utf-8 -*-
22
import sublime_plugin
3-
from ..sublimefunctions import get_settings, to_snake_case
3+
from ..libs.sublimefunctions import get_settings, to_snake_case
44

55

66
class AppCommand(sublime_plugin.ApplicationCommand):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- encoding: utf-8 -*-
2-
from ..sublimefunctions import *
2+
from ..libs.sublimefunctions import *
33
from .appcommand import AppCommand
44

55

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# -*- encoding: utf-8 -*-
22
import os.path
3-
from ..sublimefunctions import *
3+
from ..libs.input_for_path import InputForPath
4+
from ..libs.sublimefunctions import *
45
from .appcommand import AppCommand
5-
from ..input_for_path import InputForPath
66

77

88
class FmCreaterCommand(AppCommand):
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# -*- encoding: utf-8 -*-
2-
import sublime
3-
import sublime_plugin
42
import os
53
from re import compile as re_comp
6-
from ..sublimefunctions import *
4+
5+
import sublime
6+
import sublime_plugin
7+
8+
from ..libs.sublimefunctions import *
79

810
""" This command has been inspired at 90% by the open_url_context command
911
AND the vintage open_file_under_selection. Thanks John!"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- encoding: utf-8 -*-
2-
from ..sublimefunctions import *
2+
from ..libs.sublimefunctions import *
3+
from ..libs.send2trash import send2trash
34
from .appcommand import AppCommand
4-
from ..send2trash import send2trash
55

66

77
class FmDeleteCommand(AppCommand):
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- encoding: utf-8 -*-
22
import shutil
3-
from ..sublimefunctions import *
4-
from ..input_for_path import InputForPath
3+
from ..libs.input_for_path import InputForPath
4+
from ..libs.sublimefunctions import *
5+
from ..libs.send2trash import send2trash
56
from .appcommand import AppCommand
6-
from ..send2trash import send2trash
77

88

99
class FmDuplicateCommand(AppCommand):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- encoding: utf-8 -*-
22

3-
from ..sublimefunctions import *
3+
from ..libs.sublimefunctions import *
44
from .appcommand import AppCommand
55

66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- encoding: utf-8 -*-
22

3-
from ..sublimefunctions import *
3+
from ..libs.sublimefunctions import *
44
from .appcommand import AppCommand
55

66

0 commit comments

Comments
 (0)