about summary refs log tree commit diff stats
path: root/ranger/defaults/options.py
blob: 139cda880c159512fc0e20341d640a28921cf791 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""
This is the default configuration file of ranger.
If you do any changes, make sure the import-line stays
intact and the type of the value stays the same.
"""

from ranger.api.options import *

one_kb = 1024

colorscheme = colorschemes.default

max_history_size = 20
max_filesize_for_preview = 300 * one_kb
scroll_offset = 2
preview_files = True
flushinput = True

sort = 'basename'
reverse = False
directories_first = True

show_hidden = False
collapse_preview = True
autosave_bookmarks = True
update_title = False

show_cursor = False

hidden_filter = regexp(
		r'lost\+found|^\.|~$|\.(:?pyc|pyo|bak|swp)$')