How to delete current word in nano text editor?
Save this file to ~/.nanorc
and ctrl+] cuts the word to the left, and ctrl+\ cuts right
This works for me in nano version 2.5
bind ^] cutwordleft main
bind ^\\ cutwordright main
This works for me in nano version 2.9.3
bind ^] cutwordleft main
bind ^\ cutwordright main