dotfiles

Personal dotfiles
git clone git://git.laack.co/dotfiles.git
Log | Files | Refs

lynx.cfg (1166B)


      1 .h2 ACCEPT_ALL_COOKIES
      2 # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
      3 # domains with no user interaction.  This is equivalent to automatically
      4 # replying to all cookie 'Allow?' prompts with 'A'lways.  Note that it
      5 # does not preempt validity checking, which has to be controlled separately
      6 # (see below).
      7 # The default is defined in userdefs.h and can be overridden here, or
      8 # in the .lynxrc file via an o(ptions) screen setting.  It may also be
      9 # toggled via the -accept_all_cookies command line switch.
     10 #
     11 ACCEPT_ALL_COOKIES:TRUE
     12 STARTFILE:https://duckduckgo.com/lite
     13 
     14 my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
     15 my_lss=${TMPDIR:-/tmp}/lynxlss$$
     16 trap "rm -f $my_lss $my_cfg" 0 1 2 3 15
     17 
     18 echo >$my_lss 
     19 
     20 rm -f "$my_cfg"
     21 echo "DEFAULT_COLORS:on" >>$my_cfg
     22 if test -n "$LYNX_CFG" ; then
     23         echo "include:$LYNX_CFG" >>$my_cfg
     24 fi
     25 cat >>$my_cfg <<EOF
     26 COLOR_STYLE:
     27 NESTED_TABLES:off
     28 COLOR:0:white:default
     29 EOF
     30 
     31 LYNX_CFG=$my_cfg
     32 export LYNX_CFG
     33 LYNX_LSS=$my_lss
     34 export LYNX_LSS
     35 
     36 ${LYNX_PROG-lynx} "$@"
     37 
     38 DEFAULT_EDITOR:nvim
     39 
     40 VI_KEYS_ALWAYS_ON:TRUE
     41 vi_keys=on
     42 DEFAULT_USER_MODE:advanced
     43 TEXTFIELDS_NEED_ACTIVATION:TRUE
     44 
     45 KEYMAP:^U:UP_HALF
     46 KEYMAP:^D:DOWN_HALF