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