summary refs log blame commit diff stats
path: root/.travis.yml
blob: 8411ba14267110ac322a752fba0978cf5642c7ea (plain) (tree)
1
2
3
4
5
6
7
8
9
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-le
language: go

go:
 - 1.11.x
 - 1.12.x

os: 
  - linux
  - osx

dist: xenial

env:
  - GO111MODULE=on
y the same. """ from ranger.api.options import * # Which files are hidden if show_hidden is False? hidden_filter = regexp( r'lost\+found|^\.|~$|\.(:?pyc|pyo|bak|swp)$') show_hidden = False # Which colorscheme to use? These colorschemes are available by default: # default, default88, texas, jungle, snow # Snow is monochrome, texas and default88 use 88 colors. colorscheme = 'default' # Preview files on the rightmost column? # And collapse the last column if there is nothing to preview? preview_files = True preview_directories = True max_filesize_for_preview = 300 * 1024 # 300kb collapse_preview = True # Save the console history on exit? save_console_history = True # Draw borders around columns? draw_borders = False draw_bookmark_borders = True # How many columns are there, and what are their relative widths? column_ratios = (1, 1, 4, 3) # Set a title for the window? update_title = True # Shorten the title if it gets long? The number defines how many # directories are displayed at once, False turns off this feature. shorten_title = 3 # How many directory-changes or console-commands should be kept in history? max_history_size = 20 # Try to keep so much space between the top/bottom border when scrolling: scroll_offset = 2 # Flush the input after each key hit? (Noticable when ranger lags) flushinput = True # Save bookmarks (used with mX and `X) instantly? # This helps to synchronize bookmarks between multiple ranger # instances but leads to *slight* performance loss. # When false, bookmarks are saved when ranger is exited. autosave_bookmarks = True # Makes sense for screen readers: show_cursor = False # One of: size, basename, mtime, type sort = 'basename' sort_reverse = False sort_case_insensitive = False sort_directories_first = True # Apply an overlay function to the colorscheme. It will be called with # 4 arguments: the context and the 3 values (fg, bg, attr) returned by # the original use() function of your colorscheme. The return value # must be a 3-tuple of (fg, bg, attr). # Note: Here, the colors/attributes aren't directly imported into # the namespace but have to be accessed with color.xyz. def colorscheme_overlay(context, fg, bg, attr): if context.directory and attr & color.bold and \ not any((context.marked, context.selected)): attr ^= color.bold # I don't like bold directories! if context.main_column and context.selected: fg, bg = color.red, color.default # To highlight the main column! return fg, bg, attr # The above function was just an example, let's set it back to None colorscheme_overlay = None