add w3m and elinks
This commit is contained in:
parent
e35378deb6
commit
155ecc702e
1
elinks/README.md
Normal file
1
elinks/README.md
Normal file
@ -0,0 +1 @@
|
||||
- `elinks.conf`: `.elinks/elinks.conf`
|
56
elinks/elinks.conf
Normal file
56
elinks/elinks.conf
Normal file
@ -0,0 +1,56 @@
|
||||
# Inspired by:
|
||||
#
|
||||
# - https://github.com/artur-shaik/vimmer-dotfiles/blob/master/elinks/.elinks/elinks.conf
|
||||
# - https://gist.github.com/alvinfrancis/6131767
|
||||
# - http://pwet.fr/man/linux/formats/elinks_conf/
|
||||
#
|
||||
|
||||
|
||||
bind "main" "k" = "move-link-prev"
|
||||
bind "main" "j" = "move-link-next"
|
||||
bind "main" "h" = "scroll-left"
|
||||
bind "main" "l" = "scroll-right"
|
||||
|
||||
bind "main" "Ctrl-b" = "move-page-up"
|
||||
bind "main" "Ctrl-f" = "move-page-down"
|
||||
|
||||
bind "main" "Ctrl-e" = "scroll-down"
|
||||
bind "main" "Ctrl-y" = "scroll-up"
|
||||
|
||||
bind "main" "J" = "tab-next"
|
||||
bind "main" "K" = "tab-prev"
|
||||
|
||||
bind "main" "H" = "history-move-back"
|
||||
bind "main" "L" = "history-move-forward"
|
||||
|
||||
bind "main" "g" = "move-document-start"
|
||||
bind "main" "G" = "move-document-end"
|
||||
|
||||
bind "main" "R" = "reload"
|
||||
|
||||
bind "main" "o" = "goto-url-current-link"
|
||||
bind "main" "O" = "open-new-tab"
|
||||
|
||||
bind "main" "D" = "tab-close"
|
||||
|
||||
#bind "main" "Ctrl-M" = "frame-maximize"
|
||||
#bind "main" "f" = "goto-url-current-link"
|
||||
|
||||
#bind "main" "Ctrl-t" = ""
|
||||
bind "main" "F" = "open-link-in-new-tab-in-background"
|
||||
|
||||
bind "main" "Ctrl-c" = "abort-connection"
|
||||
|
||||
# don't use "c" to close a tab
|
||||
bind "main" "c" = "none"
|
||||
|
||||
# unbind Q (quit without warning)
|
||||
bind "main" "Q" = "none"
|
||||
|
||||
# dumb prefixes for websites
|
||||
set protocol.rewrite.dumb.gh = "https://github.com"
|
||||
|
||||
# smart prefixes to search in websites
|
||||
set protocol.rewrite.smart.g = "http://www.google.com/search?q=%s"
|
||||
set protocol.rewrite.smart.d = "https://duckduckgo.com/?q=%s"
|
||||
set protocol.rewrite.smart.w = "http://en.wikipedia.org/w/index.php?title=Special:Search&search=%s"
|
25
script.sh
Normal file
25
script.sh
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
HOME_PATH="/home/user/"
|
||||
|
||||
cp emacs/.emacs $HOME_PATH
|
||||
cp tmux/.tmux.conf $HOME_PATH
|
||||
|
||||
cp mutt/.mailcap $HOME_PATH
|
||||
cp mutt/.muttrc $HOME_PATH
|
||||
|
||||
mkdir -p $HOME_PATH/.vim/
|
||||
cp vim/digraph_defs.vim $HOME_PATH/.vim/
|
||||
cp vim/.vimrc $HOME_PATH
|
||||
|
||||
mkdir -p $HOME_PATH/.elinks/
|
||||
cp elinks/elinks.conf $HOME_PATH/.elinks/
|
||||
|
||||
mkdir -p $HOME_PATH/.config/i3/
|
||||
cp i3/config $HOME_PATH/.config/i3/
|
||||
|
||||
mkdir -p $HOME_PATH/.config/i3status/
|
||||
cp i3status/config $HOME_PATH/.config/i3/
|
||||
|
||||
mkdir -p $HOME_PATH/.config/nvim/
|
||||
cp nvim/init.vim $HOME_PATH/.config/nvim/
|
242
vim/.vimrc
242
vim/.vimrc
@ -16,6 +16,9 @@ set shiftwidth=4
|
||||
" Expand tabs to spaces
|
||||
set expandtab
|
||||
|
||||
" Minimum number of lines to keep above and below cursor
|
||||
"set scrolloff=0
|
||||
|
||||
" Always show status line
|
||||
set laststatus=2
|
||||
|
||||
@ -93,241 +96,4 @@ if has("cscope")
|
||||
\:vert scs find a <C-R>=expand("<cword>")<CR><CR>
|
||||
endif
|
||||
|
||||
|
||||
" Digraphs
|
||||
" https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unicode
|
||||
" https://github.com/joom/latex-unicoder.vim/blob/master/autoload/unicoder.vim
|
||||
|
||||
"" Set theory
|
||||
digr )- 8713 " ∉
|
||||
|
||||
"" Super-script characters
|
||||
" Note: q, C, F, Q, S, X, Y, Z haven't got super-script version.
|
||||
digr ^0 8304 " ⁰ (duplicate of 0S)
|
||||
digr ^1 185 " ¹ (duplicate of 1S)
|
||||
digr ^2 178 " ² (duplicate of 2S)
|
||||
digr ^3 179 " ³ (duplicate of 3S)
|
||||
digr ^4 8308 " ⁴ (duplicate of 4S)
|
||||
digr ^5 8309 " ⁵ (duplicate of 5S)
|
||||
digr ^6 8310 " ⁶ (duplicate of 6S)
|
||||
digr ^7 8311 " ⁷ (duplicate of 7S)
|
||||
digr ^8 8312 " ⁸ (duplicate of 8S)
|
||||
digr ^9 8313 " ⁹ (duplicate of 9S)
|
||||
digr ^+ 8314 " ⁺ (duplicate of +S)
|
||||
digr ^- 8315 " ⁻ (duplicate of -S)
|
||||
digr ^a 7491 " ᵃ
|
||||
digr ^b 7495 " ᵇ
|
||||
digr ^c 7580 " ᶜ
|
||||
digr ^d 7496 " ᵈ
|
||||
digr ^e 7497 " ᵉ
|
||||
digr ^f 7584 " ᶠ
|
||||
digr ^g 7501 " ᵍ
|
||||
digr ^h 688 " ʰ
|
||||
digr ^i 8305 " ⁱ
|
||||
digr ^j 690 " ʲ
|
||||
digr ^k 7503 " ᵏ
|
||||
digr ^l 737 " ˡ
|
||||
digr ^m 7504 " ᵐ
|
||||
digr ^n 8319 " ⁿ
|
||||
digr ^o 7506 " ᵒ
|
||||
digr ^p 7510 " ᵖ
|
||||
digr ^r 691 " ʳ
|
||||
digr ^s 738 " ˢ
|
||||
digr ^t 7511 " ᵗ
|
||||
digr ^u 7512 " ᵘ
|
||||
digr ^v 7515 " ᵛ
|
||||
digr ^w 695 " ʷ
|
||||
digr ^x 739 " ˣ
|
||||
digr ^y 696 " ʸ
|
||||
digr ^z 7611 " ᶻ
|
||||
digr ^A 7468 " ᴬ
|
||||
digr ^B 7470 " ᴮ
|
||||
digr ^D 7472 " ᴰ
|
||||
digr ^E 7473 " ᴱ
|
||||
digr ^G 7475 " ᴳ
|
||||
digr ^H 7476 " ᴴ
|
||||
digr ^I 7477 " ᴵ
|
||||
digr ^J 7478 " ᴶ
|
||||
digr ^K 7479 " ᴷ
|
||||
digr ^L 7480 " ᴸ
|
||||
digr ^M 7481 " ᴹ
|
||||
digr ^N 7482 " ᴺ
|
||||
digr ^O 7484 " ᴼ
|
||||
digr ^P 7486 " ᴾ
|
||||
digr ^R 7487 " ᴿ
|
||||
digr ^T 7488 " ᵀ
|
||||
digr ^U 7489 " ᵁ
|
||||
digr ^V 11389 " ⱽ
|
||||
digr ^W 7490 " ᵂ
|
||||
|
||||
|
||||
"" Sub-script characters
|
||||
" Note: b, c, d, f, g, q, w, y, z haven't got sub-script version.
|
||||
" Note: No upper case Latin letter has got sub-script version.
|
||||
digr _0 8320 " ₀ (duplicate of 0s)
|
||||
digr _1 8321 " ₁ (duplicate of 1s)
|
||||
digr _2 8322 " ₂ (duplicate of 2s)
|
||||
digr _3 8323 " ₃ (duplicate of 3s)
|
||||
digr _4 8324 " ₄ (duplicate of 4s)
|
||||
digr _5 8325 " ₅ (duplicate of 5s)
|
||||
digr _6 8326 " ₆ (duplicate of 6s)
|
||||
digr _7 8327 " ₇ (duplicate of 7s)
|
||||
digr _8 8328 " ₈ (duplicate of 8s)
|
||||
digr _9 8329 " ₉ (duplicate of 9s)
|
||||
digr _+ 8330 " ₊ (duplicate of +s)
|
||||
digr _- 8331 " ₋ (duplicate of -s)
|
||||
digr _a 8336 " ₐ
|
||||
digr _e 8337 " ₑ
|
||||
digr _h 8341 " ₕ
|
||||
digr _i 7522 " ᵢ
|
||||
digr _j 11388 " ⱼ
|
||||
digr _k 8342 " ₖ
|
||||
digr _l 8343 " ₗ
|
||||
digr _m 8344 " ₘ
|
||||
digr _n 8345 " ₙ
|
||||
digr _o 8338 " ₒ
|
||||
digr _p 8346 " ₚ
|
||||
digr _r 7523 " ᵣ
|
||||
digr _s 8347 " ₛ
|
||||
digr _t 8348 " ₜ
|
||||
digr _u 7524 " ᵤ
|
||||
digr _v 7525 " ᵥ
|
||||
digr _x 8339 " ₓ
|
||||
|
||||
|
||||
"" Italic letters (resemble italics syntax in emacs org-mode)
|
||||
digr /A 119860 " 𝐴
|
||||
digr /B 119861 " 𝐵
|
||||
digr /C 119862 " 𝐶
|
||||
digr /D 119863 " 𝐷
|
||||
digr /E 119864 " 𝐸
|
||||
digr /F 119865 " 𝐹
|
||||
digr /G 119866 " 𝐺
|
||||
digr /H 119867 " 𝐻
|
||||
digr /I 119868 " 𝐼
|
||||
digr /J 119869 " 𝐽
|
||||
digr /K 119870 " 𝐾
|
||||
digr /L 119871 " 𝐿
|
||||
digr /M 119872 " 𝑀
|
||||
digr /N 119873 " 𝑁
|
||||
digr /O 119874 " 𝑂
|
||||
digr /P 119875 " 𝑃
|
||||
digr /Q 119876 " 𝑄
|
||||
digr /R 119877 " 𝑅
|
||||
digr /S 119878 " 𝑆
|
||||
digr /T 119879 " 𝑇
|
||||
digr /U 119880 " 𝑈
|
||||
digr /V 119881 " 𝑉
|
||||
digr /W 119882 " 𝑊
|
||||
digr /X 119883 " 𝑋
|
||||
digr /Y 119884 " 𝑌
|
||||
digr /Z 119885 " 𝑍
|
||||
digr /a 119886 " 𝑎
|
||||
digr /b 119887 " 𝑏
|
||||
digr /c 119888 " 𝑐
|
||||
digr /d 119889 " 𝑑
|
||||
digr /e 119890 " 𝑒
|
||||
digr /f 119891 " 𝑓 (overriding ⁄: Fraction slash)
|
||||
digr /g 119892 " 𝑔
|
||||
digr /h 8462 " ℎ (using Planck constant)
|
||||
digr /i 119894 " 𝑖
|
||||
digr /j 119895 " 𝑗
|
||||
digr /k 119896 " 𝑘
|
||||
digr /l 119897 " 𝑙
|
||||
digr /m 119898 " 𝑚
|
||||
digr /n 119899 " 𝑛
|
||||
digr /o 119900 " 𝑜
|
||||
digr /p 119901 " 𝑝
|
||||
digr /q 119902 " 𝑞
|
||||
digr /r 119903 " 𝑟
|
||||
digr /s 119904 " 𝑠
|
||||
digr /t 119905 " 𝑡
|
||||
digr /u 119906 " 𝑢
|
||||
digr /v 119907 " 𝑣
|
||||
digr /w 119908 " 𝑤
|
||||
digr /x 119909 " 𝑥
|
||||
digr /y 119910 " 𝑦
|
||||
digr /z 119911 " 𝑧
|
||||
|
||||
|
||||
"" Number sets
|
||||
digr NN 8469 " ℕ: Set of natural numbers
|
||||
digr RR 8477 " ℝ: Set of real numbers
|
||||
digr ZZ 8484 " ℤ: Set of integers
|
||||
digr CC 8450 " ℂ: Set of complex numbers (overriding ~T: Cancel character)
|
||||
digr QQ 8474 " ℚ: Set of rational numbers
|
||||
digr BB 120121 " 𝔹: Set of Booleans (overriding ¦)
|
||||
|
||||
"" Constants
|
||||
digr ee 8495 " ℯ: Euler's number ≅ 2.71828
|
||||
|
||||
digr ph 8501 " ℵ : Aleph number (in addition to א (A+))
|
||||
|
||||
"" Fancy letters
|
||||
digr el 8467 " ℓ
|
||||
|
||||
"" Proof theory stuff
|
||||
digr TN 8708 " ∄ (Since ∃ is TE)
|
||||
digr n< 8602 " ↚ (Since ← is <-)
|
||||
digr n> 8603 " ↛ (Since → is ->)
|
||||
digr pr 8866 " ⊢
|
||||
digr MO 8872 " ⊨
|
||||
digr np 8876 " ⊬
|
||||
digr NM 8877 " ⊭
|
||||
digr bx 9633 " □ (duplicate of OS)
|
||||
digr dm 9671 " ◇ (duplicate of Dw)
|
||||
digr !3 8802 " ≢ (because ≡ is `digr =3`)
|
||||
digr mp 8614 " ↦: maps to
|
||||
digr FF 10200 " ⊥ (like False) (overriding : Form feed)
|
||||
digr TT 10201 " ⊤ (like True) (duplicate of -T)
|
||||
|
||||
digr dt 8901 " ⋅ ('small dot')
|
||||
digr DT 8226 " • ('big dot') (overriding ^?: DELETE character)
|
||||
|
||||
|
||||
|
||||
digr r2 8730 " √ (square root) (duplicate of RT)
|
||||
digr r3 8731 " ∛ (cube root)
|
||||
digr r4 8732 " ∜ (fourth root)
|
||||
|
||||
|
||||
"" Lines
|
||||
digr pp 10178 " ⟂ (perpendicular to)
|
||||
digr ll 8214 " ‖ (parallel to)
|
||||
|
||||
|
||||
"" Quantum theory stuff
|
||||
digr kt 10217 " ⟩ (ket symbol)
|
||||
|
||||
|
||||
"" Matrix brackets
|
||||
|
||||
"lbrackuend ⎡
|
||||
"lbrackextender ⎢
|
||||
"lbracklend ⎣
|
||||
"rbrackuend ⎤
|
||||
"rbrackextender ⎥
|
||||
"rbracklend ⎦
|
||||
"brace left top ⎧
|
||||
"brace left middle ⎨
|
||||
"brace left bottom ⎩
|
||||
"brace right top ⎫
|
||||
"brace right middle ⎬
|
||||
"brace right bottom ⎭
|
||||
"brace extender ⎮
|
||||
|
||||
|
||||
"" Box drawing symbols
|
||||
|
||||
" ━ (HH)
|
||||
" ┃ (VV)
|
||||
" ┏ (DR)
|
||||
" ┓ (LD)
|
||||
" ┳ (DH)
|
||||
" ┻ (UH)
|
||||
" ┒ (Dl)
|
||||
" ┑ (dL)
|
||||
" ┐ (dl)
|
||||
" ┍ (dR)
|
||||
|
||||
digr ~~ 822 " strikethrough text overlay
|
||||
source ~/.vim/digraph_defs.vim
|
||||
|
@ -1 +1,2 @@
|
||||
Located at `~`.
|
||||
`.vimrc`: Located at `~/.vim/`.
|
||||
`digraph_defs.vim`: Located at `~/.vim/`.
|
||||
|
262
vim/digraph_defs.vim
Normal file
262
vim/digraph_defs.vim
Normal file
@ -0,0 +1,262 @@
|
||||
" Digraphs
|
||||
" https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unicode
|
||||
" https://github.com/joom/latex-unicoder.vim/blob/master/autoload/unicoder.vim
|
||||
|
||||
"" Set theory
|
||||
digr )- 8713 " ∉
|
||||
|
||||
"" Super-script characters
|
||||
" Note: q, C, F, Q, S, X, Y, Z haven't got super-script version.
|
||||
digr ^0 8304 " ⁰ (duplicate of 0S)
|
||||
digr ^1 185 " ¹ (duplicate of 1S)
|
||||
digr ^2 178 " ² (duplicate of 2S)
|
||||
digr ^3 179 " ³ (duplicate of 3S)
|
||||
digr ^4 8308 " ⁴ (duplicate of 4S)
|
||||
digr ^5 8309 " ⁵ (duplicate of 5S)
|
||||
digr ^6 8310 " ⁶ (duplicate of 6S)
|
||||
digr ^7 8311 " ⁷ (duplicate of 7S)
|
||||
digr ^8 8312 " ⁸ (duplicate of 8S)
|
||||
digr ^9 8313 " ⁹ (duplicate of 9S)
|
||||
digr ^+ 8314 " ⁺ (duplicate of +S)
|
||||
digr ^- 8315 " ⁻ (duplicate of -S)
|
||||
digr ^a 7491 " ᵃ
|
||||
digr ^b 7495 " ᵇ
|
||||
digr ^c 7580 " ᶜ
|
||||
digr ^d 7496 " ᵈ
|
||||
digr ^e 7497 " ᵉ
|
||||
digr ^f 7584 " ᶠ
|
||||
digr ^g 7501 " ᵍ
|
||||
digr ^h 688 " ʰ
|
||||
digr ^i 8305 " ⁱ
|
||||
digr ^j 690 " ʲ
|
||||
digr ^k 7503 " ᵏ
|
||||
digr ^l 737 " ˡ
|
||||
digr ^m 7504 " ᵐ
|
||||
digr ^n 8319 " ⁿ
|
||||
digr ^o 7506 " ᵒ
|
||||
digr ^p 7510 " ᵖ
|
||||
digr ^r 691 " ʳ
|
||||
digr ^s 738 " ˢ
|
||||
digr ^t 7511 " ᵗ
|
||||
digr ^u 7512 " ᵘ
|
||||
digr ^v 7515 " ᵛ
|
||||
digr ^w 695 " ʷ
|
||||
digr ^x 739 " ˣ
|
||||
digr ^y 696 " ʸ
|
||||
digr ^z 7611 " ᶻ
|
||||
digr ^A 7468 " ᴬ
|
||||
digr ^B 7470 " ᴮ
|
||||
digr ^D 7472 " ᴰ
|
||||
digr ^E 7473 " ᴱ
|
||||
digr ^G 7475 " ᴳ
|
||||
digr ^H 7476 " ᴴ
|
||||
digr ^I 7477 " ᴵ
|
||||
digr ^J 7478 " ᴶ
|
||||
digr ^K 7479 " ᴷ
|
||||
digr ^L 7480 " ᴸ
|
||||
digr ^M 7481 " ᴹ
|
||||
digr ^N 7482 " ᴺ
|
||||
digr ^O 7484 " ᴼ
|
||||
digr ^P 7486 " ᴾ
|
||||
digr ^R 7487 " ᴿ
|
||||
digr ^T 7488 " ᵀ
|
||||
digr ^U 7489 " ᵁ
|
||||
digr ^V 11389 " ⱽ
|
||||
digr ^W 7490 " ᵂ
|
||||
|
||||
|
||||
"" Sub-script characters
|
||||
" Note: b, c, d, f, g, q, w, y, z haven't got sub-script version.
|
||||
" Note: No upper case Latin letter has got sub-script version.
|
||||
digr _0 8320 " ₀ (duplicate of 0s)
|
||||
digr _1 8321 " ₁ (duplicate of 1s)
|
||||
digr _2 8322 " ₂ (duplicate of 2s)
|
||||
digr _3 8323 " ₃ (duplicate of 3s)
|
||||
digr _4 8324 " ₄ (duplicate of 4s)
|
||||
digr _5 8325 " ₅ (duplicate of 5s)
|
||||
digr _6 8326 " ₆ (duplicate of 6s)
|
||||
digr _7 8327 " ₇ (duplicate of 7s)
|
||||
digr _8 8328 " ₈ (duplicate of 8s)
|
||||
digr _9 8329 " ₉ (duplicate of 9s)
|
||||
digr _+ 8330 " ₊ (duplicate of +s)
|
||||
digr _- 8331 " ₋ (duplicate of -s)
|
||||
digr _a 8336 " ₐ
|
||||
digr _e 8337 " ₑ
|
||||
digr _h 8341 " ₕ
|
||||
digr _i 7522 " ᵢ
|
||||
digr _j 11388 " ⱼ
|
||||
digr _k 8342 " ₖ
|
||||
digr _l 8343 " ₗ
|
||||
digr _m 8344 " ₘ
|
||||
digr _n 8345 " ₙ
|
||||
digr _o 8338 " ₒ
|
||||
digr _p 8346 " ₚ
|
||||
digr _r 7523 " ᵣ
|
||||
digr _s 8347 " ₛ
|
||||
digr _t 8348 " ₜ
|
||||
digr _u 7524 " ᵤ
|
||||
digr _v 7525 " ᵥ
|
||||
digr _x 8339 " ₓ
|
||||
|
||||
|
||||
"" Italic letters (resemble italics syntax in emacs org-mode)
|
||||
digr /A 119860 " 𝐴
|
||||
digr /B 119861 " 𝐵
|
||||
digr /C 119862 " 𝐶
|
||||
digr /D 119863 " 𝐷
|
||||
digr /E 119864 " 𝐸
|
||||
digr /F 119865 " 𝐹
|
||||
digr /G 119866 " 𝐺
|
||||
digr /H 119867 " 𝐻
|
||||
digr /I 119868 " 𝐼
|
||||
digr /J 119869 " 𝐽
|
||||
digr /K 119870 " 𝐾
|
||||
digr /L 119871 " 𝐿
|
||||
digr /M 119872 " 𝑀
|
||||
digr /N 119873 " 𝑁
|
||||
digr /O 119874 " 𝑂
|
||||
digr /P 119875 " 𝑃
|
||||
digr /Q 119876 " 𝑄
|
||||
digr /R 119877 " 𝑅
|
||||
digr /S 119878 " 𝑆
|
||||
digr /T 119879 " 𝑇
|
||||
digr /U 119880 " 𝑈
|
||||
digr /V 119881 " 𝑉
|
||||
digr /W 119882 " 𝑊
|
||||
digr /X 119883 " 𝑋
|
||||
digr /Y 119884 " 𝑌
|
||||
digr /Z 119885 " 𝑍
|
||||
digr /a 119886 " 𝑎
|
||||
digr /b 119887 " 𝑏
|
||||
digr /c 119888 " 𝑐
|
||||
digr /d 119889 " 𝑑
|
||||
digr /e 119890 " 𝑒
|
||||
digr /f 119891 " 𝑓 (overriding ⁄: Fraction slash)
|
||||
digr /g 119892 " 𝑔
|
||||
digr /h 8462 " ℎ (using Planck constant)
|
||||
digr /i 119894 " 𝑖
|
||||
digr /j 119895 " 𝑗
|
||||
digr /k 119896 " 𝑘
|
||||
digr /l 119897 " 𝑙
|
||||
digr /m 119898 " 𝑚
|
||||
digr /n 119899 " 𝑛
|
||||
digr /o 119900 " 𝑜
|
||||
digr /p 119901 " 𝑝
|
||||
digr /q 119902 " 𝑞
|
||||
digr /r 119903 " 𝑟
|
||||
digr /s 119904 " 𝑠
|
||||
digr /t 119905 " 𝑡
|
||||
digr /u 119906 " 𝑢
|
||||
digr /v 119907 " 𝑣
|
||||
digr /w 119908 " 𝑤
|
||||
digr /x 119909 " 𝑥
|
||||
digr /y 119910 " 𝑦
|
||||
digr /z 119911 " 𝑧
|
||||
|
||||
|
||||
"" Number sets
|
||||
digr NN 8469 " ℕ: Set of natural numbers
|
||||
digr RR 8477 " ℝ: Set of real numbers
|
||||
digr ZZ 8484 " ℤ: Set of integers
|
||||
digr CC 8450 " ℂ: Set of complex numbers (overriding ~T: Cancel character)
|
||||
digr QQ 8474 " ℚ: Set of rational numbers
|
||||
digr BB 120121 " 𝔹: Set of Booleans (overriding ¦)
|
||||
|
||||
"" Constants
|
||||
digr ee 8495 " ℯ: Euler's number ≅ 2.71828
|
||||
|
||||
digr ph 8501 " ℵ : Aleph number (in addition to א (A+))
|
||||
|
||||
"" Fancy letters
|
||||
digr el 8467 " ℓ
|
||||
|
||||
"" Proof theory stuff
|
||||
digr TN 8708 " ∄ (Since ∃ is TE)
|
||||
digr n< 8602 " ↚ (Since ← is <-)
|
||||
digr n> 8603 " ↛ (Since → is ->)
|
||||
digr pr 8866 " ⊢
|
||||
digr MO 8872 " ⊨
|
||||
digr np 8876 " ⊬
|
||||
digr NM 8877 " ⊭
|
||||
digr bx 9633 " □ (duplicate of OS)
|
||||
digr dm 9671 " ◇ (duplicate of Dw)
|
||||
digr !3 8802 " ≢ (because ≡ is `digr =3`)
|
||||
digr mp 8614 " ↦: maps to
|
||||
digr FF 10200 " ⊥ (like False) (overriding : Form feed)
|
||||
digr TT 10201 " ⊤ (like True) (duplicate of -T)
|
||||
|
||||
digr dt 8901 " ⋅ ('small dot')
|
||||
digr DT 8226 " • ('big dot') (overriding ^?: DELETE character)
|
||||
|
||||
|
||||
|
||||
digr r2 8730 " √ (square root) (duplicate of RT)
|
||||
digr r3 8731 " ∛ (cube root)
|
||||
digr r4 8732 " ∜ (fourth root)
|
||||
|
||||
|
||||
"" Lines
|
||||
digr pp 10178 " ⟂ (perpendicular to)
|
||||
digr ll 8214 " ‖ (parallel to)
|
||||
|
||||
|
||||
"" Quantum theory stuff
|
||||
digr kt 10217 " ⟩ (ket symbol)
|
||||
|
||||
|
||||
" 'Modifier'-like
|
||||
digr ~~ 822 " strikethrough text overlay
|
||||
|
||||
|
||||
"" With grave
|
||||
" digr a` " à
|
||||
|
||||
"" With tilde
|
||||
digr A~ 195 " Ã (duplicate of 'A?')
|
||||
digr E~ 7868 " Ẽ (duplicate of 'E?')
|
||||
digr I~ 296 " Ĩ (duplicate of 'I?')
|
||||
digr N~ 209 " Ñ (duplicate of 'N?')
|
||||
digr O~ 213 " Õ (duplicate of 'O?')
|
||||
digr U~ 360 " Ũ (duplicate of 'U?')
|
||||
digr V~ 7804 " Ṽ (duplicate of 'V?')
|
||||
digr Y~ 7928 " Ỹ (duplicate of 'Y?')
|
||||
digr a~ 227 " ã (duplicate of 'a?')
|
||||
digr e~ 7869 " ẽ (duplicate of 'e?')
|
||||
digr i~ 297 " ĩ (duplicate of 'i?')
|
||||
digr n~ 241 " ñ (duplicate of 'n?')
|
||||
digr o~ 245 " õ (duplicate of 'o?')
|
||||
digr u~ 361 " ũ (duplicate of 'u?')
|
||||
digr v~ 7805 " ṽ (duplicate of 'v?')
|
||||
digr y~ 7929 " ỹ (duplicate of 'y?')
|
||||
|
||||
|
||||
|
||||
"" Matrix brackets
|
||||
|
||||
"lbrackuend ⎡
|
||||
"lbrackextender ⎢
|
||||
"lbracklend ⎣
|
||||
"rbrackuend ⎤
|
||||
"rbrackextender ⎥
|
||||
"rbracklend ⎦
|
||||
"brace left top ⎧
|
||||
"brace left middle ⎨
|
||||
"brace left bottom ⎩
|
||||
"brace right top ⎫
|
||||
"brace right middle ⎬
|
||||
"brace right bottom ⎭
|
||||
"brace extender ⎮
|
||||
|
||||
|
||||
"" Box drawing symbols
|
||||
|
||||
" ━ (HH)
|
||||
" ┃ (VV)
|
||||
" ┏ (DR)
|
||||
" ┓ (LD)
|
||||
" ┳ (DH)
|
||||
" ┻ (UH)
|
||||
" ┒ (Dl)
|
||||
" ┑ (dL)
|
||||
" ┐ (dl)
|
||||
" ┍ (dR)
|
2
w3m/README.md
Normal file
2
w3m/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
- config: ~/.w3m/config
|
||||
- keymap: ~/.w3m/keymap
|
9
w3m/config
Normal file
9
w3m/config
Normal file
@ -0,0 +1,9 @@
|
||||
extbrowser firefox
|
||||
color 1
|
||||
basic_color terminal
|
||||
anchor_color white
|
||||
image_color yellow
|
||||
form_color green
|
||||
mark_color red
|
||||
bg_color terminal
|
||||
save_hist 1
|
76
w3m/keymap
Normal file
76
w3m/keymap
Normal file
@ -0,0 +1,76 @@
|
||||
# Inspired by:
|
||||
#
|
||||
# - https://lists.debian.org/debian-l10n-english/2016/06/msg00014.html
|
||||
# - https://github.com/linsong/w3m-config/blob/master/keymap
|
||||
# - https://github.com/tokuhirom/w3m/blob/master/doc/keymap.default
|
||||
# - https://github.com/gotbletu/dotfiles_v2/blob/master/normal_user/w3m/.w3m/keymap
|
||||
# - Default keymap: https://raw.githubusercontent.com/tokuhirom/w3m/master/doc/keymap.default
|
||||
#
|
||||
|
||||
# Scrolling page
|
||||
keymap C-f NEXT_PAGE
|
||||
keymap C-b PREV_PAGE
|
||||
|
||||
keymap C-e UP
|
||||
keymap C-y DOWN
|
||||
|
||||
keymap C-d NEXT_HALF_PAGE
|
||||
keymap C-u PREV_HALF_PAGE
|
||||
|
||||
# Centre screen on cursor on current column
|
||||
keymap zh CENTER_H
|
||||
|
||||
# Centre screen on cursor on current line
|
||||
keymap zz CENTER_V
|
||||
|
||||
|
||||
# Moving cursor
|
||||
keymap j MOVE_DOWN
|
||||
keymap k MOVE_UP
|
||||
keymap h MOVE_LEFT
|
||||
keymap l MOVE_RIGHT
|
||||
|
||||
keymap 0 LINE_BEGIN
|
||||
keymap $ LINE_END
|
||||
|
||||
keymap g BEGIN
|
||||
keymap G END
|
||||
|
||||
|
||||
|
||||
# Tab management
|
||||
keymap K PREV_TAB
|
||||
keymap J NEXT_TAB
|
||||
keymap F TAB_LINK # Open link under cursor in a new tab
|
||||
keymap D CLOSE_TAB # Close current tab
|
||||
keymap O TAB_GOTO https://ddg.gg/lite # Open a new url in a new tab
|
||||
#keymap SPC TAB_GOTO # Open a new url in a new tab
|
||||
keymap V TAB_MENU
|
||||
|
||||
|
||||
keymap yy EXTERN "printf %s $1 | xsel -b"
|
||||
|
||||
|
||||
# History navigation
|
||||
## Preserving history stack
|
||||
keymap H PREV
|
||||
keymap L NEXT
|
||||
|
||||
|
||||
# Go to URL
|
||||
keymap o GOTO
|
||||
|
||||
# Toggle between source and rendered document
|
||||
keymap \\ VIEW
|
||||
|
||||
|
||||
# Options
|
||||
keymap M-o OPTIONS
|
||||
#keymap M-S-O SET_OPTION
|
||||
|
||||
# Misc
|
||||
keymap M-s SAVE_SCREEN # Save what was rendered by w3m to a file
|
||||
keymap M-d DOWNLOAD # Download document source
|
||||
keymap i GOTO_LINK # Like enter
|
||||
keymap p PEEK_LINK # Peek address of link under cursor.
|
||||
keymap SPC PEEK # Peek url of current document
|
Loading…
Reference in New Issue
Block a user