-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
99 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,73 @@ | ||
(+ 1 2 3) | ||
[1 2 3] | ||
#{1 2 3 (+ 2 (+ 1 2))} | ||
; TODO: Broken | ||
; barf forward | ||
; cxt: cursor within 1st form | ||
; key: <) | ||
; expected: (+ 1 (+ 2) 3) | ||
(+ 1 (+ 2 3)) | ||
|
||
(+ 1 (+ 2 3 4)) | ||
; TODO: Broken | ||
; barf backwards | ||
; cxt: cursor within 1st form | ||
; key: >( | ||
; expected: (+ 1 + (2 3)) | ||
(+ 1 (+ 2 3)) | ||
|
||
(defn foo [x] x) | ||
(defn bar [x] x) | ||
; Wrap form | ||
; cxt: cursor within | ||
; key: <localleader>i | ||
; expected: (| (+ 2 3)) *insert mode* | ||
(+ 2 3) | ||
|
||
; slurp forward | ||
; cxt: cursor within 1st form | ||
; key: >) | ||
; expected: ((+ 1 2 3)) | ||
((+ 1 2) 3) | ||
|
||
; slurp backward | ||
; cxt: cursor within 1st form | ||
; key: <( | ||
; expected: (+ (1 + 2 3)) | ||
(+ 1 (+ 2 3)) | ||
|
||
; raise form | ||
; cxt: cursor within 1st form | ||
; key: <localleader>o | ||
; expected: (+ 2 3) | ||
(+ 1 (+ 2 3)) | ||
|
||
; Text object inner | ||
; cxt: cursor within form | ||
; key: dif | ||
; expected: () | ||
(+ 2 3) | ||
|
||
; Text object root inner | ||
; cxt: cursor within second form | ||
; key: diF | ||
; expected: () | ||
(+ 2 (+ 3)) | ||
|
||
; Text object outer | ||
; cxt: cursor within second form | ||
; key: daf | ||
; expected: (+ 2 ) | ||
(+ 2 (+ 3 4)) | ||
|
||
; Text object root outer | ||
; cxt: cursor within second form | ||
; key: daF | ||
; expected: _ | ||
(+ 2 3) | ||
|
||
; Insert head | ||
; cxt: cursor within | ||
; key: <localleader>h | ||
; expected: (| + 2 3) *insert mode* | ||
(+ 2 3) | ||
|
||
; Insert tail | ||
; cxt: cursor within | ||
; key: <localleader>H | ||
; expected: (+ 2 3 |) *insert mode* | ||
(+ 2 3) |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.