## ELinks 0.11.7 configuration file

## This is ELinks configuration file. You can edit it manually,
## if you wish so; this file is edited by ELinks when you save
## options through UI, however only option values will be altered
## and missing options will be added at the end of file; if option
## is not written in this file, but in some file included from it,
## it is NOT counted as missing. Note that all your formatting,
## own comments and so on will be kept as-is.
##
## Obviously, if you don't like what ELinks is going to do with
## this file, you can change it by altering the config.saving_style
## option. Come on, aren't we friendly guys after all?

##############################
# 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

################################
#### Keybindings
bind "main" "j" = "scroll-down"
bind "main" "k" = "scroll-up"
bind "main" "h" = "scroll-left"
bind "main" "l" = "scroll-right"
bind "main" "Ctrl-d" = "move-page-down"
bind "main" "Ctrl-u" = "move-page-up"
bind "main" "J" = "move-link-next"
bind "main" "K" = "move-link-prev"
bind "main" "H" = "history-move-back"
bind "main" "L" = "history-move-forward"
bind "main" "Ctrl-c" = "abort-connection"
bind "main" "o" = "goto-url"
bind "main" "O" = "goto-url-current-link"
bind "main" "t" = "open-new-tab"
bind "main" "T" = "open-link-in-new-tab-in-background"
bind "main" "d" = "tab-close"
bind "main" "g" = "move-document-start"
bind "main" "G" = "move-document-end"
bind "main" "r" = "reload"
bind "main" "e" = "tab-external-command"
bind "main" "Ctrl-[" = "link-external-command"
bind "main" "f" = "search-typeahead-link"

bind "menu" "j" = "down"
bind "menu" "k" = "up"
bind "menu" "h" = "left"
bind "menu" "l" = "right"

######################################################################
## colors
## note: color does not work with tmux

set document.colors.use_document_colors = 1

set terminal.screen-256color.colors = 1
set terminal.screen-256color.transparency = 1
set terminal.screen-256color.underline = 1
set terminal.screen-256color.utf_8_io = 1

#set terminal.xterm-256color.colors = 2
#set terminal.xterm-256color.transparency = 1
#set terminal.xterm-256color.underline = 1
#set terminal.xterm-256color.utf_8_io = 1
#
#set document.css.enable = 1
#set document.css.import = 1
#set document.css.stylesheet = "user.css"
#set document.colors.increase_contrast = 1
#set document.colors.ensure_contrast = 1
#set document.uri_passing.chrome = "open %c"
#set ui.language = "System"

set document.browse.forms.confirm_submit = 0
