1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.25k stars 325 forks source link

Custom commands / ex command mappings #348

Open sadmac7000 opened 9 years ago

sadmac7000 commented 9 years ago

I prefer to use :tabe and :e instead of :tabopen and :o. In vimperator I can create a mapping for this but I can't in cVim.

Mottotime commented 8 years ago

I tried to use the example .cvimrc file to map ":g" to ":tabnew google". But it does not work. Then I tried to directly use ":command g tabnew google" in the normal mode. But it still does not work. There is no error messages or hints. Could you please help me solve this problem?

Mottotime commented 8 years ago

I have also tried to set the .cvimrc file according to the example, but it does not work as expected. I am not sure where is the problem.

On Mon, Feb 29, 2016 at 11:03 PM, Jake Eaton notifications@github.com wrote:

Reopened #348 https://github.com/1995eaton/chromium-vim/issues/348.

— Reply to this email directly or view it on GitHub https://github.com/1995eaton/chromium-vim/issues/348#event-571236213.

褚 阳 Yang Chu Department of Computer Science and Technology Tsinghua University Beijing,China

madmod commented 8 years ago

+1 I also cannot get this to work.