wincent / command-t

⌨️ Fast file navigation for Neovim and Vim
BSD 2-Clause "Simplified" License
2.74k stars 317 forks source link

Ctrl-W refuses to delete anything past punctuation #301

Closed salty-horse closed 7 years ago

salty-horse commented 7 years ago

Using latest git.

In the Command-T search prompt, pressing Ctrl-W to clear the previous word will stop on punctuation such as "," or ".", and will not delete it.

This is unexpected, and doesn't match the default behavior of Ctrl-W in vim, bash, etc. It should delete everything up to the previous word boundary.

(While "word boundary" is implementation-defined, there's no question that repeated presses of Ctrl-W should delete SOMETHING if there's still text to delete)

wincent commented 7 years ago

Totally agreed. Thanks for reporting this.