aboutsummaryrefslogtreecommitdiff
path: root/plugin
Commit message (Collapse)AuthorAge
* Add a vertical version of 'iw/iW' with iv/iVHEADmainJosh Rahm2025-04-09
|
* Add repeat-yank.vim.Josh Rahm2025-04-09
| | | | | | | This adds a new verb, gy, which behaves exactly like a normal yank command except it's dot-repeatable. When using the dot-repeat, it yank-appends with a newline to the register, so it can be used as an accumulator.
* Change how substitute works again.Josh Rahm2025-04-04
| | | | | | This time, it's using TextChanged and CursorMoved hooks to determine what the word was before and after a text change occured. This makes it much cleaner and doesn't rely on remapping anything.
* Change how the substitute works.Josh Rahm2025-04-04
| | | | | The strategy is now, what was the word before the text was changed, and what is it after, and have that be the search/replace.
* New g/ command which searches within a text object.Josh Rahm2024-11-19
| | | | | This is very useful for constraining searches to certain scopes such as searching for a variable within a function or body of code.
* Implement diagnostic objects.Josh Rahm2024-03-20
| | | | | | Follows the pattern: i[nl]d[wei] for next/last diagnostic warning/error/info.
* Don't default bind hints to C-f.Josh Rahm2024-03-11
|
* Bunch of changes.Josh Rahm2024-03-08
| | | | | | | | | | | | | | | | | Salient changes are: Get rid of object remapping the quotes (i/a "/'/`) in favor of adding a new text object "next quotes" such as cin"/can"/etc. Added mappings in visual mode that behave like "fall", but for matching characters. So <C-v>ic will highlight the current character and all of the same character up and down. Super useful for making edits to columns of identical characters. Added a text object ic/ac that highlight all the lines that match. removed the uncommented paragraph text objects as they're broken anyway.
* Added 'last' objects to move.vim.Josh Rahm2024-02-26
|
* Remove <m-t> binding from supertJosh Rahm2024-02-26
|
* add winswap.vimJosh Rahm2023-02-01
|
* Add resize-mode to make resizing panes faster and betterJosh Rahm2023-01-31
|
* add yank_joinJosh Rahm2023-01-24
|
* remappings.vim: add visual redo using the {Visual}dot(.)Josh Rahm2022-09-16
|
* insert.vim: add more text objectsJosh Rahm2022-09-16
| | | | | | | | Z] - move to the end of the next text object Z[ - move to the start of the next text object Zd - delete in the recorded text object Zc - change in the recorded text object Zn - repeat Z]
* commenter.vim: add acp and icp text objects.Josh Rahm2022-09-16
| | | | Just like ip and ap, except it excludes commment blocks.
* move.vim: minor change to move.vim.Josh Rahm2022-09-16
|
* insert.vim: add more commansd to insert.vimJosh Rahm2022-09-16
| | | | | | | | | | | ZO - insert a new line before the text object/motion and enter insert mode. Zo - insert a new line after the text object/motion and enter insert mode. Z[ - Go to the beginning of a text object. (Can be used as a text object itself) Z] - Go to the end of a text object. (Can be used as a text object itself.)
* supert.vim: implement proper redo for supert.Josh Rahm2022-09-16
| | | | | This correctly implements redo for the supert functions. In addition, this changes the bindings to Zf, ZF, Zt, ZT.
* remappings.vim: common remappingsJosh Rahm2022-09-15
| | | | | | | remap the text objects for ", ' and ` to go to the next string even if the next string is not on the same line. also add nnoremap Y y$ for good measure.
* move.vim: add some more movementsJosh Rahm2022-09-15
| | | | | | | anb and friends. Like ib, except always go to the next body regardless of if already in one. similar mappings for an<, anB, an[
* commenter.vim: better commenting with regexesJosh Rahm2022-09-15
|
* command.vim: change g: semanticsJosh Rahm2022-09-15
| | | | | | | | | | | | | instead of starting a command around a text object, repeat the last ranged command around that text object. So one can now do something like vip:sort<cr> to sort the current paragraph, and then that command can be repeated on a different paragraph with g:ip, and then the command is dot-repeatable.
* insert.vim: add Zi and Za commands to insert before/after a text object/motionJosh Rahm2022-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | So typing Ziib will move the cursor to the next body and enter INSERT mode. Zaib will move the cursor to the END of the next body and enter INSERT mode Ziiw will enter insert mode before the current word Zaiw will enter insert mode after the current word. Ziip will enter insert mode befor the current paragraph thus, Zi^ is semantically equivalent to I and Za$ is semantically equivalent to A. Zib will move the cursor back a word and enter insert mode. All of these commands are repeatable with the dot (.) operator. much of this same thing can be accomplished with the change operator (c) and use of ^R^P", but that's quite obtuse, especially when working on large text objects. Right now, without Rahm's patched Neovim using user-defined text objects will cause these commands to not play well with the dot (.) operator. This is because do accomplish this, this plugin uses an operator within an operator which is not well supported in Vim.
* commenter.vim: crude text object for editing commentsJosh Rahm2022-09-13
| | | | Adds the text object i/
* fieldmarshal.vim: Add utility function for modifying motionsJosh Rahm2022-09-12
|
* commenter.vim: add commenter to comment out chunks of textJosh Rahm2022-09-12
| | | | | this uses a new operator 'cd' which can be thought of as 'comment-y delete'
* insert.vim: add cI and cgI commands.Josh Rahm2022-09-12
| | | | | | c[g]I - starts insert after the v:count1'th WORD. If the g is not supplied, whitespace is skipped and insert starts right before th e (v:count1+1)'th WORD.
* put.vim,charadd.vim: add ability to change bindingsJosh Rahm2022-09-12
|
* charadd.vim: add ability to increment/decrement to characters in a text object.Josh Rahm2022-09-12
| | | | | | | | | | | | | | | | | | | | adds cx, cxx, cX, cXX, cgx, cgxx, cgX, cgXX which is [count]c[g](x|X)<motion> add/subtract v:count to each codepoint in the given text motion. if g is present, modify /all/ codepoints if g is not present, modify only non-space codepoints if X is used, subtract v:count from each codepoint if x is used, add v:count to each codepoint if x or X is repeated, operate on the line. repeatable with '.'
* put.vim: add some more put operationsJosh Rahm2022-09-12
| | | | | | cpp put over the line cP put from the current position to the end of the line ["r]{visual}P Paste, but place the yanked text into the provided register.
* put.vim: support for 'cp' operator.Josh Rahm2022-09-12
| | | | | | The cp operator replaces a text object with the contents of a register while preserving the value of the default register to improve repeatability.
* fall.vim: fix visual selection with vii and vai.Josh Rahm2022-09-09
|
* casefmt.vim: add lower/upper case formats with u/UJosh Rahm2022-09-09
|
* move.vim: Add some extra object mappingsJosh Rahm2022-09-09
| | | | | | | | | | a% - selects (V)isual from the current line, finds the next { and jumps to the matching one (%). Good for deleting around bodies in C-like languages. i% - finds the next { enters (v)isual, jumpts to matching, and shrinks the selection by a character. (so it changes whatever is in the '{'). Good for changing the contents inside a C-style body.
* casefmt.vim: implement CaseSubstitute command.Josh Rahm2022-09-06
|
* fieldmarshal.vim: use <cmd> instead of :<c-u> to fix some bugs.Josh Rahm2022-09-01
|
* supert.vim: fix object mode.Josh Rahm2022-09-01
|
* supert.vim: add ability to do a multiline tTfF command with metaJosh Rahm2022-08-31
|
* joiner.vim: fix broken scriptJosh Rahm2022-08-30
|
* joiner.vim: add joiner.vim; verbs to join text.Josh Rahm2022-08-30
|
* monocole.vim: change binding to z<C-f>.Josh Rahm2022-08-30
|
* joiner.vim: wip.Josh Rahm2022-08-30
|
* casefmt.vim: noremap->nmapJosh Rahm2022-08-30
|
* casefmt.vim: add more caseformats. Add ability to join.Josh Rahm2022-08-30
|
* monocole.vim: add monocole.vimJosh Rahm2022-08-30
| | | | | monocole adds mappings to fold text around a text object so only the text described by th egiven text object is available.
* subwords.vim: split functions into the autoload directory.Josh Rahm2022-08-30
|
* subwords.vim: better organize file betterJosh Rahm2022-08-27
|
* subwords.vim: T/F should clear the subword mark.Josh Rahm2022-08-27
|
* subwords.vim: More featuresJosh Rahm2022-08-27
| | | | | | * Add ability to repeat motion with ,/; * Add ability to disable bindings * Change motions to +/-