<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/normal, branch mix</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>test: reorg #15698</title>
<updated>2021-09-17T16:16:40+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-17T16:16:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d8de4eb685e35646c7d541e9a75bdc296127b7e2'/>
<id>d8de4eb685e35646c7d541e9a75bdc296127b7e2</id>
<content type='text'>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</pre>
</div>
</content>
</entry>
<entry>
<title>feat(keywordprg): use :terminal for external commands #15398</title>
<updated>2021-08-22T00:23:10+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-22T00:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a90513c24bd8f789fba980509a4bdd1d7fc890ec'/>
<id>a90513c24bd8f789fba980509a4bdd1d7fc890ec</id>
<content type='text'>
Open external 'keywordprg' commands in a :terminal in a new tab. &lt;Esc&gt; is
mapped to stop the job and close the buffer.

Closes #2995
Closes #2761</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Open external 'keywordprg' commands in a :terminal in a new tab. &lt;Esc&gt; is
mapped to stop the job and close the buffer.

Closes #2995
Closes #2761</pre>
</div>
</content>
</entry>
<entry>
<title>Treat unmapped ALT/META as ESC+c in all modes</title>
<updated>2020-10-05T19:27:04+00:00</updated>
<author>
<name>Matt Wozniski</name>
<email>godlygeek@gmail.com</email>
</author>
<published>2020-10-04T06:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2f06413dfb3624381f112b7d8661fde659c279e7'/>
<id>2f06413dfb3624381f112b7d8661fde659c279e7</id>
<content type='text'>
In #8226 &lt;A-x&gt; and &lt;M-x&gt; were changed to behave like &lt;Esc&gt;x in insert
mode when no mapping exists. This commit backs out that change and
replaces it with a more general one that makes unmapped ALT and META
keypresses as &lt;Esc&gt;+char in all modes. This fixes an unnecessary and
confusing inconsistency between modes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In #8226 &lt;A-x&gt; and &lt;M-x&gt; were changed to behave like &lt;Esc&gt;x in insert
mode when no mapping exists. This commit backs out that change and
replaces it with a more general one that makes unmapped ALT and META
keypresses as &lt;Esc&gt;+char in all modes. This fixes an unnecessary and
confusing inconsistency between modes.
</pre>
</div>
</content>
</entry>
<entry>
<title>lua: move test helper function, map and filter, to vim.shared module</title>
<updated>2020-02-18T08:43:10+00:00</updated>
<author>
<name>Hirokazu Hata</name>
<email>h.hata.ai.t@gmail.com</email>
</author>
<published>2020-02-18T08:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e2ed8053bf722d4d111fac7dcdb07179fdea8752'/>
<id>e2ed8053bf722d4d111fac7dcdb07179fdea8752</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.0974: cannot switch from terminal window to previous tabpage</title>
<updated>2020-01-03T14:02:10+00:00</updated>
<author>
<name>We're Yet</name>
<email>58348703+butwerenotthereyet@users.noreply.github.com</email>
</author>
<published>2020-01-01T18:08:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a7b6b375196ad2d0531550b2e1c7888502c9512b'/>
<id>a7b6b375196ad2d0531550b2e1c7888502c9512b</id>
<content type='text'>
Problem:    Cannot switch from terminal window to previous tabpage.
Solution:   Make CTRL-W gT move to previous tabpage.
https://github.com/vim/vim/commit/882d02eeb571a13a502fe82a04c9eaffa630c294
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Cannot switch from terminal window to previous tabpage.
Solution:   Make CTRL-W gT move to previous tabpage.
https://github.com/vim/vim/commit/882d02eeb571a13a502fe82a04c9eaffa630c294
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.0972: cannot switch from terminal window to next tabpage</title>
<updated>2020-01-03T14:01:47+00:00</updated>
<author>
<name>We're Yet</name>
<email>58348703+butwerenotthereyet@users.noreply.github.com</email>
</author>
<published>2020-01-01T17:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=42aa8764881ed8572d563766575c053db085f6db'/>
<id>42aa8764881ed8572d563766575c053db085f6db</id>
<content type='text'>
Problem:    Cannot switch from terminal window to next tabpage.
Solution:   Make CTRL-W gt move to next tabpage.
https://github.com/vim/vim/commit/72e83c1ae535e2ebc35b114d34d0a811eb62b068
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Cannot switch from terminal window to next tabpage.
Solution:   Make CTRL-W gt move to next tabpage.
https://github.com/vim/vim/commit/72e83c1ae535e2ebc35b114d34d0a811eb62b068
</pre>
</div>
</content>
</entry>
<entry>
<title>doc [ci skip]</title>
<updated>2019-12-31T10:25:10+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-12-10T09:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=93e7c7e3bd30ae141b613e71a6a3a863e6064d91'/>
<id>93e7c7e3bd30ae141b613e71a6a3a863e6064d91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>jumplist: browser-style (or 'tagstack') navigation #11530</title>
<updated>2019-12-10T08:56:56+00:00</updated>
<author>
<name>butwerenotthereyet</name>
<email>58348703+butwerenotthereyet@users.noreply.github.com</email>
</author>
<published>2019-12-10T08:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=39094b3faedde9601160806901941e4808925410'/>
<id>39094b3faedde9601160806901941e4808925410</id>
<content type='text'>
Traditionally, when navigating to a specific location from the middle of
the jumplist results in shifting the current location to the bottom of
the list and adding the new location after it.  This behavior is not
desireable to all users--see, for example
https://vi.stackexchange.com/questions/18344/how-to-change-jumplist-behavior.

Here, another jumplist behavior is introduced.  When jumpoptions (a new
option set added here) includes stack, the jumplist behaves like the
tagstack or like history in a web browser.  That is, when navigating to
a location from the middle of the jumplist

    2 first
    1 second
    0 third &lt;-- current location
    1 fourth
    2 fifth

to a new location the locations after the current location in the jump
list are discarded

    2 first
    1 second
    0 third
            &lt;-- current location

The result is that when moving forward from that location, the new
location will be appended to the jumplist:

    3 first
    2 second
    1 third
    0 new

If the new location is the same

  new == second

as some previous (but not immediately prior) entry in the jumplist,

    2 first
    1 second
    0 third &lt;-- current location
    1 fourth
    2 fifth

both occurrences preserved

    3 first
    2 second
    1 third
    0 second (new)

when moving forward from that location.

It would be desireable to go farther and, when the new location is the
same as the location that is currently next in the jumplist,

    new == fourth

make the result of navigating to the new location by jumping (e.g. 50gg)
be the same as moving forward in the jumplist

    2 first
    1 second
    0 third
    1 new &lt;-- current location
    2 fifth

and simply increment the jumplist index.  That change is NOT part of
this patch because it would require passing the new cursor location to
the function (setpcmark) from all of its callees.  That in turn would
require those callees to know *before* calling what the new cursor
location is, which do they do not currently.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Traditionally, when navigating to a specific location from the middle of
the jumplist results in shifting the current location to the bottom of
the list and adding the new location after it.  This behavior is not
desireable to all users--see, for example
https://vi.stackexchange.com/questions/18344/how-to-change-jumplist-behavior.

Here, another jumplist behavior is introduced.  When jumpoptions (a new
option set added here) includes stack, the jumplist behaves like the
tagstack or like history in a web browser.  That is, when navigating to
a location from the middle of the jumplist

    2 first
    1 second
    0 third &lt;-- current location
    1 fourth
    2 fifth

to a new location the locations after the current location in the jump
list are discarded

    2 first
    1 second
    0 third
            &lt;-- current location

The result is that when moving forward from that location, the new
location will be appended to the jumplist:

    3 first
    2 second
    1 third
    0 new

If the new location is the same

  new == second

as some previous (but not immediately prior) entry in the jumplist,

    2 first
    1 second
    0 third &lt;-- current location
    1 fourth
    2 fifth

both occurrences preserved

    3 first
    2 second
    1 third
    0 second (new)

when moving forward from that location.

It would be desireable to go farther and, when the new location is the
same as the location that is currently next in the jumplist,

    new == fourth

make the result of navigating to the new location by jumping (e.g. 50gg)
be the same as moving forward in the jumplist

    2 first
    1 second
    0 third
    1 new &lt;-- current location
    2 fifth

and simply increment the jumplist index.  That change is NOT part of
this patch because it would require passing the new cursor location to
the function (setpcmark) from all of its callees.  That in turn would
require those callees to know *before* calling what the new cursor
location is, which do they do not currently.</pre>
</div>
</content>
</entry>
<entry>
<title>doc + extmarks tweaks #11421</title>
<updated>2019-11-25T09:08:02+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-11-25T09:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fd5710ae9a3bcbc0f9cbb71de9e39253350ff09c'/>
<id>fd5710ae9a3bcbc0f9cbb71de9e39253350ff09c</id>
<content type='text'>
- nvim_buf_get_extmarks: rename "amount" =&gt; "limit"
- rename `set_extmark_index_from_obj`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- nvim_buf_get_extmarks: rename "amount" =&gt; "limit"
- rename `set_extmark_index_from_obj`</pre>
</div>
</content>
</entry>
<entry>
<title>test: Eliminate expect_err</title>
<updated>2019-09-07T00:19:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-07T00:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7e1c9598617a140e40a0a22676c0631294617246'/>
<id>7e1c9598617a140e40a0a22676c0631294617246</id>
<content type='text'>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</pre>
</div>
</content>
</entry>
</feed>
