We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please excuse me for asking a basic question - I am relatively new to VIM.
How can I map ":Ags" to something easy to type command? Maybe just "//", so a search could be performed using "//SearchText"
The text was updated successfully, but these errors were encountered:
You can do it by using nnoremap or a similar command (do an :h nnoremap in vim to learn more). For example I have the following two lines in my .vimrc
nnoremap
:h nnoremap
nnoremap <Leader>a :Ags<Space> nnoremap <Leader><Leader>a :AgsQuit<CR>
That maps :Ags to ,a and :AgsQuit to ,,a (my leader key is ,)
:Ags
,a
:AgsQuit
,,a
Sorry, something went wrong.
No branches or pull requests
Please excuse me for asking a basic question - I am relatively new to VIM.
How can I map ":Ags" to something easy to type command? Maybe just "//", so a search could be performed using "//SearchText"
The text was updated successfully, but these errors were encountered: