Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork445
Upward Commenting#303
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I'm a little confused about whether this is a good idea. I'm trying to think of any precedent for plugins working this way — or any commands in vim for that matter. This would be easy to write a macro for or create your own bindings, but I'm not sure it belongs in the core. Can you point out any other plugins that work this way? It just seems counter intuitive and a bit unorthodox. I'm happy to be proven wrong, but before including this I'd like to be convinced it's something that other users would expect to find and use this way. |
Uh oh!
There was an error while loading.Please reload this page.
When we use NERDCommenter, in basically [count] determines how many lines selected 'downward' from the cursor.
so, we have a question "Can we make [count] determine how many lines selected 'upward' from the cursor?"
and this pull request is realize the question.
If you want to use this feature, you just type one more
<leader>key.for example, if you want to use |NERDComComment| 'downward', then just type
[count]<leader>cc. but if you want to use |NERDComComment| 'upward', then type[count]<leader><leader>cc.