如果说程序猿经常使用的工具,不同种类的猿有不同的回答,引擎或者IDE,品种繁多,数不胜数。
但是,浏览器作为一个周边工具,我觉得任何程序猿都会用到吧。当然主流浏览器也是各种各样,从谷歌到火狐,到Safari,到IE。至于不主流的,那就更不用说了。
至于用什么浏览器,那是每个人的习惯,至于我,windows也好OS也罢,都是火狐+谷歌。也没什么别的原因,一个是用习惯了,再一个就是对别的看不上眼。
最近一段时间以来,随着水平的提高,手速明显跟不上脑速了。脑子想到了,手还在拖鼠标...
鼠标,对我来说,一点都不方便,太拖节奏了...
我所追求的是双手不离键盘!
那么问题来了,好的IDE可以废弃鼠标,那么好的浏览器也可以废弃鼠标吗?
可以的!
这就是GoogleChrome+Vimium
说了一大堆废话,先来看看Vimium的快捷键:
Modifier keys are specified as <c-x>, <m-x>, <a-x> for ctrl+x, meta+x, and alt+x respectively. Navigating the current page: ? show the help dialog for a list of all available keys h scroll left j scroll down k scroll up l scroll right gg scroll to top of the page G scroll to bottom of the page d scroll down half a page u scroll up half a page f open a link in the current tab F open a link in a new tab r reload gs view source i enter insert mode -- all commands will be ignored until you hit esc to exit yy copy the current url to the clipboard yf copy a link url to the clipboard gf cycle forward to the next frame Navigating to new pages: o Open URL, bookmark, or history entry O Open URL, bookmark, history entry in a new tab b Open bookmark B Open bookmark in a new tab Using find: / enter find mode -- type your search query and hit enter to search or esc to cancel n cycle forward to the next find match N cycle backward to the previous find match Navigating your history: H go back in history L go forward in history Manipulating tabs: J, gT go one tab left K, gt go one tab right g0 go to the first tab g$ go to the last tab t create tab x close current tab X restore closed tab (i.e. unwind the 'x' command) T search through your open tabs Additional advanced browsing commands: ]] Follow the link labeled 'next' or '>'. Helpful for browsing paginated sites. [[ Follow the link labeled 'previous' or '<'. Helpful for browsing paginated sites. <a-f> open multiple links in a new tab gi focus the first (or n-th) text input box on the page gu go up one level in the URL hierarchy Vimium supports command repetition so, for example, hitting '5t' will open 5 tabs in rapid succession. ESC (or <c-[>) will clear any partial commands in the queue and will also exit insert and find modes. 1.59 (2017-04-07)
不禁感慨,离彻底放弃鼠标的日子又近了!
但是,有些网页很蛋疼,比如CSDN的博客列表页面,右上角管理博客的三个链接,是要先打开组件的,否则按f进行标记是找不到的...这时候只能靠鼠标了...