blob: e4d27af8d4d864edd24499905245d5d527a234c8 (
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
/**
* vimb - a webkit based vim like browser.
*
* Copyright (C) 2012-2018 Daniel Carl
*
* 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/.
*/
/* features */
/* show wget style progressbar in status bar */
#define FEATURE_WGET_PROGRESS_BAR
/* show load progress in window title */
#define FEATURE_TITLE_PROGRESS
/* show page title in url completions */
#define FEATURE_TITLE_IN_COMPLETION
/* enable the read it later queue */
#define FEATURE_QUEUE
/* disable X window embedding */
/* #define FEATURE_NO_XEMBED */
#ifdef FEATURE_WGET_PROGRESS_BAR
/* chars to use for the progressbar */
#define PROGRESS_BAR "=> "
#define PROGRESS_BAR_LEN 20
#endif
#define FEATURE_AUTOCMD
/* time in seconds after that message will be removed from inputbox if the
* message where only temporary */
#define MESSAGE_TIMEOUT 5
/* number of chars to be shown in statusbar for ambiguous commands */
#define SHOWCMD_LEN 10
/* css applied to the gui elements regardless of user's settings */
#define GUI_STYLE_CSS_BASE "#input text{background-color:inherit;color:inherit;caret-color:@color;font:inherit;}"
/* default font size for fonts in webview */
#define SETTING_DEFAULT_FONT_SIZE 16
#define SETTING_DEFAULT_MONOSPACE_FONT_SIZE 13
#define SETTING_GUI_FONT_NORMAL "10pt monospace"
#define SETTING_GUI_FONT_EMPH "bold 10pt monospace"
#define SETTING_HOME_PAGE "about:blank"
#define SETTING_DOWNLOAD_PATH "~/Downloads"
/* cookie-accept allowed values always, origin, never */
#define SETTING_COOKIE_ACCEPT "always"
#define SETTING_HINT_KEYS "0123456789"
#define SETTING_DOWNLOAD_COMMAND "/bin/sh -c \"curl -sLJOC - -e '$neovimb_URI' %s\""
#define SETTING_COMPLETION_CSS "color:#fff;background-color:#656565;font:" SETTING_GUI_FONT_NORMAL
#define SETTING_COMPLETION_HOVER_CSS "background-color:#777;"
#define SETTING_COMPLETION_SELECTED_CSS "color:#f6f3e8;background-color:#888;"
#define SETTING_INPUT_CSS "background-color:#fff;color:#000;font:" SETTING_GUI_FONT_NORMAL
#define SETTING_INPUT_ERROR_CSS "background-color:#f77;font:" SETTING_GUI_FONT_EMPH
#define SETTING_STATUS_CSS "color:#fff;background-color:#000;font:" SETTING_GUI_FONT_EMPH
#define SETTING_STATUS_SSL_CSS "background-color:#95e454;color:#000;"
#define SETTING_STATUS_SSL_INVLID_CSS "background-color:#f77;color:#000;"
#define MAXIMUM_HINTS 500
/* default window dimensions */
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
/* if set to 1 neovimb will check if the webextension could be found. */
#define CHECK_WEBEXTENSION_ON_STARTUP 1
/* Auto Hide Input Bar */
#define SETTING_HIDEINPUTBAR on
/* Search Engine */
#define SETTING_SEARCH_ENGINE "https://duckduckgo.com/html/?q=$0"
/* User Agent */
#define SETTING_USER_AGENT "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15 "
/* Dark Mode */
#define SETTING_DARK_MODE on
/* Geolocation - always/ask/never */
#define SETTING_GEOLOCATION_ACCEPT "never"
|