-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvimperatorrc
More file actions
44 lines (30 loc) · 1003 Bytes
/
Copy pathvimperatorrc
File metadata and controls
44 lines (30 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
" ~/.vimperatorrc - firefox plugin
let mapleader = " "
set complete=l
" always open help in new tab
set newtab+=help
" remove highlighting
nmap <leader>h :set nohlfind<CR>
" open Google in new tab
nmap <C-k> :t google.com<CR>
nmap <C-j> :o google.com<CR>
" move current tab to beginning of list
nmap <Leader>t0 :tabmove 0<CR>
" move current tab to end of list
nmap <Leader>tm :tabmove 100<CR>
" view native size of image without clicking it
nmap <Leader>z -builtin :javascript window.content.document.toggleImageSize();<CR>
" open up panorama
nmap ge <C-S-e>
" shortcut for accessing subreddits
cnoremap /r/ reddit.com/r/
" shortcut for viewing debian packages (all branches)
cnoremap deb/ packages.debian.org/
" quickly change hintkeys
" 1: default
" 2: left hand keys only
" 3: numbers keys only (allow link names to be typed)
nmap <Leader>f1 :set hintkeys=asdfg;lkjh<CR>
nmap <Leader>f2 :set hintkeys=asdfgwert<CR>
nmap <Leader>f3 :set hintkeys=0123456789<CR>
" vim: set ft=vim :