should be said, Vimperator is a good idea of the business for Firefox and plug-ins. It put a lot of vim to the operation of portable Firefox on my contact with vim for people who are very fresh soon.
simple terms, it makes Firefox into a different attendant pressed the wrong key is not to question.
you ever wondered why there are 104 keys on the keyboard (desktop) or 87 keys (laptop), but only when you're typing to make the best use, and control (for example) Firefox when it comes to may also press the two keys (Ctrl, Alt, Shift ...). More keystrokes can not be exchanged but higher operating speed, which is not very depressing it?
Vimperator first of all put the user's hand again from the mouse, the glass next to the chin back to the keyboard for typing position, because,
ralph lauren shirts, as done by the same vim, hjkl mobile method is the more direct and rapid. When your focus is not in the address bar, search bar, command bar, where the input box, etc. (in other words,
ralph lauren womens dresses, in normal mode) when, h for the left, j for down, k for the Move , l for the right. Frankly speaking, I heard through the google reader for the first time this control (and skilled), and then I was the classic vi key bit.
this way, and the direct use of four arrow up and down there a difference? Yes. If you press 20j, Firefox will be down 20 units. Command to control the use of digital with the number of repeat orders is a major feature of vim. Of course, to keep page by 20j apparently uneconomical, PageUp and PageDown easier to use, but PgUp and PgDn do not hand side,
ralph lauren online, how do? Vimperator gives us Ctrl + u and Ctrl + d can be used, one for each half-page Up and Down half a page. But honestly, that key Ye Hao by not much. It does not matter, we can do the keyboard mapping, to map them to the J and K (Shift + ..) above. Just type
: map J (carriage return)
: map K (carriage return)
here a vim universal colon, and its representatives to the control mode occurs, we began to Firefox orders, use Esc key to exit the control mode. Content is very clear that the J / K to a map into Ctrl-d/Ctrl-u. I will map this:
: map H gT (carriage return)
: map L gt (carriage return)
h and l do not move around? H and L in fact has the function of backward and forward, and that this gt and gT ... ... is the conversion tab common than the former for me to some. gt said the next tab, gT that the previous tab. This use of Shift + h / l, is naturally too lazy to click with the mouse moved over, previously used to open the Ctrl + PgUp / PgDn also seemed a little not effortless. But the mouse wheel and vertical scroll bars do not beat hjkl move? A long page, with J and K is not the answer, with figures with the J / K is often difficult to grasp the scale of numbers, then use the gg is the most suitable. Gg is the equivalent of an ordinary Home, Back to the top; only the equivalent of an ordinary G End, go to page end. When coupled with digital, 20gg 20% to indicate that the page where, if you noticed when browsing the web below xx%, then jump around in a long article, is only a matter blink of an eye, if the event of a major chapter text, vertical scroll bar is not yet to be defeated?
this to say, 3gt and 3gT also have a similar effect?? Note, 3gT indeed roll forward the three tabs, but that's it 3gt is the third tab. Of course, sometimes it is also useful, if you notice bottom of the page [x / yy], then the tab is the moment to jump things. Plus g0, go to the first tab; g $, go to the last tab; Ctrl +6, go to the previous tab, the user will be more handy.
said so much, they do not have the link point, should have such a big flaw Vimperator? Of course not,
ralph lauren polo, just press f, the link will become all visible yellow background, while figures prompt appears, type the number on the point of a link, but make a distinction in from 10,11,
ralph lauren polos,12, according to a carriage return . Ah this is not convenient, but you can press the f key points after the link you tried to type the first few letters of a sudden you can choose the project a lot less convenient for this function'd link English link but no good for Chinese. If you find, oh wrong, to open in a new tab, Oh how backward? In addition, said before the H / L to back / forward, you can also use Ctrl + o to back, with the Ctrl + i to move forward, coupled with the previous figure is also possible oh. And in a new tab open, you simply press the F (Shift + f) instead of f, similar.
hope you just look at all the way down, not sent for loading, or is likely to be Vimperatorized scared, Firefox's new face: no menu bar, no address bar, no bookmarks bar, the bottom of the black and white more two lines of things. In fact, you can easily put menubar, navigation bar, bookmark bar to come back, or universal colon
: set go + = mTb (carriage return)
this way, go (GUIoptions shorthand) parameters in more mTb to three (+ = is the wind Gerhard C). What do not understand, everything will use a colon: help assist you, such as: help d. d is a simple and commonly used commands, close the current tab page, you do not use the mouse to find the red cross, and do not need to use Ctrl + w a. Figures are very close with the d, you can close tabs from the back counting the number of tabs. Off wrong, Vimperator u also provided a key to undo. Is also a key, r key to refresh, / button to start full-text search. The default is an incremental search Vimperator, that is, while you type the keyword search results for Firefox has already begun to show it to you, then enter the text in line with the wording will have a yellow background, just a button to skip to the next n local search to keywords, N is the last one. Want to remove the yellow highlight it? Simply use the Universal colon
: set nohls (carriage return)
nohls on behalf of no highlight search, simple as that.
But how to open page? Why have not mentioned? That is because even the way I feel spoiled Vimperator Firefox's Awesome Bar. o key can take you to the command bar: open the back, type the url address to open the Web page; t key to take you to the command bar: tabopen behind, type the url address to open in a new tab in the page . Although there are also intelligent matching by default, such as: open xiaonei (Tab key) will appear a list of URLs, and then use the Tab and Shift + Tab Select, Enter to open, but compared to Firefox's address bar itself, or slightly worse. The only commendable, you can type the keyword here, calling the search engine (the default google) to open a new tab or search for this page. This saves Ctrl + t, Ctrl + k, type the keyword, Enter the martial arts, but also easy to look at the current page of the text to appropriate keywords. More humane, if you set a good search engine's keyword (click on the search engine bar tab - I would use
: tabopen wkcn supercooled liquid
: tabopen wken supercooling
: tabopen wkfr surfusion
to open the same phenomenon in Chinese, English, French Wikipedia (sorry, Chinese do not have this entry ... ...), anyway, than the previous Ctrl + t,
ralph lauren polo shirt, Ctrl + k, Ctrl + �� (choose search engines) is fast more.
Related to this there is another more useful (but usually easy to press the wrong key) of the p key function is to direct the contents of the clipboard as a url address or search for keywords on the current page open in a new order Open the tab, use the P key. For people who are not accustomed to vim operation, when a big question arises: are used to the Ctrl + c, Ctrl + v and Vimperator conflict, vim's Yank on the novice is still very strange. Vimperator that Ctrl + c is used to stop the page load (vim the ctrl + c also seems to be used to interrupt the operation of all outstanding), said that Ctrl + v is used to pass through a key (that is, the next Keys will be handled by the Firefox themselves), there is Ctrl + z similar to entering the pass through mode (Vimperator not the reaction of your keys, unless the use Esc to exit this mode.) In short, let Vimperator Of course, smart people are not so dry, but
: noremap
Why noremap not map? Because if Vimperator to the back and replaced with Ctrl + c Ctrl + v, Ctrl + c, it goes on it not never end? I have personally tried this loop led to the collapse of the Firefox ... ... it is not enough
: cnoremap
: inoremap
This can
control mode (when you type the command) and insert mode (when in the text box) Ctrl + c under the use of restoration. Similarly, for the Ctrl + v. Be like this, Esc to return to normal mode has been, must have a key to stop the page load, right? You find a key to map on the line. Then think carefully, do people with Vimperator never use copy and paste? No, just vim call it the yank (the recall) only, Y button (Shift + y) to connect to the selected text into the clipboard for easy p key to paste. But wait, we can not use a mouse to highlight the selected text? It can, because there are caret mode. Press i button, the effect is equivalent to F7, a cursor will appear in web pages, and so move to accept our hjkl command. Then press the v key to enter the visual mode, then move the cursor to begin selecting text. Esc to leave the caret mode can be used or F7.
at the end of this column, there are at least talk about the buffer, in fact, is Vimperator another name for the tab page, from the vim call for multi-file operations. Type B, you get all the tabs are now the title and address, marked with a% is the current tab, a # sign is a label on the page. Type b, you will appear in the command bar: buffer! Behind, you can type the title or the url of the text has reached a certain tab, such as using: buffer! Xiaonei to return to campus home has been opened. If Vimperator did not find the right (for example a few pages to meet the requirements), you can skip to the next through the gb to meet the conditions tab.
equally well with the command also gi, jump to last used in the text box, this feature can easily search, modify, adapt keywords. gf used to view the source code. There are intelligent]] and [[, Vimperator will find a page of the form next,>>, previous, $,^(> >|?)$,^(>|?),(>|?)$, bmore b
: set previouspattern = s * previous | previous | previous page s *, bprev | previous b ,^
map
map
map J
noremap K
map H gT
map L gt
noremap j 3j
noremap k 3k
noremap I
noremap O
noremap
noremap
noremap
noremap
cnoremap
cnoremap
cnoremap
inoremap
inoremap
inoremap
inoremap
inoremap
inoremap
bnext b ,^>$,^(>>|>>|?)$,^(>|?),(>|?)$, bmore b
set previouspattern = s * Previous | Previous | Previous s *, bprev | previous b ,^<$,^(<<|<<|?)$,^(< ;|?),(<|?)$
. URL)
set! javascript.enabled = true
source! ~ / _vimperatorrc.local
The map used here
, the key role is to scrap it. PassThrough gmail and greader is such an effect: When reach the gmail / greader PassThrough automatically when the page mode, so that gmail / greader capture shortcut keys and not to Vimperator block down. Autocommand function used here, when LocationChange incident, when the url to satisfy the regular expression .* (that is, regardless of any web site), call the javascript to change parameters modes.passAllKeys, to a value of true / false, with the latter based on regular expression to test buffer.URL variables. Javascript here, how come? Yes, you can try
: js alert (
You can also use:! to call the command line, such as (in this example is relatively new to the Windows users)
:! mspaint
:! ping 127.0.0.1
My command is a configuration file using a custom command Vimperator functions are defined noimg command and ysimg command. If you know: set! Firefox itself is used to modify settings (see about
: config), then the role of these two commands to ready to come out: Executive: noimg and: ysimg can order separately whether Firefox open a Web page to load images. Older versions of Firefox should be adjusted network.image.imageBehavior not permissions.default.image, but the value should be 1 and 0. In this regard, Vimperator itself more thoroughly with a fancy CSS to disable the parameters of the implementation
: set um
can enter usermode, equivalent to View -> Page Style -> no style effect, only the advantage of faster keyboard. Exit usermode only: set noum
addition, Vimperator in the control mode can also zoom in, zoom out, quickly jump to take advantage of QuickMarks tab, to record keyboard macro (Macro), of course, the relatively basic Save Link As, Copy Link Location, Copy link text, and so different from the f function.
As mentioned in the text noimg, ysimg, nojs, ysjs several autocmd, I had a key aim is to use (such as F12, etc.) to toggle, but the technology is not refined, not able to do, mainly in addition to set! I do not know what method to change the firefox preferences.
So far this article can be said that the experience Vimperator I know it.