aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* wipwipJosh Rahm2022-09-16
|
* fieldmarshal: some minor changes.Josh Rahm2022-09-15
|
* 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.
* ftplugin: add ftplugin for java and typescriptJosh Rahm2022-09-08
|
* 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 +/-
* Consolidate some logic in casefmt.vimJosh Rahm2022-08-24
|
* Implement subwords.vimJosh Rahm2022-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This plugin adds support for motions and text object based around subwords. A "subword" is a constituent word of a larger "metaword" in some case format. For examle "camel" is a "subword" of the "metaword" "camelCase" or "camel_case". The text objects added are * `i-` the inner subword. For this would match something like "[camel]_case" or "[camel]Case" * `a-` around the subword. This distinction only matters for snake_case, where the match would be "[camel_]case". For camelCase, this is the same as `i-`. * `i_`/`a_` like the above, but interpret ambiguous metawords as snake_case. For example, the metaword ThisIs_AnExample is ambiguous because it's both snake_case and camelCase. `i-`/`a-` interpet it as camelCase, but `i_`/`a_` interpet it as snake_case. ThisIs_AnExample ^ i- === [This]Is_AnExample a- === [This]Is_AnExample i_ === [ThisIs]_AnExample a_ === [ThisIs_]AnExample The motions added are * `M--` (Meta + hyphen) Move forward one subword * `M-_` (Meta + underscore) Move backward one subword.
* Better handling for substitute and command.Josh Rahm2022-08-23
|
* Add casefmt. This adds bindings to change the case format of text objects.Josh Rahm2022-08-23
|
* Add command motion and make some changes to substitute.Josh Rahm2022-08-22
|
* Fix some bugsJosh Rahm2022-08-12
|
* Add substitute.vimJosh Rahm2022-08-12
|
* Change the default plugin. Only use redraw, not redraw!Josh Rahm2022-08-09
|
* Add hints.vimJosh Rahm2022-08-09
| | | | | | Hints work like qutebrowser. <C-f> will enter hint mode, which will prompt the user to type a two-letter sequence to jump the cursor to a specific line.
* Add Fall.vimJosh Rahm2022-08-04
|
* Add readmeJosh Rahm2022-08-04