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

[feature-request] command-line 'iskeyword' #14475

Open
monkoose opened this issue Apr 10, 2024 · 2 comments
Open

[feature-request] command-line 'iskeyword' #14475

monkoose opened this issue Apr 10, 2024 · 2 comments

Comments

@monkoose
Copy link

monkoose commented Apr 10, 2024

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Currently, for some reason command-line is dependent on buffer-local 'iskeyword' option. So for each buffer using command-line is inconsistent. Let's say buffer-local 'iskeyword' includes /. Then trying to remove part of the path with <C-w> in :e /some/path/to/file.txt will remove whole path. It is really habit killer. Why it behaves like this? Why it depends on iskeyword of specific language when command-line is more like for vimscript, path and sometimes shell commands?

Describe the solution you'd like
Add new option to configure iskeyword only for command-line.

@monkoose monkoose changed the title [feature] command-line 'iskeyword' [feature-request] command-line 'iskeyword' Apr 10, 2024
@chrisbra
Copy link
Member

I guess it makes more sense to use the global 'iskeyword' setting for the command line?

@monkoose
Copy link
Author

monkoose commented Apr 10, 2024

Yes, global is fine too.

Can such change break <C-r><C-w> and friends in command-line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants