Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Skian12 wants to merge1 commit intopreservim:master
base:master
Choose a base branch
Loading
from17-1-SKKU-OSS:above
Open

Conversation

@Skian12
Copy link

@Skian12Skian12 commentedJun 6, 2017
edited
Loading

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.

@alerque
Copy link
Member

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.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Skian12@alerque@J-S-Kim

[8]ページ先頭

©2009-2025 Movatter.jp