initial commit
This commit is contained in:
commit
34c252db4e
3 changed files with 260 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
bookmarks
|
||||
globhist
|
||||
gotohist
|
||||
searchhist
|
8
README.md
Normal file
8
README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# My elinks configuration
|
||||
|
||||
It was hard to find a reliable textual web browser that have the feeling of
|
||||
vim / vimperator.
|
||||
|
||||
Here you go. I use for 99% the conf from [here](http://www.calmar.ws/elinks/).
|
||||
|
||||
Now, it feel mostly right.
|
248
elinks.conf
Normal file
248
elinks.conf
Normal file
|
@ -0,0 +1,248 @@
|
|||
bind "main" "#" = "none"
|
||||
bind "main" "<" = "none"
|
||||
bind "main" ">" = "none"
|
||||
bind "main" "Ctrl-D" = "download-manager"
|
||||
bind "main" "Ctrl-E" = "scroll-down"
|
||||
bind "main" "Ctrl-K" = "keybinding-manager"
|
||||
bind "main" "Ctrl-N" = "none"
|
||||
bind "main" "Ctrl-O" = "options-manager"
|
||||
bind "main" "Ctrl-P" = "none"
|
||||
bind "main" "Ctrl-Y" = "scroll-up"
|
||||
bind "main" "D" = "link-download"
|
||||
bind "main" "Delete" = "none"
|
||||
bind "main" "Escape" = "none"
|
||||
bind "main" "G" = "move-document-end"
|
||||
bind "main" "H" = "tab-prev"
|
||||
bind "main" "Insert" = "none"
|
||||
bind "main" "J" = "history-move-back"
|
||||
bind "main" "K" = "history-move-forward"
|
||||
bind "main" "L" = "tab-next"
|
||||
bind "main" "O" = "options-manager"
|
||||
bind "main" "Shift-J" = "history-move-back"
|
||||
bind "main" "Shift-K" = "history-move-forward"
|
||||
bind "main" "Shift-O" = "options-manager"
|
||||
bind "main" "Shift-Tab" = "move-link-prev"
|
||||
bind "main" "Tab" = "move-link-next"
|
||||
bind "main" "c" = "none"
|
||||
bind "main" "d" = "tab-close"
|
||||
bind "main" "f" = "search-typeahead"
|
||||
bind "main" "h" = "move-link-left"
|
||||
bind "main" "j" = "move-link-down"
|
||||
bind "main" "k" = "move-link-up"
|
||||
bind "main" "l" = "move-link-right"
|
||||
bind "main" "o" = "goto-url"
|
||||
bind "main" "u" = "none"
|
||||
set document.browse.accesskey.display = 1
|
||||
set document.browse.accesskey.priority = 2
|
||||
set document.browse.forms.auto_submit = 1
|
||||
set document.browse.forms.confirm_submit = 0
|
||||
set document.browse.forms.insert_mode = 0
|
||||
set document.browse.links.numbering = 0
|
||||
set document.browse.links.use_tabindex = 1
|
||||
set document.colors.use_document_colors = 2
|
||||
set terminal.xterm-256color.colors = 3
|
||||
set ui.clock.enable = 0
|
||||
set ui.colors.color.mainmenu.selected.background = "yellow"
|
||||
set ui.colors.color.menu.hotkey.selected.background = "yellow"
|
||||
set ui.colors.color.menu.selected.background = "yellow"
|
||||
set ui.colors.color.tabs.loading.background = "red"
|
||||
set ui.colors.color.tabs.normal.background = "white"
|
||||
set ui.colors.color.tabs.selected.background = "yellow"
|
||||
set ui.colors.color.tabs.unvisited.background = "white"
|
||||
set ui.dialogs.underline_button_shortcuts = 1
|
||||
set ui.language = "System"
|
||||
set ui.sessions.auto_save = 1
|
||||
set ui.sessions.homepage = ""
|
||||
set ui.show_title_bar = 0
|
||||
set ui.startup_goto_dialog = 1
|
||||
set ui.tabs.top = 1
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# Automatically saved options
|
||||
#
|
||||
|
||||
## config
|
||||
# Configuration handling options.
|
||||
|
||||
## config.saving_style_w [0|1]
|
||||
# This is internal option used when displaying a warning about obsolete
|
||||
# config.saving_style. You shouldn't touch it.
|
||||
set config.saving_style_w = 1
|
||||
|
||||
|
||||
## ui
|
||||
# User interface options.
|
||||
|
||||
## ui.sessions
|
||||
# Sessions settings.
|
||||
|
||||
## ui.sessions.auto_restore [0|1]
|
||||
# Automatically restore the session at start.
|
||||
#
|
||||
# This feature requires bookmark support.
|
||||
set ui.sessions.auto_restore = 1
|
||||
|
||||
## ui.sessions.snapshot [0|1]
|
||||
# Automatically save a snapshot of all tabs periodically. This will
|
||||
# periodically bookmark the tabs of each terminal in a separate folder for
|
||||
# recovery after a crash.
|
||||
#
|
||||
# This feature requires bookmark support.
|
||||
set ui.sessions.snapshot = 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# Automatically saved options
|
||||
#
|
||||
|
||||
## document
|
||||
# Document options.
|
||||
|
||||
## document.html
|
||||
# Options concerning the display of HTML pages.
|
||||
|
||||
## document.html.display_frames [0|1]
|
||||
# Display frames.
|
||||
set document.html.display_frames = 1
|
||||
|
||||
## document.html.display_tables [0|1]
|
||||
# Display tables.
|
||||
set document.html.display_tables = 1
|
||||
|
||||
## document.html.display_subs [0|1]
|
||||
# Display subscripts (as [thing]).
|
||||
set document.html.display_subs = 1
|
||||
|
||||
## document.html.display_sups [0|1]
|
||||
# Display superscripts (as ^thing).
|
||||
set document.html.display_sups = 1
|
||||
|
||||
## document.html.link_display <num>
|
||||
# How to render <link> tags from the HTML header:
|
||||
# 0 is nothing
|
||||
# 1 is title
|
||||
# 2 is name in addition
|
||||
# 3 is hreflang in addition
|
||||
# 4 is type in addition
|
||||
# 5 is everything
|
||||
set document.html.link_display = 2
|
||||
|
||||
## document.html.underline_links [0|1]
|
||||
# Underline links.
|
||||
set document.html.underline_links = 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# Automatically saved options
|
||||
#
|
||||
|
||||
## document
|
||||
# Document options.
|
||||
|
||||
## document.css
|
||||
# Options concerning how to use CSS for styling documents.
|
||||
|
||||
## document.css.ignore_display_none [0|1]
|
||||
# When enabled, elements are rendered, even when their display property has
|
||||
# the value "none". Because ELinks's CSS support is still very incomplete,
|
||||
# this setting can improve the way that some documents are rendered.
|
||||
# set document.css.ignore_display_none = 0
|
||||
|
||||
## document.css.import [0|1]
|
||||
# When enabled any external style sheets that are imported from either CSS
|
||||
# itself using the @import keyword or from the HTML using <link> tags in
|
||||
# the document header will also be downloaded.
|
||||
set document.css.import = 1
|
||||
|
||||
## document.css.media <str>
|
||||
# CSS media types that ELinks claims to support, separated with commas. The
|
||||
# "all" type is implied. Currently, only ASCII characters work reliably
|
||||
# here. See CSS2 section 7:
|
||||
# http://www.w3.org/TR/1998/REC-CSS2-19980512/media.html
|
||||
# set document.css.media = "tty"
|
||||
|
||||
## document.css.stylesheet <str>
|
||||
# The path to the file containing the default user defined Cascading Style
|
||||
# Sheet. It can be used to control the basic layout of HTML documents. The
|
||||
# path is assumed to be relative to ELinks' home directory.
|
||||
#
|
||||
# Leave as "" to use built-in document styling.
|
||||
set document.css.stylesheet = ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##################################
|
||||
# Automatically saved keybindings
|
||||
#
|
||||
|
||||
bind "main" "r" = "reload"
|
||||
bind "main" "Ctrl-R" = "none"
|
||||
|
||||
|
||||
|
||||
##################################
|
||||
# Automatically saved keybindings
|
||||
#
|
||||
|
||||
bind "main" "Up" = "move-link-up"
|
||||
bind "main" "Down" = "move-link-down"
|
||||
bind "main" "Right" = "move-link-right"
|
||||
bind "main" "Left" = "move-link-left"
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# Automatically saved options
|
||||
#
|
||||
|
||||
## document
|
||||
# Document options.
|
||||
|
||||
## document.cache
|
||||
# Cache options.
|
||||
|
||||
## document.cache.ignore_cache_control [0|1]
|
||||
# Ignore Cache-Control and Pragma server headers. When set, the document is
|
||||
# cached even with 'Cache-Control: no-cache'.
|
||||
set document.cache.ignore_cache_control = 0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# Automatically saved options
|
||||
#
|
||||
|
||||
## document
|
||||
# Document options.
|
||||
|
||||
## document.cache
|
||||
# Cache options.
|
||||
|
||||
## document.cache.revalidation_interval <num>
|
||||
# Period in seconds that a cache entry is considered to be up-to-date. When
|
||||
# a document is loaded and this interval has elapsed since the document was
|
||||
# initially loaded or most recently revalidated with the server, the server
|
||||
# will be checked in case there is a more up-to-date version of the
|
||||
# document.
|
||||
#
|
||||
# A value of -1 disables automatic revalidation.
|
||||
set document.cache.revalidation_interval = 0
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue