您当前的位置: 首页 >  ITKEY_ vim

vimer高效纯键盘流/鼠标退休-浏览器插件Vimium

ITKEY_ 发布时间:2021-04-12 21:18:40 ,浏览量:5

前言

如果你是一个vimer,不妨试试Vimium。纯键盘使用Chrome浏览器,好用!

安装插件

https://github.com/philc/vimium

Keybindings

MovementMapping name
j, s向下滚动scrollDown
k, w向上滚动scrollUp
h向左滚动scrollLeft
l向右滚动scrollRight
d向下滚动半页scrollPageDown
unmapped向下滚动整页scrollFullPageDown
u, e向上滚动半页scrollPageUp
unmapped向上滚动整页scrollFullPageUp
gg滚动到页面顶部scrollToTop
G滚动到页面底部scrollToBottom
0滚动到页面左侧scrollToLeft
$滚动到页面右侧scrollToRight
#将滚动焦点重置为主页resetScrollFocus
gi转到第一个输入框goToInput
gI转到最后一个焦点输入框 gigoToLastInput
zz中心页到当前搜索匹配项(中间)centerMatchH
zt中心页到当前搜索匹配项(顶部)centerMatchT
zb中心页到当前搜索匹配项(底部)centerMatchB
Link Hints
f在当前标签页中打开链接createHint
F在新的标签页打开链接createTabbedHint
unmapped在新标签页中打开链接(活动)createActiveTabbedHint
W在新窗口中打开链接createHintWindow
A重复最后一个提示命令openLastHint
q触发悬停事件(鼠标悬停+ mouseenter)createHoverHint
Q触发一个悬停事件(mouseout + mouseleave)createUnhoverHint
mf打开多个链接createMultiHint
unmapped使用外部编辑器编辑文本createEditHint
unmappedcall a code block with the link as the first argumentcreateScriptHint()
unmapped在新标签页中打开图像fullImageHint
mr反向图像搜索多个链接multiReverseImage
my复制多个链接 (open the list of links with P)multiYankUrl
gy将URL从链接复制到剪贴板yankUrl
gr反向图像搜索(谷歌图像)reverseImage
;更改链接提示焦点
QuickMarks
M创建快捷标记 addQuickMark
go在当前选项卡中打开快速标记 in the current tabopenQuickMark
gn在新标签页中打开快速标记 in a new tabopenQuickMarkTabbed
gw在新窗口中打开快捷标记 in a new windowopenQuickMarkWindowed
Miscellaneous
a别名为“:tabnew google”:tabnew google
.重复最后一条命令repeatCommand
:打开命令栏openCommandBar
/打开搜索栏openSearchBar
?打开搜索栏(反向搜索)openSearchBarReverse
unmapped打开链接搜索栏(与按相同/?)openLinkSearchBar
I通过浏览器历史记录搜索:history
g%scroll 向下滚动个百分比percentScroll
unmapped密钥传递到当前页面passKeys
i进入插入模式(转义退出)insertMode
r重新加载当前标签reloadTab
gR重新加载当前选项卡+本地缓存reloadTabUncached
;创建标记 setMark
''转到最后一个滚动位置lastScrollPosition
转到上一个滚动位置previousScrollPosition
转到下一个滚动位置nextScrollPosition
'去标记 goToMark
cm静音/取消静音标签页muteTab
none重新加载所有标签reloadAllTabs
cr重新加载所有标签,但当前reloadAllButCurrent
zi放大页面zoomPageIn
zo缩小页面zoomPageOut
z0将页面缩放到原始大小zoomOrig
z切换图像缩放(与在仅图像页面上单击图像相同)toggleImageZoom
gdalias to :chrome://downloads:chrome://downloads
gealias to :chrome://extensions:chrome://extensions
yy将当前页面的URL复制到剪贴板yankDocumentUrl
yY将当前框架的URL复制到剪贴板yankRootUrl
ya在当前窗口中复制URLyankWindowUrls
yh从查找模式复制当前匹配的文本(如果有)yankHighlight
b通过书签搜索:bookmarks
p打开剪贴板选择openPaste
P在新标签页中打开剪贴板选择openPasteTab
gj隐藏下载架hideDownloadsShelf
gf在iframe中循环nextFrame
gF转到根框架rootFrame
gq停止加载当前选项卡cancelWebRequest
gQ停止加载所有标签cancelAllWebRequests
gu在网址中向上一条路径goUpUrl
gU转到基本URLgoToRootUrl
gs转到当前网址的view-source://页面:viewsource!
创建或切换当前URL的书签createBookmark
unmapped关闭所有浏览器窗口quitChrome
g-递减URL路径中的第一个数字(例如www.example.com/5=> www.example.com/4)decrementURLPath
g+递增URL路径中的第一个数字incrementURLPath
标签导航
gt, K, R导航到下一个标签nextTab
gT, J, E导航到上一个选项卡previousTab
g0, g$转到第一个/最后一个标签firstTab, lastTab
, gh在新标签页中打开当前标签页历史记录中的最后一个URLopenLastLinkInTab
, gl在新标签页中打开当前标签页历史记录中的下一个网址openNextLinkInTab
x关闭当前标签closeTab
gxT关闭当前选项卡左侧的选项卡closeTabLeft
gxt关闭当前标签右侧的标签closeTabRight
gx0关闭当前选项卡左侧的所有选项卡closeTabsToLeft
gx$关闭当前标签右侧的所有标签closeTabsToRight
X打开最后一个关闭的标签页lastClosedTab
t:tabnew:tabnew
T:tabnew :tabnew @%
O:open :open @%
%switch to tab goToTab
H, S回去goBack
L, D前进goForward
B搜索另一个活动标签:buffer
向右移动当前选项卡moveTabRight
]]点击页面上的“下一个”链接(请参见上面的nextmatchpattern)nextMatchPattern
[[点击页面上的“后退”链接(请参见上面的“ matchpattern”)previousMatchPattern
gp固定/取消固定当前标签页pinTab
在上次使用的标签之间切换焦点lastUsedTab
查找模式
n下一个搜索结果nextSearchResult
N以前的搜索结果previousSearchResult
v进入视觉/插入符号模式(突出显示当前搜索/选择)toggleVisualMode
V从插入符号模式/当前突出显示的搜索进入视线模式toggleVisualLineMode
unmapped清除搜索模式突出显示clearSearchHighlight
Visual/Caret Mode
退出视觉模式到插入符号模式/退出插入符号模式到普通模式
v在视觉/插入符号模式之间切换
h, j, k, l移动插入符位置/扩展视觉选择
y复制当前选择
n选择下一个搜索结果
N选择上一个搜索结果
p在当前标签中打开突出显示的文本
P在新标签页中打开突出显示的文本
Text boxes
将光标移到行首beginningOfLine
将光标移到行尾endOfLine
删除到行首deleteToBeginning
删除到行尾deleteToEnd
删除一个字deleteWord
删除前一个单词deleteForwardWord
unmapped删除一个字符deleteChar
unmapped向前删除一个字符deleteForwardChar
将光标移回一个字backwardWord
将光标向前移动一个字forwardWord
将光标向前移动一个字母forwardChar
将光标移回一个字母backwardChar
将光标向前移动一行forwardLine
将光标移回一行backwardLine
unmapped选择输入文字 (equivalent to )selectAll
unmapped在终端中使用Vim进行编辑 (需要 cvim_server.py 脚本才能使其正常运行,并且需要在该脚本中设置VIM_COMMAND)editWithVim

这个表格是真的长啊,终于翻译完成啦!感觉有用的话,点个赞支持一下吧!

Command Mode

命令描述
:tabnew (autocomplete)open a new tab with the typed/completed search
:new (autocomplete)open a new window with the typed/completed search
:open (autocomplete)open the typed/completed URL/google search
:history (autocomplete)search through browser history
:bookmarks (autocomplete)search through bookmarks
:bookmarks / (autocomplete)browse bookmarks by folder/open all bookmarks from folder
:set (autocomplete)temporarily change a cVim setting
:chrome:// (autocomplete)open a chrome:// URL
:tabhistory (autocomplete)browse the different history states of the current tab
:command aliases : to :
:quitclose the current tab
:qallclose the current window
:restore (autocomplete)restore a previously closed tab (newer versions of Chrome only)
:tabattach (autocomplete)move the current tab to another open window
:tabdetachmove the current tab to a new window
:file (autocomplete)open a local file
:source (autocomplete)load a cVimrc file into memory (this will overwrite the settings in the options page if the localconfig setting had been set previously
:duplicateduplicate the current tab
:settingsopen the settings page
:nohlsearchclear the highlighted text from the last search
:executeexecute a sequence of keys (Useful for mappings. For example, “map j :execute 2j”)
:buffer (autocomplete)change to a different tab
:mksessioncreate a new session from the current tabs in the active window
:delsession (autocomplete)delete a saved session
:session (autocomplete)open the tabs from a saved session in a new window
:scriptrun JavaScript on the current page
:togglepintoggle the pin state of the current tab
:pintabpin the current tab
:unpintabunpin the current tab

Tips

  • You can use @% in “open” commands to specify the current URL.
    For example, :open @% would essentially refresh the current page.
  • Prepend a number to the command to repeat that command N times
  • Use the up/down arrows in command/find mode to navigate through previously
    executed commands/searches – you can also use this to search for previously
    executed commands starting with a certain combination of letters (for example,
    entering ta in the command bar and pressing the up arrow will search command
    history for all matches beginning with ta
关注
打赏
查看更多评论

ITKEY_

暂无认证

  • 5浏览

    0关注

    634博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录