diff options
Diffstat (limited to 'tutorials/vim')
-rw-r--r-- | tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.html b/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.html index c5179a6..a3ab430 100644 --- a/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.html +++ b/tutorials/vim/how-to-fix-neovim-nerdtree-rendering-issue.html @@ -233,14 +233,14 @@ of active development on extensions. I didn't use it for a long time because I <em>needed</em> NerdTree but every time I'd scroll the window, I'd get a mess.</p> <h2 id="the-problem">The Problem</h2> -<p><img src="/static/mess.gif"/></p> +<p><img src="/static/media/mess.gif"/></p> <p>Now, yes, I know I'm a heretic for using the arrow keys and not just jumping around, but I thought it was weird I didn't see this issue anywhere else. Also, vim doesn't have this problem.</p> -<p><img src="/static/nomess-vim.gif"/></p> +<p><img src="/static/media/nomess-vim.gif"/></p> <p>It's also not because of my meme tmux setup, the same issue happens in terminator, which I happened to have installed.</p> -<p><img src="/static/mess-terminator.gif"/></p> +<p><img src="/static/media/mess-terminator.gif"/></p> <h2 id="the-attempt">The Attempt</h2> <p>There's a better way to do this, but I first figured just triggering a redraw on scroll would do the trick. You can do so by adding the @@ -256,7 +256,7 @@ TERM variable was set to 'xterm'. I'm not sure if I did that intentionally to run something or if it's just a legacy thing I left in from Debian's default bashrc, but all I had to do was change it:</p> <div class="sourceCode" id="cb2"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb2-1"><a aria-hidden="true" href="#cb2-1" tabindex="-1"></a><span class="bu">export</span> <span class="va">TERM</span><span class="op">=</span><span class="st">'tmux256-color'</span></span></code></pre></div> -<p><img src="/static/fixed.gif"/></p> +<p><img src="/static/media/fixed.gif"/></p> <p>No more hacky autocommands!</p> <p>If I had the foresight to test the issue in xterm first, I probably would have seen it right away....</p> |