Skip to main content
4 of 5
added specifics
SkaveRat
  • 4.1k
  • 4
  • 24
  • 17

Is it possible to configure ctrl-w (delete word)?

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/
SkaveRat
  • 4.1k
  • 4
  • 24
  • 17