<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fieldmarshal.vim.git/plugin, branch wip</title>
<subtitle>General vim bindings and configuration I can't live without.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/'/>
<entry>
<title>wip</title>
<updated>2022-09-16T06:30:48+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2022-09-16T06:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=faf9b29a25da337431e1ddaaf95d06c8783262cf'/>
<id>faf9b29a25da337431e1ddaaf95d06c8783262cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fieldmarshal: some minor changes.</title>
<updated>2022-09-15T20:54:46+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2022-09-15T20:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=534f8ccabd777d419fc88aed28c7dc10a6637392'/>
<id>534f8ccabd777d419fc88aed28c7dc10a6637392</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remappings.vim: common remappings</title>
<updated>2022-09-15T18:44:54+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-15T18:44:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=445bdd5b7c8794b7961926dbe660970ff5df5373'/>
<id>445bdd5b7c8794b7961926dbe660970ff5df5373</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>move.vim: add some more movements</title>
<updated>2022-09-15T18:42:52+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-15T18:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=ae428bff031abe75779515101dd1665b2c542c7c'/>
<id>ae428bff031abe75779515101dd1665b2c542c7c</id>
<content type='text'>
anb and friends. Like ib, except always go to the next body regardless
of if already in one.

similar mappings for an&lt;, anB, an[
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
anb and friends. Like ib, except always go to the next body regardless
of if already in one.

similar mappings for an&lt;, anB, an[
</pre>
</div>
</content>
</entry>
<entry>
<title>commenter.vim: better commenting with regexes</title>
<updated>2022-09-15T18:41:19+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-15T18:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=249e4b93489d56b10967a1612c033e6d9894d7cf'/>
<id>249e4b93489d56b10967a1612c033e6d9894d7cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>command.vim: change g: semantics</title>
<updated>2022-09-15T18:14:32+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-15T18:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=e867ab7ec24ae61f437b2dc928aff095c2ac4022'/>
<id>e867ab7ec24ae61f437b2dc928aff095c2ac4022</id>
<content type='text'>
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&lt;cr&gt;

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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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&lt;cr&gt;

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.
</pre>
</div>
</content>
</entry>
<entry>
<title>insert.vim: add Zi and Za commands to insert before/after a text object/motion</title>
<updated>2022-09-15T18:05:58+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-15T17:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=1ce32ad32e0006fbc7fe3e5e82f400ee0f7d52fa'/>
<id>1ce32ad32e0006fbc7fe3e5e82f400ee0f7d52fa</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>commenter.vim: crude text object for editing comments</title>
<updated>2022-09-13T07:23:56+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-13T07:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=a3caef03c883cd9711ac60996227e13e1199e4db'/>
<id>a3caef03c883cd9711ac60996227e13e1199e4db</id>
<content type='text'>
Adds the text object i/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds the text object i/
</pre>
</div>
</content>
</entry>
<entry>
<title>fieldmarshal.vim: Add utility function for modifying motions</title>
<updated>2022-09-13T03:56:35+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>joshuarahm@gmail.com</email>
</author>
<published>2022-09-13T03:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=0514c88053e83ff5d1bf3c6ba3cfa80565df368e'/>
<id>0514c88053e83ff5d1bf3c6ba3cfa80565df368e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>commenter.vim: add commenter to comment out chunks of text</title>
<updated>2022-09-13T00:23:45+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2022-09-13T00:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/fieldmarshal.vim.git/commit/?id=2f99407cd2ce0d0ffbe3f62bc31407033c06d7f7'/>
<id>2f99407cd2ce0d0ffbe3f62bc31407033c06d7f7</id>
<content type='text'>
this uses a new operator 'cd' which can be thought of as 'comment-y
delete'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this uses a new operator 'cd' which can be thought of as 'comment-y
delete'
</pre>
</div>
</content>
</entry>
</feed>
