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

google "vim cword copy" #1

Open
CaoPeng opened this issue Dec 18, 2015 · 0 comments
Open

google "vim cword copy" #1

CaoPeng opened this issue Dec 18, 2015 · 0 comments

Comments

@CaoPeng
Copy link
Collaborator

CaoPeng commented Dec 18, 2015

yiwP

yiw: Yank inner word (the word under the cursor). This command also moves the cursor to the beginning of the word.

P: Paste before the cursor.

You can then map the e.g.: < ALT > - D to this command:

:nmap < ALT >-D yiwP

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

0 participants