Add w3m config

This commit is contained in:
Augusto Gunsch 2021-08-20 14:41:23 -03:00
parent 9ad2d3a539
commit 757cf2432f
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
2 changed files with 37 additions and 0 deletions

3
home/w3m/config Normal file
View File

@ -0,0 +1,3 @@
# w3m -show-option
extbrowser youtube-dl -f best -o '~/videos/%(title)s.%(ext)s'
extbrowser2 qutebrowser

34
home/w3m/keymap Normal file
View File

@ -0,0 +1,34 @@
# A sample of ~/.w3m/keymap (default)
#
# Ctrl : C-, ^
# Escape: ESC-, M-, ^[
# Space : SPC, ' '
# Tab : TAB, ^i, ^I
# Delete: DEL, ^?
# Up : UP, ^[[A
# Down : DOWN, ^[[B
# Right : RIGHT, ^[[C
# Left : LEFT, ^[[D
# Unmappings
keymap g NULL
keymap W NULL
keymap C-q NULL
keymap { NULL
keymap } NULL
keymap U NULL
# Vi-like bindings
keymap b PREV_WORD
keymap C-d NEXT_PAGE
keymap C-u PREV_PAGE
keymap gg BEGIN
# Qutebrowser-like bindings
keymap dd CLOSE_TAB
keymap o GOTO
keymap C-o OPTIONS
keymap K PREV_TAB
keymap J NEXT_TAB
keymap O TAB_GOTO