Lorenz<p>Today I Learned that you can attach shortcuts when<br>loading plugins in <a href="https://zettel.haus/tags/lazy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lazy</span></a> <a href="https://zettel.haus/tags/nvim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nvim</span></a>. That disentangled my<br>whole configuration files considerably. <a href="https://zettel.haus/tags/tix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tix</span></a></p><p>For example for Git integration you can register <br>status and file comparisons by splits as</p><pre><code>return {<br> "tpope/vim-fugitive",<br> cmd = "Git",<br> keys = {<br> { "<c-g>", "<cmd>Git<cr>" },<br> { "<c-g>d", "<cmd>Gdiff<cr>" },<br> ...<br> }<br>}<br></code></pre>