-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customized ZLE word movement and modification (#280)
Before the `WORDCHARS` environment variable that is set and used by the ZSH line editor [1] included characters which didn't allow to move between different segments of paths or dash-separated words. Therefore the value has been adjusted to remove the slash, period, angle brackets and dash characters. The documentation now also includes a section about ZSH key bindings and the handling of differences between different OS and terminals. [1]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html Closes GH-279 Co-authored-by: Sven Greb <[email protected]>
- Loading branch information
1 parent
8a72f50
commit ca31290
Showing
4 changed files
with
54 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) 2016-present Arctic Ice Studio <[email protected]> | ||
# Copyright (c) 2016-present Sven Greb <[email protected]> | ||
|
||
# Project: igloo | ||
# Repository: https://github.com/arcticicestudio/igloo | ||
# License: MIT | ||
|
||
# Configurations for the ZSH line editor. | ||
# See: | ||
# 1. http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html | ||
|
||
# Remove the slash, period, angle brackets and dash characters from the default list. | ||
# This allows to move backward and forward between words include these characters or when | ||
# trying to only delete until the next character, e.g. for paths or dash-separated words. | ||
export WORDCHARS='*?_[]~=&;!#$%^(){}' |
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