You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tridactylrc 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. " Reset
  2. sanitise tridactyllocal tridactylsync
  3. sanitise downloads
  4. " UI
  5. set newtab about:blank
  6. set modeindicator false
  7. set smoothscroll true
  8. " Help
  9. bind <F1> viewconfig nmaps
  10. " Search
  11. unbind <C-f>
  12. " Bookmark
  13. unbind a
  14. bind A current_url bmark
  15. " Zoom
  16. unbind zi
  17. unbind zI
  18. unbind zo
  19. unbind zO
  20. unbind zm
  21. unbind zM
  22. unbind zr
  23. unbind zR
  24. bind zz zoom +0.1 true
  25. bind ZZ zoom -0.1 true
  26. bind zx zoom 1
  27. " Open or close tab
  28. unbind x
  29. unbind D
  30. bind xx tabclose
  31. bind X undo tab
  32. " Go to tab
  33. bind <C-1> tab 1
  34. bind <C-2> tab 2
  35. bind <C-3> tab 3
  36. bind <C-4> tab 4
  37. bind <C-5> tab 5
  38. bind <C-6> tab 6
  39. bind <C-7> tab 7
  40. bind <C-8> tab 8
  41. bind <C-9> tab 9
  42. bind <A-1> tab 1
  43. bind <A-2> tab 2
  44. bind <A-3> tab 3
  45. bind <A-4> tab 4
  46. bind <A-5> tab 5
  47. bind <A-6> tab 6
  48. bind <A-7> tab 7
  49. bind <A-8> tab 8
  50. bind <A-9> tab 9
  51. " Move tab
  52. unbind >>
  53. unbind <<
  54. bind > tabmove +1
  55. bind < tabmove -1
  56. " Hints
  57. set hintchars qwerasdzxcv
  58. " Scroll
  59. bind s scrollline 2
  60. bind w scrollline -2
  61. bind j scrollline 4
  62. bind k scrollline -4
  63. bind d scrollpage 0.4
  64. bind e scrollpage -0.4
  65. " Sites
  66. bindurl https://www.reddit.com <A-f> urlmodify -t www old
  67. " Hints
  68. unbind gF
  69. unbind ;i
  70. unbind ;b
  71. unbind ;o
  72. unbind ;I
  73. unbind ;k
  74. unbind ;K
  75. unbind ;y
  76. unbind ;Y
  77. unbind ;p
  78. unbind ;h
  79. unbind v
  80. unbind ;P
  81. unbind ;r
  82. unbind ;s
  83. unbind ;S
  84. unbind ;a
  85. unbind ;A
  86. unbind ;;
  87. unbind ;#
  88. unbind ;v
  89. unbind ;V
  90. unbind ;w
  91. unbind ;t
  92. unbind ;O
  93. unbind ;W
  94. unbind ;T
  95. unbind ;d
  96. unbind ;gd
  97. unbind ;z
  98. unbind ;m
  99. unbind ;M
  100. unbind ;gi
  101. unbind ;gI
  102. unbind ;gk
  103. unbind ;gy
  104. unbind ;gp
  105. unbind ;gP
  106. unbind ;gr
  107. unbind ;gs
  108. unbind ;gS
  109. unbind ;ga
  110. unbind ;gA
  111. unbind ;g;
  112. unbind ;g#
  113. unbind ;gv
  114. unbind ;gw
  115. unbind ;gb
  116. unbind ;gF
  117. unbind ;gf
  118. bind f hint
  119. bind F hint -t
  120. bind i hint -cF img i => tri.excmds.yankimage(tri.urlutils.getAbsoluteURL(i.src))
  121. " Misc
  122. unbind $
  123. unbind ^
  124. unbind <C-a>
  125. unbind <C-x>
  126. unbind <A-m>
  127. unbind <C-e>
  128. unbind <C-y>
  129. unbind <AS-ArrowUp><AS-ArrowUp><AS-ArrowDown><AS-ArrowDown><AS-ArrowLeft><AS-ArrowRight><AS-ArrowLeft><AS-ArrowRight>ba
  130. unbind g!
  131. unbind g?