Giter Club home page Giter Club logo

vichrome's Introduction

vichrome's People

Contributors

bernardobarreto avatar djjcast avatar k2nr avatar ku1ik avatar wecing avatar yuku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vichrome's Issues

PageDown scrolls too big

現在C-F(PageDown)すると, window.innerHeightだけスクロールするようになっています.
しかし, PgDnキーはそんなにスクロールしません.
スクロールの差分を小さくしていただけないでしょうか.

一番の弊害は, 固定ヘッダーのあるサイト(はてブやtwitter)で, :PageDownすると完全に見えない部分が出ることです.

Please remove <C-l> keybind

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!

Ignore Vichrome when on a select field

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

[Feature] Allow text-areas to be edited by (g)vim

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.

ctrl-[some key] is enabled with insert mode

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

doesn't work on internal chrome pages (settings, extensions, etc)

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.

about multiple arguments for alias

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の入力ボックスで文字が入力できなくなる

ニコ動やニコ生のコメント投稿欄など, Flashを使った入力ボックスで, 文字が入力できません.
コメントしようとしても, キー入力を全てViChromeに取られてしまいます.

// 例えばvromeだと"Temporarily ignore all Vrome key bindings"という機能があります.
// ご参考に.

あと些細な事ですが, Command Box Widthを200pxとか300pxに設定すると, Command Boxが見えなくなります.
div#vichromemodecharが上がってずれてる感じがします
inputが固定長だからなのかな...

Next or previous page

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.

PDF表示をクリックすると「Emergency Mode: <C-ESC> to escape」と表示される

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
便利に使用させております。ありがとうございます!

[Feature] :gf

gf : ViewSourceCode

I love this feature in vimperator

Reversing hint string under f-mode

Suppose when you are browsing a forum; after reading the current page, you want to load the next page.
screen shot 2013-05-07 at 8 34 12 pm

So you opened the glorious f-mode! BOOM!
screen shot 2013-05-07 at 8 34 27 pm

(sad...)
screen shot 2013-05-07 at 8 38 06 pm


So... I wrote this patch:
screen shot 2013-05-07 at 8 34 50 pm

And yes!
screen shot 2013-05-07 at 8 34 58 pm

GoSearchModeForward not accessible from '/' key

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.

have to put in http:// to go to url

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 ----

[Security] コンテンツ側から、ViChrome を操作できる。

ViChrome は、コンテンツ内に、要素を作ってコマンドラインを生成しているので、ちょっとした工夫で任意のページを開かせたりできます。

簡単な例を作ってみました。
http://snca.net/vichrome.html

このページで、ViChrome のコマンドラインを使ってなにかしようとすると、入力に関わらず特定のサイトにとばされます。

Support TabFocusNext/Prev on chrome:// and chrome-extension:// pages

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.

check editable html elements

does vichrome.isEditable return valid value for all html elements? including new html5 elements?
check all the elements if the elements editable or not.

Page gets stuck when developer tools is open

Steps to reproduce:

  1. open a random site, e.g. google.com
  2. inspect element
  3. after developer tools box is opened, click on the page (anywhere is fine)

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.