2021年的夏天,我躺着在沙发上,将笔记本放在我的lap上,我思索再三,如果linux的server是可以使用键盘对系统的控制,那么win是可以的吗,我不指望能够替代所有的操作,只是希望能够实现简单的网页浏览,此时一个浏览器插件出现在我的眼前,它就是vimium。至于后面我的Rstudio和pycharm、vscode转向vim的编辑操作此文暂且不表。
vimium是基于vim操作的浏览器插件,目的是为了摆脱鼠标的依赖,提高浏览器的阅读效率。目前此插件已经支持火狐浏览器
以下为vimium的基本操作键位
Navigating history
H : 返回
L : 前进页面
切换和删除和新建 tabs
K, gt : Go one tab right
J, gT : Go one tab left
t : Create new tab
x : Close current tab
X : Restore closed tab
浏览页面的操作,上下左右的操作
? : Show the help dialog
j : Scroll down
k : Scroll up
h : Scroll left
l : Scroll right
gg : Scroll to the top of the page
G : Scroll to the bottom of the page
u, <c-u> : Scroll a half page up
d, <c-d> : Scroll a half page down
<c-f> : Scroll a full page down
<c-b> : Scroll a full page up
f : Open a link in the current tab
F : Open a link in a new tab
o : Open URL, bookmark, or history entry
O : Open URL, bookmark, or history entry in a new tab
r : Reload the page
gs : View page source
/ : Enter find mode
n : Cycle forward to the next find match
N : Cycle backward to the previous find match
yy : Copy the current URL to the clipboard
gf : Cycle focus to the next frame
i : Enter insert mode
由于一直以来的都是文本编辑,对于这类型的文章表述还是适合视频展示,但是我没空,这里展示一张图片来展示对于连接的鼠标模仿点击
对于图中任何的连接地址都可以按键相应的字母来进行跳转。
对于不同的标签切换,只需要使用K和J进行切换。
页面的滑动可以使用j和k进行
这个我还真不知道怎么表述这个插件,它的优点,只有使用之后才能领会,同时需要一定的时间学习和习惯。