Skip to main content

Normally, Ctrl-wCtrl+W deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Edit: To be more clear: I don't want to configure the key for it, I want to have the deletion stop on / aswellas well.

Example:

vim /foo/bar^W
vim /foo/

Normally, Ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Edit: To be more clear: I don't want to configure the key for it, I want to have the deletion stop on / aswell.

Example:

vim /foo/bar^W
vim /foo/

Normally, Ctrl+W deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Edit: To be more clear: I don't want to configure the key for it, I want to have the deletion stop on / as well.

Example:

vim /foo/bar^W
vim /foo/
added specifics
Source Link
SkaveRat
  • 4.1k
  • 4
  • 24
  • 17

Normally, Ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Edit: To be more clear: I don't want to configure the key for it, I want to have the deletion stop on / aswell.

Example:

vim /foo/bar^W
vim /foo/

Normally, Ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Normally, Ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Edit: To be more clear: I don't want to configure the key for it, I want to have the deletion stop on / aswell.

Example:

vim /foo/bar^W
vim /foo/
added 2 characters in body
Source Link
Mat
  • 54.9k
  • 11
  • 164
  • 143

normallyNormally, ctrl-wCtrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

normally, ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

Normally, Ctrl-w deletes back to the last whitespace.

Is it possible to configure it to use additional characters, such as /?

typo
Link
SkaveRat
  • 4.1k
  • 4
  • 24
  • 17
Loading
Source Link
SkaveRat
  • 4.1k
  • 4
  • 24
  • 17
Loading