Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

How to use "command mode" add a new "alias"? #15

Closed
garyzheng opened this Issue Oct 30, 2011 · 2 comments

Comments

Projects
None yet
2 participants

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 )

Owner

k2nr commented Oct 30, 2011

mmm...
I found an issue that commands NMap / IMap / Alias doesn't work with version 0.6.2. thank you for your report.

Because of the above issue, currently there's no way to add alias by using command mode.(to use 'key mapping / alias setting' is the only way).

I will fix the issue ASAP and release the bug-fixed version(maybe 0.6.3).
From version 0.6.3, you can use a command Alias in command mode like the following:

Alias og Open http://www.google.com

In the above example, you can open google.com by inputting og in command mode.
( see also https://github.com/k2nr/ViChrome/wiki/Vichrome-User-Manual#wiki-Alias )
Note that aliases defined by the command Alias are only available for temporary usage. So the aliases removed by rebooting Chrome or reloading Vichrome extension.
Anyway, please wait for the next release.

@k2nr k2nr closed this in c72c677 Oct 30, 2011

thanks for your reply !
i think use commands mode set alias, it is consistent with the spirit of the geek(vi).
i will wait for ur next release.

^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment