summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/colorschemes/default.py16
-rw-r--r--ranger/gui/ui.py6
2 files changed, 3 insertions, 19 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py
index ec12f7f9..e5dbf3a6 100644
--- a/ranger/colorschemes/default.py
+++ b/ranger/colorschemes/default.py
@@ -14,22 +14,6 @@ class Default(ColorScheme):
             return default_colors
 
         elif context.in_browser:
-            bg = blue if context.active_pane else cyan
-            fg = white
-
-            if not context.selected and context.directory:
-                attr |= bold
-
-            if context.marked:
-                bg = red
-            if context.tag_marker:
-                fg = black
-                attr &= ~bold
-            if context.selected:
-                bg = cyan if context.active_pane else blue
-                fg = black
-
-        elif context.in_browser:
             if context.selected:
                 attr = reverse
             else:
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index 5d06ca13..67db51d3 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -35,7 +35,7 @@ def _setup_mouse(signal):
         curses.mousemask(0)
 
 class UI(DisplayableContainer):
-    ALLOWED_VIEWMODES = ('multipane', )
+    ALLOWED_VIEWMODES = 'miller', 'multipane'
 
     is_set_up = False
     load_mode = False
@@ -242,8 +242,8 @@ class UI(DisplayableContainer):
         # Create the browser view
         self.settings.signal_bind('setopt.viewmode', self._set_viewmode)
         self._viewmode = None
-        self.viewmode = 'multipane'  # this line sets self.browser implicitly
-                                     # through the signal handler bound above
+        self.viewmode = 'miller'  # this line sets self.browser implicitly
+                                  # through the signal handler bound above
         self.add_child(self.browser)
 
         # Create the process manager
' href='#n162'>162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220