您当前的位置: 首页 >  vim

ITKEY_

暂无认证

  • 0浏览

    0关注

    732博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

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

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

前言

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

安装插件

https://github.com/philc/vimium

Keybindings MovementMapping namej, s向下滚动scrollDownk, w向上滚动scrollUph向左滚动scrollLeftl向右滚动scrollRightd向下滚动半页scrollPageDownunmapped向下滚动整页scrollFullPageDownu, e向上滚动半页scrollPageUpunmapped向上滚动整页scrollFullPageUpgg滚动到页面顶部scrollToTopG滚动到页面底部scrollToBottom0滚动到页面左侧scrollToLeft$滚动到页面右侧scrollToRight#将滚动焦点重置为主页resetScrollFocusgi转到第一个输入框goToInputgI转到最后一个焦点输入框 gigoToLastInputzz中心页到当前搜索匹配项(中间)centerMatchHzt中心页到当前搜索匹配项(顶部)centerMatchTzb中心页到当前搜索匹配项(底部)centerMatchBLink Hintsf在当前标签页中打开链接createHintF在新的标签页打开链接createTabbedHintunmapped在新标签页中打开链接(活动)createActiveTabbedHintW在新窗口中打开链接createHintWindowA重复最后一个提示命令openLastHintq触发悬停事件(鼠标悬停+ mouseenter)createHoverHintQ触发一个悬停事件(mouseout + mouseleave)createUnhoverHintmf打开多个链接createMultiHintunmapped使用外部编辑器编辑文本createEditHintunmappedcall a code block with the link as the first argumentcreateScriptHint()unmapped在新标签页中打开图像fullImageHintmr反向图像搜索多个链接multiReverseImagemy复制多个链接 (open the list of links with P)multiYankUrlgy将URL从链接复制到剪贴板yankUrlgr反向图像搜索(谷歌图像)reverseImage;更改链接提示焦点QuickMarksM创建快捷标记 addQuickMarkgo在当前选项卡中打开快速标记 in the current tabopenQuickMarkgn在新标签页中打开快速标记 in a new tabopenQuickMarkTabbedgw在新窗口中打开快捷标记 in a new windowopenQuickMarkWindowedMiscellaneousa别名为“:tabnew google”:tabnew google.重复最后一条命令repeatCommand:打开命令栏openCommandBar/打开搜索栏openSearchBar?打开搜索栏(反向搜索)openSearchBarReverseunmapped打开链接搜索栏(与按相同/?)openLinkSearchBarI通过浏览器历史记录搜索:historyg%scroll 向下滚动个百分比percentScrollunmapped将密钥传递到当前页面passKeysi进入插入模式(转义退出)insertModer重新加载当前标签reloadTabgR重新加载当前选项卡+本地缓存reloadTabUncached;创建标记 setMark''转到最后一个滚动位置lastScrollPosition转到上一个滚动位置previousScrollPosition转到下一个滚动位置nextScrollPosition'去标记 goToMarkcm静音/取消静音标签页muteTabnone重新加载所有标签reloadAllTabscr重新加载所有标签,但当前reloadAllButCurrentzi放大页面zoomPageInzo缩小页面zoomPageOutz0将页面缩放到原始大小zoomOrigz切换图像缩放(与在仅图像页面上单击图像相同)toggleImageZoomgdalias to :chrome://downloads:chrome://downloadsgealias to :chrome://extensions:chrome://extensionsyy将当前页面的URL复制到剪贴板yankDocumentUrlyY将当前框架的URL复制到剪贴板yankRootUrlya在当前窗口中复制URLyankWindowUrlsyh从查找模式复制当前匹配的文本(如果有)yankHighlightb通过书签搜索:bookmarksp打开剪贴板选择openPasteP在新标签页中打开剪贴板选择openPasteTabgj隐藏下载架hideDownloadsShelfgf在iframe中循环nextFramegF转到根框架rootFramegq停止加载当前选项卡cancelWebRequestgQ停止加载所有标签cancelAllWebRequestsgu在网址中向上一条路径goUpUrlgU转到基本URLgoToRootUrlgs转到当前网址的view-source://页面:viewsource!创建或切换当前URL的书签createBookmarkunmapped关闭所有浏览器窗口quitChromeg-递减URL路径中的第一个数字(例如www.example.com/5=> www.example.com/4)decrementURLPathg+递增URL路径中的第一个数字incrementURLPath标签导航gt, K, R导航到下一个标签nextTabgT, J, E导航到上一个选项卡previousTabg0, g$转到第一个/最后一个标签firstTab, lastTab, gh在新标签页中打开当前标签页历史记录中的最后一个URLopenLastLinkInTab, gl在新标签页中打开当前标签页历史记录中的下一个网址openNextLinkInTabx关闭当前标签closeTabgxT关闭当前选项卡左侧的选项卡closeTabLeftgxt关闭当前标签右侧的标签closeTabRightgx0关闭当前选项卡左侧的所有选项卡closeTabsToLeftgx$关闭当前标签右侧的所有标签closeTabsToRightX打开最后一个关闭的标签页lastClosedTabt:tabnew:tabnewT:tabnew :tabnew @%O:open :open @%%switch to tab goToTabH, S回去goBackL, D前进goForwardB搜索另一个活动标签:buffer向右移动当前选项卡moveTabRight]]点击页面上的“下一个”链接(请参见上面的nextmatchpattern)nextMatchPattern[[点击页面上的“后退”链接(请参见上面的“ matchpattern”)previousMatchPatterngp固定/取消固定当前标签页pinTab在上次使用的标签之间切换焦点lastUsedTab查找模式n下一个搜索结果nextSearchResultN以前的搜索结果previousSearchResultv进入视觉/插入符号模式(突出显示当前搜索/选择)toggleVisualModeV从插入符号模式/当前突出显示的搜索进入视线模式toggleVisualLineModeunmapped清除搜索模式突出显示clearSearchHighlightVisual/Caret Mode退出视觉模式到插入符号模式/退出插入符号模式到普通模式v在视觉/插入符号模式之间切换h, j, k, l移动插入符位置/扩展视觉选择y复制当前选择n选择下一个搜索结果N选择上一个搜索结果p在当前标签中打开突出显示的文本P在新标签页中打开突出显示的文本Text boxes将光标移到行首beginningOfLine将光标移到行尾endOfLine删除到行首deleteToBeginning删除到行尾deleteToEnd删除一个字deleteWord删除前一个单词deleteForwardWordunmapped删除一个字符deleteCharunmapped向前删除一个字符deleteForwardChar将光标移回一个字backwardWord将光标向前移动一个字forwardWord将光标向前移动一个字母forwardChar将光标移回一个字母backwardChar将光标向前移动一行forwardLine将光标移回一行backwardLineunmapped选择输入文字 (equivalent to )selectAllunmapped在终端中使用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
关注
打赏
1665243900
查看更多评论
立即登录/注册

微信扫码登录

0.0427s