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

Fix typos, improve grammar #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2087

This plugin contains some basic refactoring commands for C/C++.
For the complexity of C++, instead of really parse the source code, I used
For the complexity of C++, instead of really parsing the source code, I used
regular expression matches. But it works well as I tested.

NOTE: It doesn't work for old style parameter declaratoins! And I admit that it may mess up your code sometime if you occasionally forget the rules. Thanks for the kind man who point out this.
NOTE: It doesn't work for old style parameter declarations! And I admit that it may mess up your code sometime if you occasionally forget the rules. Thanks for the kind man who pointed out this.


The refactor commands and their default key map currently are:
1. <A-r>e Extract method
2. <A-r>p local variable to Parameter
3. <A-r>r Rename local variable
3. <A-r>r Rename local variable
4. <A-r>d Delete parameter
5. <A-r>o reOrder parameters
6. <A-r>c introduce Constant
Expand Down