This commit is contained in:
NotAShelf 2025-01-10 14:43:38 +00:00
commit 41fb14cdae
14 changed files with 8 additions and 42331 deletions

View file

@ -236,7 +236,7 @@ slightly changed. See the new <a class="link" href="/index.xhtml#ch-dag-entries"
making good use of its extensive Lua API. Additionally, Vimscript is slow and
brings unnecessary performance overhead while working with different
configuration formats.</p>
</div><div class="section"> <div class="titlepage"> <div> <div> <h3 id="sec-vim-maps-rewrite" class="title" ><code class="literal">vim.maps</code> rewrite </h3> </div> </div></div><p>Instead of specifying map modes using submodules (e.g.: <code class="literal">vim.maps.normal</code>), a
</div><div class="section"> <div class="titlepage"> <div> <div> <h3 id="sec-vim-maps-rewrite" class="title" ><code class="literal">vim.maps</code> rewrite </h3> </div> </div></div><p>Instead of specifying map modes using submodules (e.g., <code class="literal">vim.maps.normal</code>), a
new <code class="literal">vim.keymaps</code> submodule with support for a <code class="literal">mode</code> option has been
introduced. It can be either a string, or a list of strings, where a string
represents the short-name of the map mode(s), that the mapping should be set