V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mopig
V2EX  ›  分享发现

cVim - Vim for Google Chrome

  •  1
     
  •   mopig · 2014-10-22 21:14:54 +08:00 · 7897 次点击
    这是一个创建于 3479 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://github.com/1995eaton/chromium-vim/

    What is cVim?
    Vim for Google Chrome. I hate using the mouse, especially after learning Vim. With my desktop (Linux), I have a lot of key bindings that make doing things easier: I open Chrome with Alt+w, I close a window with Alt+Shift+d, I open a terminal with Alt+t. This is harder to do with Chrome because it has no section for customizing keyboard shortcuts, and it is still necessary to use the mouse to do things like click links. cVim aims to eliminate this problem as best as the Chrome extensions API will allow it to.

    Where can I get cVim?
    There are two ways:
    You can install it through the Chrome web store
    You can download the .zip file here and enable cVim by going to the chrome://extensions URL and checking developer mode, then pointing Chrome to the unzipped folder via the Load unpacked extensions... button.
    Why is this different than Vimium, ViChrome, or Vrome?
    These extensions do a wonderful job of adding Vim-like keybindings to Google Chrome, but they lack many of the features that Firefox Addon, Pentadactyl, have.
    What features does cVim add to Chrome?
    Google/IMDB/Wikipedia/Amazon/Duckduckgo/Yahoo/Bing search completion
    Support for custom search engines
    History and Bookmark search/completion with bookmark folder support
    Caret/Visual mode
    Efficient link hints (with support for custom mappings)
    Support for custom keyboard mappings
    Regex page search with highlighting
    Command bar with tab-completion
    Smooth scrolling
    22 条回复    2015-05-03 09:27:49 +08:00
    likaci
        1
    likaci  
       2014-10-22 21:17:22 +08:00
    收藏 明天试试
    mopig
        2
    mopig  
    OP
       2014-10-22 21:19:41 +08:00
    主题的可编辑限制时间太短了...(想改下格式都不行了...
    yakiang
        3
    yakiang  
       2014-10-22 21:57:11 +08:00
    可以复制页面上的文字是一直想要的功能
    Owenjia
        4
    Owenjia  
       2014-10-22 22:05:02 +08:00
    看起来不错,用下试试如果能跟 pentadactyl 一样好用就果断投奔 Chrome 了~~
    wzxjohn
        5
    wzxjohn  
       2014-10-22 22:06:10 +08:00
    不是有Vimiun么?
    libo26
        6
    libo26  
       2014-10-22 23:31:01 +08:00
    之前一直在用Vimium,试用了下cVim,感觉比Vimium好用,继续用下看看
    Yannis1990
        7
    Yannis1990  
       2014-10-23 00:00:44 +08:00
    @wzxjohn 这个和firefox的Vimperator 差不多吧
    nicai000
        8
    nicai000  
       2014-10-23 00:18:20 +08:00
    @Yannis1990 cVim等等Chrome上的替代品和Vimperator比都差得多得多, 别闹
    imom0
        9
    imom0  
       2014-10-23 00:20:53 +08:00 via iPhone
    pentadactyl还在维护么?
    Yannis1990
        10
    Yannis1990  
       2014-10-23 00:24:54 +08:00
    @nicai000 你说对了...刚安装了...

    These extensions do a wonderful job of adding Vim-like keybindings to Google Chrome, but they lack many of the features that Firefox Addon, Pentadactyl, have.
    bigzhu
        11
    bigzhu  
       2014-10-23 02:19:39 +08:00 via Android
    所有浏览器的vim插件我都耍过了。

    希望这个更优秀,等天亮了,装一个试试
    TheLamb
        12
    TheLamb  
       2014-10-23 11:34:39 +08:00
    几个vim插件都试过,最后只留下了cvim,确实非常好用
    mopig
        13
    mopig  
    OP
       2014-10-23 11:39:31 +08:00
    @TheLamb 我暂时还没找到哪设置 网站 屏蔽 cVim( 比如: Gmail
    TheLamb
        14
    TheLamb  
       2014-10-23 11:55:19 +08:00
    @mopig 刚才试了下,可以设置的,在「cVimrc」框里输入
    let blacklists = ["http://v2ex.com*"]
    这种貌似就行了
    TheLamb
        15
    TheLamb  
       2014-10-23 11:56:59 +08:00
    @mopig 你点帮助就看到具体的语法说明
    mopig
        16
    mopig  
    OP
       2014-10-23 12:03:48 +08:00
    @TheLamb It works, thx. 之前没找对关键词.
    kavi
        17
    kavi  
       2014-10-24 08:33:01 +08:00
    刚才下载初步用了一下,感觉不错,继续用一段时间看下。
    Owenjia
        18
    Owenjia  
       2014-10-27 15:22:19 +08:00
    kavi
        19
    kavi  
       2014-11-05 15:38:41 +08:00
    载入某些页面时,图标是灰色的,需要等一段时间才回变成彩色,这是什么问题?
    dofine
        20
    dofine  
       2014-11-26 08:58:29 +08:00
    弱弱地问一句,插件里的 hud 是指UI的哪部分。。
    dofine
        21
    dofine  
       2014-11-26 09:02:17 +08:00
    @dofine 明白了==
    Nixus
        22
    Nixus  
       2015-05-03 09:27:49 +08:00
    @mopig 请问是作者吗?提几个bug
    有一个问题,在使用/查找的时候,大多数情况下,并不会跳转到关键字。有两种情况:
    1、关键字在屏幕外,可能跳转到关键字,不会移动屏幕;
    2、关键字在屏幕内,没有跳转到关键字;

    还有一个bug:如果页面中存在iframe,使用yy,P不能在新建tab中打开完整的网页,打开的是焦点所在的那个iframe页面,希望可以调整为打开整个完整的网页

    非常感谢有这么好用的工具!非常感谢!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2286 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:22 · PVG 14:22 · LAX 23:22 · JFK 02:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.