-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize alphanumeric and underscore characters as words
This is equivalent to the ALTWERASE algorithm. Based on previous work done by Jenz Guenther in PR #231 but further enhanced to support UTF-8.
- Loading branch information
Showing
6 changed files
with
53 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
description: UTF-8 delete word | ||
keys: aa bå \027 bb \n # CTRL_W ENTER | ||
keys: aa\\ Åå \027 aa\\ aa \n # CTRL_W ENTER | ||
stdin: | ||
aa bb | ||
aa bå | ||
aa Åå aa | ||
aa Åå aa aa | ||
stdout: | ||
aa bb | ||
aa Åå aa aa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: non alphanumeric characters are not recognized as part of a word | ||
keys: a/a \027 a/a \n # CTRL_W ENTER | ||
stdin: | ||
a/a | ||
a/a/a | ||
stdout: | ||
a/a/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
description: underscore is recognized as part of a word | ||
keys: aa_aa \027 bb \n # CTRL_W ENTER | ||
stdin: | ||
aa_aa_bb | ||
bb | ||
stdout: | ||
bb |