k2nr / vichrome Goto Github PK
View Code? Open in Web Editor NEWvi like key binds for Google Chrome
vi like key binds for Google Chrome
I would suggest wait a while every time user have typed a character for the next one before making actual searching.
現在C-F(PageDown)すると, window.innerHeight
だけスクロールするようになっています.
しかし, PgDnキーはそんなにスクロールしません.
スクロールの差分を小さくしていただけないでしょうか.
一番の弊害は, 固定ヘッダーのあるサイト(はてブやtwitter)で, :PageDownすると完全に見えない部分が出ることです.
maybe its just me but in every web browser I use, I'm used to Ctrl+l (thats lowercase L) bringing me directly to the URL bar.
It drove me crazy having this bound to next tab.
Can we please leave C-l / C-h alone and use gt and gT respectively ?
Thank you!
gp
to pop out the tab to the new win:
extremely challenging...
:SearchText [text]
to search [text]
directly
Hi,
can ask u ,how to use command mode add a new "alias" ?
(now, i only use vichrome's keymapping / alias setting editor add a new alias )
Hi when using GMail, the '#' key is not functioning as expected. GMail is set as an ignored URL as per the default.
Any ideas?
When on a select field such as a drop down for Province
If I press 'b' it brings up the bookmarks vichrome prompt but it should select British Columbia in the select box
I can't disable F5 key map in default.
pagecmd http*://* nmap <F5> <Nop>
Please, add a button to the toolbar for quick enabling/disabling extension.
since <> is used to specify describe special feature keys for instance , .
it's difficult to use as valid key sequence.
This is the killer feature of vimperator that keeps me in firefox. If you added this, I'd switch in a heartbeat.
In vimperator you go into a text area or text input and hit Ctrl-I, and it launches you into a (g)vim with the same content. You then hit :x in vim, and you're back in the browser with the new edited content replacing whatever was in the text area before.
Incredibly handy for big text editing on web page forms.
e.g.
ctrl-D in vichrome's default key binding is enabled in not only normal mode but insert mode. and chrome's key binding(delete char) is disabled even though actually ctrl-D is not assigned by vichrome for insert mode
When I open up a tab it starts with the chrome internal page that shows a dashboard of my most visted webpages and the bookmarks bar. None of the ViChrome keybindings work on this page. Same thing happens on other internal pages such as: chrome://settings/browser, or chrome://settings/extensions for example.
How to use multiple arguments with Copy command at alias?
for example.
alias copylink Copy '%title %url'
In clipboard, result of ":copylink" on http://google.com/ :
'Google
Oh..... I feel sad > <;;;;;
expected in clipboard:
Google http://www.google.co.jp/
if I do'nt use alias, it's no problem. like below
nmap yy :Copy '%title %url'
ニコ動やニコ生のコメント投稿欄など, Flashを使った入力ボックスで, 文字が入力できません.
コメントしようとしても, キー入力を全てViChromeに取られてしまいます.
// 例えばvromeだと"Temporarily ignore all Vrome key bindings"という機能があります.
// ご参考に.
あと些細な事ですが, Command Box Widthを200pxとか300pxに設定すると, Command Boxが見えなくなります.
div#vichromemodecharが上がってずれてる感じがします
inputが固定長だからなのかな...
This is a request, rather than a bug, but the ONLY thing I miss about Vimium is its ']]'/'[[' shortcuts to automatically click through Next/Previous or >/< links. F-mode comes close, but the Vimium behaviour is just that little bit faster for a very common action.
First, I do
nmap
Then I do
nmap /
But it doesn't work. Does your plugin support this requirement? Thanks
currently all keys that is potentially vichrome's handlable key do not provagate to chrome default action. and even when the keys aren't valid key sequence the default key bindings disabled.
I have trouble in using vichrome in sina weibo
http://autotelicum.github.com/Smooth-CoffeeScript/Smooth%20CoffeeScript%20Web%20Optimized.pdf
を表示させて、ページ部分をクリックすると、GoEmergencyModeを実行したときと同じように
「Emergency Mode: to escape」が表示されてしまいます。
PDFをスクロールさせると、この表示が残ったままスクロールされます。
環境: Mac OS X 10.6.8, Chrome 15.0.874.120, Vichrome 0.7.0
便利に使用させております。ありがとうございます!
gf : ViewSourceCode
I love this feature in vimperator
Typing '/' doesn't enter GoSearchModeForward, it enters GoSearchModeBackward.
GoSearchModeBackward is broken, i.e. it doesn't show the number of results nor is it possible to navigate results using 'n' and 'N' keys.
As the title goes, I sometimes find ViChrome get down and every key mappings of ViChrome are disabled. When it happens, I have to open the extensions page and once make it disabled, and restart it again.
see http://twitpic.com/8n7jlk http://twitpic.com/8n7jsl
on Google Chrome 17, Ubuntu
Command Box can't be completed display in some web-site sometimes
e.g. plus.google.com
but vrome and vimium can display normally
first thanks vichrome is the best vim thing i have found for chromium.
when going to a new tab I have to type in the http. rather not. here is the patch file data for mode.coffee to add an option to tabopennew and open with -u flag to open http auto by typing or by mapping.
am a nub at coffeescript/submitting patches and probably a number of other things. i apologize if i offend.
manifest.json mode.js modejs.old model.js
modecoffee.patch modejs.new modejs.patch
[inkling@atreyu k2nr-ViChrome-f984147]$ cat modecoffee.patch
*** coffee/mode.coffee 2011-12-21 14:29:28.839894850 -0500
--- coffee/modecoffee.old 2011-12-21 13:59:28.092983666 -0500
*** 24,34 ****
sources = [
{ class : "CandSourceGoogleSuggest" }
]
-
else if opt.eurl
-
baseCom += " u"
-
dscr += " URL"
-
sources = [
-
]
else
sources = [
{ class: "CandSourceGoogleSuggest", num: 3, reqPrefix: true }
--- 24,29 ----
*** 48,54 ****
when "-w" then web = true
when "-h" then history = true
when "-g","g" then search = true
-
when "-u","u" then eurl = true
else urls.push arg
if interactive or bookmark or history or web
--- 43,48 ----
*** 57,63 ****
history : history
web : web
search : search
-
eurl : eurl
com = "Open" + urls.join(' ')
@enterInteractiveOpen( com, opt )
else if search
--- 51,56 ----
*** 67,80 ****
url = "http://" + g.model.getSetting("searchEngine") + "/search?gcx=c&sourceid=chrome&ie=UTF-8&q=" + word + "&qscrl=1"
g.view.open( url, "_self" )
-
else if eurl
-
word = ""
-
word += "+" + encodeURIComponent(i) for i in urls
- word = word.substr(1)
-
url = "http://" + word
- g.view.open( url, "_self" )
else
g.view.open( urls[0], "_self" )
--- 60,65 ----
*** 88,94 ****
when "-w" then web = true
when "-h" then history = true
when "-g","g" then search = true
-
when "-u","u" then eurl = true
else words.push arg
if interactive or bookmark or history or web
--- 73,78 ----
*** 97,103 ****
history : history
web : web
search : search
-
eurl : eurl
com = "OpenNewTab " + words.join(' ')
@enterInteractiveOpen( com, opt )
else if search
--- 81,86 ----
*** 109,123 ****
urls = []
urls.push url
chrome.extension.sendRequest {command : "TabOpenNew", args : urls, times : times}, g.handler.onCommandResponse
-
else if eurl
-
word = ""
-
word += "+" + encodeURIComponent(i) for i in words
- word = word.substr(1)
-
url = "http://" + word
-
urls = []
-
urls.push url
-
chrome.extension.sendRequest {command : "TabOpenNew", args : urls, times : times}, g.handler.onCommandResponse
else
chrome.extension.sendRequest {command : "TabOpenNew", args : words, times : times}, g.handler.onCommandResponse
--- 92,97 ----
regular expressions to surpress vichrome
ViChrome は、コンテンツ内に、要素を作ってコマンドラインを生成しているので、ちょっとした工夫で任意のページを開かせたりできます。
簡単な例を作ってみました。
http://snca.net/vichrome.html
このページで、ViChrome のコマンドラインを使ってなにかしようとすると、入力に関わらず特定のサイトにとばされます。
TabFocusNext and TabFocusPrev are tripped up by chrome:// and chrome-extension:// pages. I understand that it might be non-trivial for ViChrome to fully support these "special" pages, but if possible it would be nice to at least be able to cycle through such tabs vi-style. Particularly since new users are highly likely to have the ViChrome options and/or Chrome extensions pages open while first playing around with this extension, and ViChrome does not play nicely with those tabs. Also if you use the New Tab page, then you can't use 'x' to immediately delete a new tab without first navigating away from the New Tab page.
When I accidentally close a window I would like to be able to restore those tabs with by pressing 'u'.
For example, when 'x' is pressed, remove all tags but those start with 'x'.
I guess it would be useful when there are lots of f-mode tags on the page.
ソーシャルボタンがf-modeでリンクにならないです
例えば http://design-spice.com/2011/08/09/social-button/ とかソーシャルボタンがいっぱい並んでいますが, evernoteとtumblrしかリンクにならないです.
iframeの臭いが...
does vichrome.isEditable return valid value for all html elements? including new html5 elements?
check all the elements if the elements editable or not.
back and forward history has gone, when 'undo' tab
Steps to reproduce:
Now the whole page should be stuck.
I took a look at the source code (again! yay!), found the issue actually comes from this line:
@scrollee = $(e.target).closest(":scrollable").get(0)
I don't know what :scrollable
is; google doesn't give me an answer neither. But calling
document.body.webkitMatchesSelector(':scrollable')
on any page should always give you a "DOM Exception 12".
I tried to fix it, but don't know how to implement the functionality without the mysterious :scrollable
(Seriously, what is it?). So now it's your turn, good luck...
:Open escapes specified argument, but :TabOpenNew doesn't
For example
:Open g C# Framework => www.google.com/search?...&q=C%23+Framework
:TabOpenNew g C# Framework => www.google.com/search?...&q=C#+Framework
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.