dotfiles

Configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

config (3089B)


      1 bind-key i  quit
      2 bind-key j  next
      3 bind-key k  prev
      4 bind-key m  toggle-article-read
      5 bind-key M  mark-feed-read
      6 bind-key A  mark-all-feeds-read
      7 bind-key g  home
      8 bind-key G  end
      9 bind-key s  sort
     10 bind-key S  rev-sort
     11 bind-key o  open-in-browser-and-mark-read
     12 #bind-key o  open-in-browser
     13 bind-key O  open-all-unread-in-browser-and-mark-read
     14 bind-key |  pipe-to
     15 bind-key ^U pageup
     16 bind-key ^D pagedown
     17 bind-key SPACE macro-prefix
     18 bind-key ] next-feed
     19 bind-key [ prev-feed
     20 
     21 unbind-key J
     22 unbind-key K
     23 unbind-key C
     24 unbind-key pageup
     25 unbind-key pagedown
     26 unbind-key home
     27 unbind-key end
     28 
     29 max-items             1000
     30 history-limit         0      # do not store search queries
     31 bookmark-cmd          "~/bin/bookmark"
     32 bookmark-autopilot    yes
     33 show-read-feeds       no     # toggle view with 'l'
     34 auto-reload           yes
     35 reload-threads        6
     36 reload-time           20
     37 feed-sort-order       firsttag
     38 article-sort-order    date-asc
     39 #feedlist-format       "%2i %n %8u %t %> %T"
     40 feedlist-format       "%2i %n %8u %t"
     41 feedlist-title-format "%N %V - Feeds (%u unread, %t total)%?T? - tag `%T'&?"
     42 #error-log             "~/.newsbeuter/error.log"
     43 html-renderer         "w3m -dump -T text/html"
     44 
     45 color background          default default
     46 color listnormal          default default
     47 color listfocus           default color7        # indicator
     48 color listnormal_unread   cyan    default       # unread, not under indicator
     49 color listfocus_unread    cyan    color7        # normal, under indicator
     50 color info                default default bold  # status bars
     51 color article             default default
     52 
     53 highlight article "^(Feed|Author):" default default
     54 highlight article "^(Link):"        default default
     55 highlight article "^(Title):"       default default bold
     56 highlight article "^(Date):"        default default
     57 highlight feedlist "https?://[^ ]+" default default
     58 
     59 # macro prefix is ,
     60 browser xdg-open
     61 macro , open-in-browser
     62 macro t set browser "tsp youtube-dl -o '~/tmp/%(title)s.%(ext)s' --add-metadata -ic -f bestvideo+bestaudio/best --all-subs --embed-subs"; open-in-browser ; toggle-article-read ; set browser xdg-open
     63 macro a set browser "tsp youtube-dl -o '~/tmp/%(title)s.%(ext)s' --add-metadata -xic -f bestaudio/best"; open-in-browser ; toggle-article-read ; set browser xdg-open
     64 macro v set browser "setsid nohup mpv >/dev/null 2>&1 "; open-in-browser ; toggle-article-read ; set browser xdg-open
     65 macro w set browser "w3m"; open-in-browser ; toggle-article-read ; set browser xdg-open
     66 # macro p set browser "dmenuhandler"; open-in-browser ; set browser xdg-open
     67 macro y set browser "echo -n %u | xclip -selection clipboard" ; open-in-browser ; set browser xdg-open
     68 macro p set browser "wkhtmltopdf %u out.pdf && mv out.pdf ~/tmp/$(basename $(mktemp)).pdf" ; open-in-browser ; set browser xdg-open
     69 macro u set browser "curl -L %u | grep -i '\.pdf' | urlview" ; open-in-browser ; set browser xdg-open
     70 macro s set browser "cd ~/tmp && tsp shdl -t -n -o %u" ; open-in-browser ; set browser xdg-open
     71 macro c set browser "cd ~/tmp && comic %u" ; open-in-browser ; toggle-article-read ; set browser xdg-open