aboutsummaryrefslogtreecommitdiff
path: root/modules/qutebrowser/config.py
blob: d8d3595adca69cbf94666dc6680a7d2bbcac1998 (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
config.unbind('k')
config.bind(',v', 'hint links spawn mpv {hint-url}')
# TODO: caret
config.bind('m', 'scroll left')
config.bind('n', 'scroll down')
config.bind('e', 'scroll up')
config.bind('i', 'scroll right')
config.bind('M', 'back')
config.bind('N', 'tab-prev')
config.bind('E', 'tab-next')
config.bind('I', 'forward')

config.bind('j', 'search-next')
config.bind('J', 'search-prev')
config.bind('l', 'mode-enter insert')

# c.fonts.default_family = 'sans'
# c.fonts.prompts = 'sans'
# c.fonts.default_size = '12pt'
c.hints.chars = 'arstneio'
c.hints.radius=0

c.keyhint.radius=0
c.completion.scrollbar.width=0
c.completion.show="always"
c.completion.shrink=True
c.content.autoplay=False
c.content.fullscreen.window=True
c.content.pdfjs=True
c.content.prefers_reduced_motion=True
c.downloads.location.directory="~/dl"
c.editor.command=["neovide", "{file}", "--", "-c", "normal {line}G{column0}l"]
c.prompt.filebrowser=False
c.prompt.radius=0
c.scrolling.bar="never"
c.scrolling.smooth=False
c.search.incremental=False
c.search.wrap=False
c.search.wrap_messages=False

# c.statusbar.show="in-mode"
c.statusbar.widgets = ["search_match", "url", "scroll"]

c.tabs.favicons.show = 'never'
c.tabs.indicator.width = 0
c.tabs.title.alignment = 'center'
c.tabs.last_close='ignore'
c.tabs.mousewheel_switching=False
c.tabs.show = 'multiple'
# c.tabs.tabs_are_windows = False
c.tabs.tabs_are_windows = True
c.tabs.title.format = "{audio}{index}:{current_title}"

c.url.default_page = "about:blank"
c.url.start_pages = "about:blank"
c.url.searchengines = {
    "DEFAULT": "https://duckduckgo.com/?q={}", 
    "nix": "https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query={}",
    "void": "https://voidlinux.org/packages/?arch=x86_64&q={}",
    "wiki": "https://en.wikipedia.org/wiki/Special:Search?&search={}",
    "lean": "https://loogle.lean-lang.org/?q={}",
    "arxiv": "https://arxiv.org/search/?query={}&source=header&searchtype=all",
    "disc": "https://www.discogs.com/search?q={}",
    "rym": "https://rateyourmusic.com/search?searchterm={}&searchtype=",
}

c.window.title_format = "{audio} {current_title}"