Vim in Firefox)

Source: Internet
Author: User

From: http://www.pizn.net/19-03-2011/vim-in-firefox/

After programming, you may get used to manipulating any one-key on the keyboard to meet our needs. For example, you can use ESC to switch the command mode and insert mode. When I want to become a Vim controller, I hope that when I browse the Web page, I can only use the keyboard to go all over the world. So, today I want to introduceFirefoxVim --Vimperator.

Users' operation habits affect the development of software. When we useVim

VimperatorJustFirefoxIt is easy to install. In Firefox 4.0 Beta, additional compatibility plug-ins are required.

How to obtain vimperator?

1. Choose Firefox (3.6)> menu> Tools> additional components> Search for vimperator> install.

2. Download vimperator lab from the official website.

3. Download the Firefox additional component vimperator from the Firefox plug-in network.

Normally, you need to restart firefox after installation. After enabling Firefox again, your Firefox may have become vim-like.

The following describes some common commands and knowledge.

1. Use the ESC key to switch vimperator mode, including command mode and insert mode. The command mode is the input command, and the insert mode is the entry/exit text information. To insert text, use ":" (colon ).

2. Common command modes:
In command mode, H "Key to the left," J "Key down," K "Key up," L "Key to the right
In command mode, F "Key to display the current screen link, and then open a new link through a combination of numbers or letters
In command mode, Gg "To the page header," G "To the bottom of the page
: O : Open a new link on the current page, for example: O www.pizn.net
: T : Open a link on the new page, for example, T www.pizn.net.
: W : Open a link in a new window, for example, W www.pizn.net.
: T + Tab : Use the tab to select related links, for example, T pizn + TAB.
: Set Go + = MTB : Open the Firefox toolbar.
: Set Go-= MTB : Disable Firefox Toolbar
On Firefox 4.0, there is no go command, so you need to call GUI to open the browser toolbar and so on. You can select several parameters.
: Help : Output help document
3. Through more commands, you can also view the source file of the web page and call the Firefox plug-in. I will not go into details about the details, just a few images.

In command mode, press "F" to display the following results:

Click the tab key to open the link:

Run echo content-document to view the document on the page:

Input: Echo Javascript. Input JS:

some people are used to using the Chrome browser. In the Chrome browser, some people have developed chrome-based Vim called vimium, I don't think vimperator is powerful, but it is basically used. The command is basically the same. As a chrome user, you can access here View.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.