Last active
February 6, 2020 07:04
-
-
Save XueshiQiao/a30e678dde1ef80d5e2a94ee27aa3603 to your computer and use it in GitHub Desktop.
configuration for Chrome extension cVim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"=======================设置======================= | |
set smoothscroll | |
let typelinkhintsdelay = 0 | |
"let showtabindices = 1 | |
let barposition = "top" | |
let searchlimit = 50 | |
"let hintcharacters = "abc123" | |
"===============Custom Key maps=================== | |
"打开书签管理器,自动搜索manager(但并不输入回车) | |
map <C-m> :bookmarks manager | |
"按 xx 关闭 Tab(Default is only one x) | |
unmap x | |
map xx closeTab | |
"按 Ctrl-r reopen 上次打开的tab | |
unmap X | |
map <C-r> lastClosedTab | |
"move to left and right tab | |
unmap J K H L | |
map <C-j> previousTab | |
map <C-k> nextTab | |
map <C-h> goBack | |
map <C-l> goForward | |
"================== Custom Functions ============== | |
" Code blocks (see below for more info) | |
getIP() -> {{ | |
httpRequest({url: 'http://api.ipify.org/?format=json', json: true}, | |
function(res) { Status.setMessage('IP: ' + res.ip); }); | |
}} | |
" Displays your public IP address in the status bar | |
map ci :call getIP<CR> | |
"=================常用快捷键备忘==================== | |
": open command bar, esc to exit | |
"/ open search bar | |
"j 向下滚动,k 向上滚动,h 向左滚动,l 向右滚动 | |
"J 打开左侧Tab | |
"K 打开右侧Tab | |
"x 关闭 tab | |
"r reload tab | |
"gd Goto Download page | |
"H Go Back | |
"K Go Forward | |
"a Google 搜索 | |
"b 在 Bookmark 中搜索 | |
"yy copy current link | |
"p/P 打开剪切板中的链接/或者搜索剪切板内容(p在当前tab,P新起tab) | |
"f 显示页面所有link,再按对应的link标记键,跳转到对应的link(在当前tab打开) | |
"F 同f,在 **新tab** 打开新页面 | |
"mf 类似f,可以连续打开多个页面 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment