Skip to content

Commit

Permalink
add hole text objs
Browse files Browse the repository at this point in the history
  • Loading branch information
isovector committed Feb 12, 2022
1 parent ff3bd90 commit 7cdead1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Use the `iz`/`az` text objects to operate on text between `≡⟨` and `⟩`.

Also `ii`/`ai` will operate on `` and ``.

`ih`/`ah` will operate on `{!` and `!}`.



## Installation
Expand Down
5 changes: 5 additions & 0 deletions ftplugin/agda.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ call textobj#user#plugin('cornelis', {
\ 'select-a': 'ai',
\ 'select-i': 'ii',
\ },
\ 'hole': {
\ 'pattern': ['{!', '!}'],
\ 'select-a': 'ah',
\ 'select-i': 'ih',
\ },
\ })

setlocal commentstring=--\ %s
Expand Down

0 comments on commit 7cdead1

Please sign in to comment.