<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Nvim on MEMEX</title>
    <link>https://memex.keinmal.top/tags/nvim/</link>
    <description>Recent content in Nvim on MEMEX</description>
    <generator>Hugo --0.164.0</generator>
    <language>zh-cn</language><managingEditor>wyz2016zxc@outlook.com(Hiraeth)</managingEditor><webMaster>wyz2016zxc@outlook.com(Hiraeth)</webMaster><lastBuildDate>Wed, 30 Sep 2026 05:31:28 +0000</lastBuildDate><atom:link href="https://memex.keinmal.top/tags/nvim/index.xml" rel="self" type="application/rss+xml" /><item>
      <title>一些nvim的配置和使用技巧</title>
      <link>https://memex.keinmal.top/docs/software/nvim-trick/</link>
      <pubDate>Wed, 06 Aug 2025 00:00:00 +0000</pubDate><author>wyz2016zxc@outlook.com(Hiraeth)</author><guid>https://memex.keinmal.top/docs/software/nvim-trick/</guid>
      <description>&lt;h1 id=&#34;一些nvim的配置和使用技巧&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#%e4%b8%80%e4%ba%9bnvim%e7%9a%84%e9%85%8d%e7%bd%ae%e5%92%8c%e4%bd%bf%e7%94%a8%e6%8a%80%e5%b7%a7&#34;&gt;#&lt;/a&gt;一些nvim的配置和使用技巧&lt;/h1&gt;
&lt;h2 id=&#34;cmd&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#cmd&#34;&gt;##&lt;/a&gt;cmd&lt;/h2&gt;
&lt;p&gt;Lua 输出：&lt;/p&gt;
&lt;details open&gt;
    &lt;summary&gt;nvim&lt;/summary&gt;&lt;pre
        class=&#34;codeblock&#34;
      &gt;&lt;code class=&#34;language-nvim&#34; data-lang=&#34;nvim&#34;&gt;:lua =vim.opt.runtimepath:get()&lt;/code&gt;&lt;button type=&#34;button&#34; class=&#34;copybtn&#34;&gt;copy&lt;/button&gt;&lt;/pre&gt;&lt;/details&gt;&lt;p&gt;&lt;code&gt;:setl ma! ma?&lt;/code&gt; 可以切换一个buffer的只读状态。
注意其他编辑器的只读一般是“你可以修改但不能保存“，这个是你根本不能修改，比如说根本就不能进入插入模式。
可以设一个顺手的keymap，比如说我是nnoremap &lt;silent&gt; ;m :setl ma! ma?&lt;cr&gt; 。&lt;/p&gt;</description></item><item>
      <title>AI in neovim</title>
      <link>https://memex.keinmal.top/docs/artint/ai-in-nvim/</link>
      <pubDate>Sun, 20 Jul 2025 00:00:00 +0000</pubDate><author>wyz2016zxc@outlook.com(Hiraeth)</author><guid>https://memex.keinmal.top/docs/artint/ai-in-nvim/</guid>
      <description>using nvim to vibe coding</description></item><item>
      <title>Write latex with neovim</title>
      <link>https://memex.keinmal.top/docs/software/vimtex/</link>
      <pubDate>Sun, 27 Apr 2025 00:00:00 +0000</pubDate><author>wyz2016zxc@outlook.com(Hiraeth)</author><guid>https://memex.keinmal.top/docs/software/vimtex/</guid>
      <description>&lt;h1 id=&#34;write-latex-with-neovim&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#write-latex-with-neovim&#34;&gt;#&lt;/a&gt;Write latex with neovim&lt;/h1&gt;
&lt;p&gt;&lt;span class=&#34;katex&#34;&gt;&lt;span class=&#34;katex-mathml&#34;&gt;&lt;math xmlns=&#34;http://www.w3.org/1998/Math/MathML&#34;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mtext&gt;LaTeX&lt;/mtext&gt;&lt;/mrow&gt;&lt;annotation encoding=&#34;application/x-tex&#34;&gt;\LaTeX&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class=&#34;katex-html&#34; aria-hidden=&#34;true&#34;&gt;&lt;span class=&#34;base&#34;&gt;&lt;span class=&#34;strut&#34; style=&#34;height:0.8988em;vertical-align:-0.2155em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord text&#34;&gt;&lt;span class=&#34;mord textrm&#34;&gt;L&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:-0.36em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;vlist-t&#34;&gt;&lt;span class=&#34;vlist-r&#34;&gt;&lt;span class=&#34;vlist&#34; style=&#34;height:0.6833em;&#34;&gt;&lt;span style=&#34;top:-2.905em;&#34;&gt;&lt;span class=&#34;pstrut&#34; style=&#34;height:2.7em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;&lt;span class=&#34;mord textrm mtight sizing reset-size6 size3&#34;&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:-0.15em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord text&#34;&gt;&lt;span class=&#34;mord textrm&#34;&gt;T&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:-0.1667em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;vlist-t vlist-t2&#34;&gt;&lt;span class=&#34;vlist-r&#34;&gt;&lt;span class=&#34;vlist&#34; style=&#34;height:0.4678em;&#34;&gt;&lt;span style=&#34;top:-2.7845em;&#34;&gt;&lt;span class=&#34;pstrut&#34; style=&#34;height:3em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord&#34;&gt;&lt;span class=&#34;mord textrm&#34;&gt;E&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;vlist-s&#34;&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;vlist-r&#34;&gt;&lt;span class=&#34;vlist&#34; style=&#34;height:0.2155em;&#34;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;mspace&#34; style=&#34;margin-right:-0.125em;&#34;&gt;&lt;/span&gt;&lt;span class=&#34;mord textrm&#34;&gt;X&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 id=&#34;vimtex&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#vimtex&#34;&gt;##&lt;/a&gt;vimtex&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;vimtex&lt;/code&gt;基本上是提供了全套的功能，包括&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;目录，标签等&lt;/li&gt;
&lt;li&gt;各种环境，&lt;code&gt;insert&lt;/code&gt;模式下的各种snippets，&lt;code&gt;normal&lt;/code&gt;模式下的文本对象和命令&lt;/li&gt;
&lt;li&gt;编译，报错&lt;/li&gt;
&lt;li&gt;正向搜索（从tex定位到pdf）和反向搜索（从pdf定位到tex）&lt;/li&gt;
&lt;li&gt;conceal （有点影响性能）&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;而且帮助文档非常详尽，维护积极，而且&lt;code&gt;vim&lt;/code&gt;上也能用&lt;/p&gt;</description></item><item>
      <title>My Neovim Config</title>
      <link>https://memex.keinmal.top/docs/software/nvim-config/</link>
      <pubDate>Mon, 18 Nov 2024 00:00:00 +0000</pubDate><author>wyz2016zxc@outlook.com(Hiraeth)</author><guid>https://memex.keinmal.top/docs/software/nvim-config/</guid>
      <description>&lt;h1 id=&#34;my-neovim&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#my-neovim&#34;&gt;#&lt;/a&gt;My neovim&lt;/h1&gt;
&lt;p&gt;My 
 on github.&lt;/p&gt;
&lt;p&gt;There is a 
 of my config, for fun.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m using nvim as a code editor, mainly for latex and markdown.&lt;/p&gt;
&lt;h2 id=&#34;usage&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#usage&#34;&gt;##&lt;/a&gt;Usage&lt;/h2&gt;
&lt;h3 id=&#34;latex&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#latex&#34;&gt;###&lt;/a&gt;latex&lt;/h3&gt;
&lt;p&gt;using vimtex to detect math environment, and texlab lsp to complie.&lt;/p&gt;
&lt;p&gt;&lt;del&gt;cmp&lt;/del&gt; blink.cmp and &lt;del&gt;ultisnips&lt;/del&gt; luasnip to enhance editing.&lt;/p&gt;
&lt;p&gt;check 
.&lt;/p&gt;
&lt;h3 id=&#34;markdown&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#markdown&#34;&gt;###&lt;/a&gt;markdown&lt;/h3&gt;
&lt;p&gt;mkdnflow to enhance.&lt;/p&gt;
&lt;p&gt;&lt;del&gt;&lt;kbd&gt;leader&lt;/kbd&gt;&lt;kbd&gt;m&lt;/kbd&gt;&lt;kbd&gt;p&lt;/kbd&gt; to open markdown-preview&lt;/del&gt; This is not necessary. Just render it in the terminal.&lt;/p&gt;
&lt;h2 id=&#34;detail-configure&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#detail-configure&#34;&gt;##&lt;/a&gt;Detail Configure&lt;/h2&gt;
&lt;h3 id=&#34;options&#34;&gt;
  &lt;a class=&#34;anchor inpage&#34; href=&#34;#options&#34;&gt;###&lt;/a&gt;options&lt;/h3&gt;
&lt;p&gt;in /lua/config/options.lua&lt;/p&gt;</description></item></channel>
</rss>
