Tag Info

Hot answers tagged

23

I am the project founder and still main developer of Vimperator. I have summarized my own perceived differences between the two projects here: http://code.google.com/p/vimperator-labs/wiki/VimperatorVsPentadactyl Please read the whole page, but if you really need a short summary, because you just wasted time fighting Pentadactyl's complexity ;), here it ...


20

I'm surprised there wasn't a more accurate answer given to this question. The chosen answer's plugin link solved the OP's issue, but no one actually explained how to paste something into a text field without using the passthrough (C-v) mode. If you are in a text field in INSERT mode and would like to paste something, the obvious thing to do in vi-land is ...


18

Maybe the FAQ section on the page you linked to could be helpful, in particular http://dactyl.sourceforge.net/pentadactyl/faq#faq-differences and http://dactyl.sourceforge.net/pentadactyl/faq#faq-fork . The main difference is that Vimperator's most active developers have moved on to Pentadactyl. More qualitative changes may be found in the change log, ...


12

Right now, vimperator remaps both Ctrl+C (from 'copy' to 'cancel') and Ctrl+V (from 'paste' to 'pass-through'). On Linux, the preferred method of copy/paste is with the middle mouse button, so this is not a problem. On Windows, this is a user-interface disaster and it badly needs to be fixed. There are three places you might copy from: text from a Web ...


12

The best and easiest thing that you can do is to remap the keys. It's not hard. Put this into your _vimperatorrc (or .vimperatorrc in Linux) noremap <C-c> <C-v><C-c> noremap <C-v> <C-v><C-v> <C-v> is by default mapped to "Pass next" mode, which means that next key you press is sent directly to Firefox, without ...


11

I can not say anything about the politics behind both projects, but here is what I think/have found out about both the projects: Development Activity: Both projects have pretty much same amount of commits in last couple of months. As for quality and impact of each commit, I can't say much without checking the code, but from commit messages it seems to be ...


11

I'm using Pentadactyl, which is a fork of Vimperator, but I think it's exactly the same on this particular issue. Anyway, you can use the :highlight command (see :help highlight) to add any CSS to the Hint group, like this: :highlight Hint font-size:200%;color:white;background-color:red;padding:2px; (Or put the same in your .vimperatorrc to make it ...


10

You can load additions to your ~/.vimperatorrc with :source ~/.vimperatorrc Note if you removed some setting from your configuration file, after sourcing the new file the old option settings will still be in place if they are not overwritten with some new setting, since basically :source just runs the configuration file as if you would enter them at the ...


9

Firstly, awesome job figuring out wildoptions That said, I'd just add that if you just hit o or t it should take you to the command box with the pre-filled command :open or :tabopen respectively. You could type some text and hit Tab to look at auto-complete options for that text. Also if you ever want to see your search bar for whatever reason: :set ...


7

You can continue to use lynx for this. To change the key bindings, open up lynx, hit 'o' for options, and change the option VI keys[sic](under the third section) to ON. [kevin@home-box ~]$ lynx --version Lynx Version 2.8.5rel.1 (04 Feb 2004) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.8e-fips-rhel5 Built on linux-gnu Oct 27 2008 15:54:32 [copyright info ...


7

The hintchars variable determines which characters are used for hints. By default, it's set to 0123456789, but you can change it to whatever characters you like. Enter this: :set hintchars=hjklasdfgyuiopqwertnmzxcvb The characters are used in the defined order. See this question on changing the hint's appereance: How to make Vimperator's ...


6

I believe you need to add your function on the userContext, rather than on dactyl. e.g. javascript <<EOF userContext.searchWikis = function (selection) { commands.execute("tabopen http://www.scholarpedia.org/wiki/index.php?title=Special:Search&search=" + selection); commands.execute("tabopen ...


6

If you use google bookmarks as online bookmarks storage service then gmarks is fundamental. With the following mapping in your .vimperatorrc file: map gb :emenu GMarks.Add/Edit Bookmark<CR> pressing gb opens the add/edit bookmark dialog of the gmarks addon, where you can set the title, labels and notes of the bookmark. The :emenu command can be ...


5

I knew :open behaves essentially like a google search box, but what bothered me was the absence of the auto-suggestions list. Well, it turns out that set wildoptions=auto turns it on, so with that in mind, here's my workaround: set wildoptions=auto noremap <C-k> :open inoremap <C-k> <Esc>:open cnoremap <C-k> <Esc>:open


5

Private browsing mode on Firefox is initiated with CtrlShiftP. When using vimperator, the key i can be used to instruct vimperator to ignore the next key press and to pass it directly along to the browser. Thus to achieve what you asked, press i CtrlShiftP. Note, that i only ignores the key press that directly follows. If you want vimperator to ignore ...


4

EDIT: You need to use this command :set defsearch=[search engine name] and not the one I suggested earlier. Enter :dialog searchengines and a a Dialogue box will pop up with a list of available search engines. Select the one you want and press Okay.


4

Press Ctrl + Shift + J to open the console. Enter the following into the console and press Enter: document.body.contentEditable=true Now you get a cursor and can even edit the whole page.


3

First you would need to output the filename and paths of the files that contain the matched text your looking for: ack -ail "my text" a = all files i = insensitive case l = output only filesname paths You combine that line with the following shell expansion script: vim -O $(ack -ial "my text") O = open files in a split window view. The output will be ...


3

With vimperator enabled, typing i+CTRL+f will bring up the find bar. And it's also easy to close it. Try this command: :js document.getElementById("FindToolbar").close(); Or create a map: (Add the bellow lines to '~/.vimperatorrc') noremap <c-s-f> :js document.getElementById("FindToolbar").close();<cr> inoremap <c-s-f> <esc>:js ...


3

This is a related message from mailing list. Shortly: you can place it in "C:\Documents and Settings\[user name]" for WinXP or "C:\Users\[user name]" for Vista and it should work. It is not created automatically so you'll probably need to create it by yourself. It is named exactly ".vimperatorrc": notice the starting dot and absence of file extension.


3

I'm also not sure what you want. However this may be helpful: Create a bookmark. The location should be something like http://gigapedia.info/google?cx=partner-pub-0811008802470909:3vu8gy-n059&cof=FORID:10&ie=UTF-8&q=c%s&sa=Search&siteurl=gigapedia.info/ The %s will be replaced by what you type after the keyword. Set the keyword to ...


3

Here's the link to the relevant Vimperator documentation page, which explains it pretty well: http://vimperator.org/help/vimperator/map.xhtml Keys can be mapped in four distinct modes: Normal mode: When browsing normally Visual mode: When selecting text with the cursor keys Insert mode: When interacting with text fields on a website ...


3

Maybe this could help: :inoremap <C-a> <Ins><C-a><Ins> via http://code.google.com/p/vimperator-labs/issues/detail?id=578#c3 About inoremap - http://vimperator.org/help/vimperator/map.xhtml


3

Firefox on Mac OS X uses the ctrl key as the Access Key by default, which causes the to be consumed before it reaches any other plugins. To fix, edit the value of ui.key.contentAccess in about:config. By default in OS X, the value is 2, which corresponds to the bitfield for using the ctrl key as Access Key for the content area (as opposed to chrome area). ...


2

To use vim through gnome-terminal v3.4.1.1, I had to tell gnome-terminal to not fork a process but block: In ~/.vimperatorrc: :set editor="gnome-terminal --disable-factory -x vim" or better yet, to have your ~/.bashrc loaded (e.g. in case it conditionally sets TERM or other environment) before launching vim, and to pass some setup commands to vim (e.g. a ...


2

Wondering what "hit-a-hint" meant, I ran across HaH. Maybe that does what you call "hit-a-hint"? Pressing a specified button will activate a HaH-mode (Hit-a-Hint), which means that all "clickable" elements in the area will get a hovering hint over them. This hint has a number, and when that number is entered, the corresponing element is to be "clicked". ...


2

I did not experience the "Every second page title missing" part in my firefox (are you using some older version?). But the "leaving page title" part is same as you. It is understandable why this happen: this LocationChange event get fired as soon as you change the location, so it just get the current document title (which become leaving document for us!). ...


2

You can launch this using the dialog command: :dialog bookmarks Once you have typed dialog you should be shown a list of options that you can type. To find out more you could do :help :dialog Don't forget that you can always show the menu and select stuff the old way. :set go+=m go is short for guioptions and m is for menu.


2

You can read about closing tabs in Vimperator in the Vimperator's help file. As it comes to the actual question, I don't think you can do exactly that - with that specific syntax, at least. However, to close tabs 3 through 5 is possible with 3gt 3d. So, first you have to change to the first tab to be closed and do some math yourself (how many tabs you want ...



Only top voted, non community-wiki answers of a minimum length are eligible