-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #32 - First attempt at implementing ci{, etc
Can now change a region demarked by the char after ci. Should work for just about anything; though probably best not to use it for things other than brackets and quotes. Known minor bug; an empty string ci" will not work depending on which side you are in (i.e. you won't be dropped into insert mode). The code tries to maintain indent, with reasonable success for multiple line curly brackets, etc. i.e for the following command in the inner brackets: { { dsdf sdf <ci}> } } Results in: { { | } } Even though Zep doesn't really support auto intent, this is convenient for now. ci(, ci), ci{, ci}, ci[, ci], ci", ci' are of course very useful... No unit tests yet.
- Loading branch information
Showing
5 changed files
with
173 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
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