Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a different command #75

Closed
pyrat opened this issue Apr 23, 2013 · 2 comments
Closed

Use a different command #75

pyrat opened this issue Apr 23, 2013 · 2 comments

Comments

@pyrat
Copy link

pyrat commented Apr 23, 2013

Hi,

I would like to type :ack instead of :Ack! when searching. Is there a simple way to setup an alias or something to do this?

The ! is passed as an extra argument from looking at the code.

Would you recommend I just fork the project and change the code, or is there an easier way?

@umitkablan
Copy link

Hi

23 Nisan 2013 Salı tarihinde Alastair Brunton adlı kullanıcı şöyle yazdı:

Hi,

I would like to type :ack instead of :Ack! when searching. Is there a
simple way to setup an alias or something to do this?

The ! is passed as an extra argument from looking at the code.

Would you recommend I just fork the project and change the code, or is
there an easier way?

I cmdalias plugin for such needs. If you search alias at vim.org you will
find it and similar plugins as well


Reply to this email directly or view it on GitHubhttps://github.com//issues/75
.

Ümit

@kassio
Copy link
Contributor

kassio commented Mar 12, 2014

you can add an abbreviation, for more information look at vim documentation :h :cabbrev

@kassio kassio closed this as completed Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants