PageRenderTime 51ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/.config/vimb/config

https://bitbucket.org/jasonwryan/centurion
#! | 83 lines | 77 code | 6 blank | 0 comment | 0 complexity | cffe7dd28e29af7bb06ea06b3163d661 MD5 | raw file
  1. # -------------------------------------------------
  2. # file: ~/.config/vimb/config
  3. # author: jason ryan http://jasonwryan.com/
  4. # vim:fenc=utf-8:nu:ai:si:et:ts=2:sw=2:ft=sh:
  5. # -------------------------------------------------
  6. # set options
  7. handler-add mailto=urxvt -e mutt %s
  8. handler-add ftp=urxvt -e wget %s -P /tmp/vimb
  9. set editor-command=urxvt -title scratchpad -geometry 86x24+40+60 -e vim %s
  10. set home-page=file:///home/jason/Sync/vimb/index.html
  11. set cookie-accept=origin
  12. set download-path=/home/jason/
  13. set header=DNT=1
  14. set history-max-items=30000
  15. set maximum-cache-size=20000
  16. set plugins=off
  17. set scripts=on
  18. set strict-focus=off
  19. set stylesheet=on
  20. set webinspector=off
  21. set x-hint-command=:sh! /home/jason/Scripts/tube <C-R>;<CR>
  22. # appearance
  23. set fontsize=13
  24. set monofontsize=10
  25. set minimumfontsize=10
  26. set status-color-bg=#222
  27. set status-color-fg=#696969
  28. set status-font=DejaVu Sans 11
  29. set status-ssl-font=DejaVu Sans 11
  30. set status-sslinvalid-font=DejaVu Sans 11
  31. set status-ssl-color-fg=#53A6A6
  32. set status-ssl-color-bg=#222
  33. set status-sslinvalid-color-fg=#8A2F58
  34. set status-sslinvalid-color-bg=#222222
  35. set input-font-error=DejaVu Sans 11
  36. set input-font-normal=DejaVu Sans 11
  37. set input-bg-normal=#222222
  38. set input-fg-normal=#CCCCCC
  39. set input-bg-error=#222222
  40. set input-fg-error=#8A2F58
  41. set completion-font=DejaVu Sans 11
  42. set completion-fg-normal=#899CA1
  43. set completion-fg-active=#FFFFFF
  44. set completion-bg-normal=#222222
  45. set completion-bg-active=#111111
  46. # shortcuts
  47. shortcut-add s=https://ixquick.com/do/metasearch.pl?&cat=web&query=host:unix.stackexchange.com+$0
  48. shortcut-add k=http://stackoverflow.com/search?q=[awk]+$0
  49. shortcut-add h=http://stackoverflow.com/search?q=[bash]+$0
  50. shortcut-add x=http://www.google.com/search?hl=en&source=hp&ie=ISO-8859-l&q=$0
  51. shortcut-add gh=https://github.com/search?q=$0&type=Code
  52. shortcut-add d=https://duckduckgo.com/?q=$0&t=Vimprobable
  53. shortcut-add y=https://www.youtube.com/results?search_query=$0
  54. shortcut-add g=https://ixquick.com/do/metasearch.pl?language=english&cat=web&query=$0
  55. shortcut-add b=https://ixquick.com/do/metasearch.pl?&cat=web&query=host:bbs.archlinux.org+$0
  56. shortcut-add a=https://wiki.archlinux.org/index.php?title=Special%%3ASearch&search=$0&go=Go
  57. shortcut-add w=https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%%3ASearch&search=$0&go=Go
  58. shortcut-add B=https://api-ssl.bitly.com/v3/shorten?access_token=20e9827b9c5ddee1b0cec7722bfc557dec833791&longUrl=$0&format=txt
  59. # quick tabs
  60. nnoremap gb :tabopen http://bitbucket.jasonwryan.com<CR>
  61. nnoremap ge :tabopen https://wiki.archlinux.org/index.php/Forum_Etiquette<CR>
  62. nnoremap gf :tabopen http://flickr.jasonwryan.com<CR>
  63. nnoremap gj :tabopen http://jasonwryan.com<CR>
  64. nnoremap gp :tabopen http://127.0.0.1:4000<CR>
  65. nnoremap gr :tabopen https://feedbin.com<CR>
  66. nnoremap gs :tabopen https://unix.stackexchange.com<CR>
  67. # basic mappings
  68. nnoremap b <C-O>
  69. nnoremap m <C-I>
  70. nnoremap x <C-Q>
  71. nnoremap <C-S> gf
  72. nnoremap <Down> j
  73. nnoremap <Up> k
  74. nnoremap <F11> :set fullscreen!<CR>
  75. nmap <C-C>o :set caret=on<CR>
  76. nmap <C-C>f :set caret=off<CR>
  77. nmap <C-B> :eval! document.location='https://pinboard.in/add?next=same&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)<CR>