aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2017-11-14 18:08:15 +0800
committerSteve Lee <me@xiangyangli.com>2017-11-14 18:08:15 +0800
commit46c1112e1e368474d3c1b2f8115921dbeba9b095 (patch)
tree4acabc5683806f7e447de9cf2796dacdf900ab43 /dotfiles
parent2d6977c65620592890b7cd128601f9c310d616b3 (diff)
downloadPersonal-46c1112e1e368474d3c1b2f8115921dbeba9b095.tar.xz
Personal-46c1112e1e368474d3c1b2f8115921dbeba9b095.zip
update vimperatorrc
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.vimperatorrc30
1 files changed, 26 insertions, 4 deletions
diff --git a/dotfiles/.vimperatorrc b/dotfiles/.vimperatorrc
index 1235c65..f58e8b8 100644
--- a/dotfiles/.vimperatorrc
+++ b/dotfiles/.vimperatorrc
@@ -1,21 +1,43 @@
+" Color scheme
colorscheme simple-highlight
+" Set hintchars to alphbet
set hintchars=hjklasdfgyuiopqwertnmzxcvb
+
+" No navigation
set gui=nonavigation
-let mapleader = ","
-set runtimepath+=~/.vimperator/vimperator-plugins
+
+" 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>
-noremap <S-j> <C-p>
-noremap <S-k> <c-n>
+
+" 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>