aboutsummaryrefslogtreecommitdiff
path: root/config/vimb
diff options
context:
space:
mode:
Diffstat (limited to 'config/vimb')
-rw-r--r--config/vimb/config47
1 files changed, 37 insertions, 10 deletions
diff --git a/config/vimb/config b/config/vimb/config
index 1075b1e..1cec1bb 100644
--- a/config/vimb/config
+++ b/config/vimb/config
@@ -1,10 +1,37 @@
-nmap s 10j
-nmap e 10k
-set status-color-bg=#200c0c
-set status-color-fg=#c8834f
-set status-ssl-color-bg=#200c0c
-set status-ssl-color-fg=#c8834f
-set completion-bg-active=#200c0c
-set completion-bg-normal=#200c0c
-set completion-fg-active=#a0614d
-set completion-fg-normal=#c8834f
+shortcut-add wiki=https://en.wikipedia.org/w/index.php?search=$0
+shortcut-add gl=https://encrypted.google.com/#q=$0
+shortcut-add dl=https://duckduckgo.com/lite/?q=$0
+shortcut-add map=https://maps.google.com/maps?saddr=$0&daddr=$1
+shortcut-add gh=https://github.com/$0/$1
+shortcut-add arrp=https://www.archlinux.org/packages/?q=$0
+shortcut-add arwk=https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=$0&go=Go
+shortcut-add aur=https://aur.archlinux.org/packages/?K=$0
+shortcut-default gl
+
+set download-command=aria2c --seed-time=900 -d Downloads/ %s
+set download-use-external=true
+
+set cookie-accept=always
+set cookie-expire-time=0
+set cookie-timeout=0
+
+nmap s <C-D>
+nmap e <C-U>
+nmap w :open wiki
+nmap W :open arwk
+nmap d :open dl
+nmap a :open arrp
+nmap A :open aur
+nmap ( <C-O>
+nmap ) <C-N>
+nmap S :set scripts=false<CR> r :shellcmd mpv --no-terminal "%s"<CR> :set scripts=true<CR>
+
+
+set status-color-bg=#202020
+set status-color-fg=#c8c8c8
+set status-ssl-color-bg=#202020
+set status-ssl-color-fg=#c8c8c8
+set completion-bg-active=#202020
+set completion-bg-normal=#202020
+set completion-fg-active=#a0a0a0
+set completion-fg-normal=#c8c8c8