aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.vimperatorrc
blob: f58e8b8e8682404d0fa09956d40a69a9ca9dc654 (plain)
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
" Color scheme
colorscheme simple-highlight

" Set hintchars to alphbet
set hintchars=hjklasdfgyuiopqwertnmzxcvb

" No navigation
set gui=nonavigation

" Leader key
let mapleader = ";"

" Disable fucking bell
set visualbell=true
" set runtimepath+=~/.vimperator/vimperator-plugins

" Make Firefox run faster by using JIT
" set! javascript.options.jit.chrome=true

" Ctrl-a
inoremap <C-a> <C-Home><C-S-End>

" scroll down/up half page
noremap d <C-d>
noremap e <C-u>

" Jump to related tab
noremap <S-k> <C-p>
noremap <S-j> <c-n>

" Colse the current tab
noremap x d
noremap <BS> <C-o>

" Open debug
noremap <leader>f <F12>

" Map e to jump to tab by tab number(With tree tab plugin)
noremap e gt

" Sometimes when you need navigation bar
noremap <leader>nn :set gui=nonavigation<CR>
noremap <leader>n :set gui=navigation<CR>