about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/core/actions.py7
-rw-r--r--ranger/core/fm.py8
2 files changed, 8 insertions, 7 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 2102cf2d..73e8bb67 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -30,13 +30,6 @@ class _MacroTemplate(string.Template):
 	delimiter = ranger.MACRO_DELIMITER
 
 class Actions(FileManagerAware, EnvironmentAware, SettingsAware):
-	search_method = 'ctime'
-	mode = 'normal'  # either 'normal' or 'visual'.
-	_visual_reverse = False
-	_visual_start = None
-	_visual_start_pos = None
-	_previous_selection = None
-
 	# --------------------------
 	# -- Basic Commands
 	# --------------------------
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index d3460ebb..3264196f 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -28,6 +28,14 @@ from ranger.core.loader import Loader
 class FM(Actions, SignalDispatcher):
 	input_blocked = False
 	input_blocked_until = 0
+	mode = 'normal'  # either 'normal' or 'visual'.
+	search_method = 'ctime'
+
+	_previous_selection = None
+	_visual_reverse = False
+	_visual_start = None
+	_visual_start_pos = None
+
 	def __init__(self, ui=None, bookmarks=None, tags=None):
 		"""Initialize FM."""
 		Actions.__init__(self)
n83' href='#n83'>83 84 85 86 87 88 89 90
91
92
93
94