config/vimb/config
author Tomas Zeman <tomas@functionals.cz>
Tue, 15 Dec 2020 09:22:21 +0100
changeset 60 4267602e8494
parent 59 a3e588dcdcb3
permissions -rw-r--r--
fs2json: directory structure -> json object converter. E.g. to be used instead of erica / py-Couchapp (interaction with couchdb is left to the user).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
59
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     1
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     2
set home-page=about:blank
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     3
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     4
# Path to the default download directory. If no download directory is set,
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     5
# download will be written into current directory. The following pattern will
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     6
# be expanded if the download is started '~/', '~user', '$VAR' and '${VAR}'.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     7
set download-path=/tmp/
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     8
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
     9
# Command with placeholder '%s' called if form field is opened with $EDITOR to
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    10
# spawn the editor-like `x-terminal-emulator -e vim %s'. To use Gvim as the
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    11
# editor, it's necessary to call it with `-f' to run it in the foreground.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    12
set editor-command=gvim -f %s
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    13
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    14
# If enabled the inputbox will be hidden whenever it contains no text.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    15
set input-autohide=true
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    16
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    17
# Enable or disable the spell checking feature.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    18
set spell-checking=true
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    19
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    20
# Set comma separated list of spell checking languages to be used for
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    21
# spell checking.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    22
set spell-checking-languages=en,cs
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    23
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    24
# Enable or disable support for WebGL on pages.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    25
set webgl=true
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    26
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    27
# While typing a search command, show where the pattern typed so far matches.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    28
set incsearch=true
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    29
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    30
# The font family to use as the default for content that does not specify a
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    31
# font.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    32
set default-font=DejaVu Sans
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    33
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    34
# The font family used as the default for content using monospace font.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    35
set monospace-font=DejaVu Sans Mono
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    36
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    37
# The font family used as the default for content using sans-serif font.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    38
set sans-serif-font=DejaVu Sans
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    39
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    40
# The font family used as the default for content using serif font.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    41
set serif-font=DejaVu Serif
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    42
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    43
# The default font size used to display text.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    44
set font-size=16
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    45
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    46
# Default font size for the monospace font.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    47
set monospace-font-size=13
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    48
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    49
# Default Full-Content zoom level in percent. Default is 100.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    50
#set default-zoom=120
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    51
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    52
# Shortcuts allow the opening of an URI built up from a named template with
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    53
# additional parameters.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    54
shortcut-add duck=https://duckduckgo.com/?q=$0
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    55
shortcut-add gg=https://encrypted.google.com/search?q=$0
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    56
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    57
# Set the shortcut as the default, that is the shortcut to be used if no
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    58
# shortcut is given and the string to open is not an URI.
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    59
shortcut-default duck
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    60
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    61
# Map page zoom in normal mode to keys commonly used across applications
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    62
# + (zoom in), - (zoom out), = (zoom reset)
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    63
nmap + zI
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    64
nmap - zO
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    65
nmap = zz
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    66
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    67
# GUI color settings
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    68
# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    69
set completion-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    70
set completion-hover-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    71
set completion-selected-css=color:#d3d0c8;background-color:#515151;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    72
set input-css=color:#d3d0c8;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    73
set input-error-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    74
set status-css=color:#ffcc66;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    75
set status-ssl-css=color:#99cc99;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    76
set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:12pt DejaVu Sans Mono;
a3e588dcdcb3 vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Tomas Zeman <tomas@functionals.cz>
parents:
diff changeset
    77