Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I view source using Vimium, it disables the Vim commands. Ideally would like to keep the commands active so that I can search the source code using regex and avoid having to switch back to the mouse to close the tab or revert back to chrome commands.

Does anyone know how I can enable the Vim(ium) commands whilst viewing source?

share|improve this question
1  
Related: github.com/philc/vimium/issues/30 –  Hasturkun Apr 9 '13 at 12:08
add comment

migrated from stackoverflow.com Apr 9 '13 at 13:38

This question came from our site for professional and enthusiast programmers.

1 Answer

I use vimium myself, so I was interested in this too.

chrome://flags

Look for "Extensions on chrome:// URLs", enable it. Then click on 'Relaunch Chrome' to apply the change.

This only allows an extension to be used in chrome:// URLs IF the extension requests this permission.

But it's a step in the right direction. I'm not sure if Vimium or Vrome (two nice vim keystroke extensions) ask for this permission. Haven't tried this yet.

And if you changed anything ELSE while you were poking around in the flags... Well, be careful!

EDIT: Tried it with Vrome, still doesn't work. Evidently no one is asking for this permission.

And Chrome complains about the Extensions in Chrome:// URL's being enabled. Bummer.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.