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

Change "'<" and "'>" to "v" and ".". #4

Merged
merged 1 commit into from
Dec 10, 2014
Merged

Change "'<" and "'>" to "v" and ".". #4

merged 1 commit into from
Dec 10, 2014

Conversation

presuku
Copy link
Contributor

@presuku presuku commented Dec 10, 2014

'< and '> are mark of the last selected visual area in the current buffer,
so, search pattern at the first time in the current buffer is different from pattern at the second time.

  • first time

    vim ./plugin/asterisk.vim
    :map * <Plug>(asterisk-z*)
    /save_cpo
    zo
    fc
    v2l
    *
    
    • search pattern is \V\<cpo\>
  • second time

    Fc
    v2l
    *
    
    • search pattern is \Vcpo\>

@haya14busa haya14busa merged commit 32560d5 into haya14busa:master Dec 10, 2014
haya14busa added a commit that referenced this pull request Dec 10, 2014
@haya14busa
Copy link
Owner

Thank you for your work @presuku 🏆
I merged it with tiny fix. e4c5391

@presuku
Copy link
Contributor Author

presuku commented Dec 10, 2014

Thanks for fixing of this issue.
I think that your code is better than mine ✨

@presuku presuku deleted the change-visual-area-mark-to-v-and-dot branch December 10, 2014 08:55
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

Successfully merging this pull request may close these issues.

2 participants