<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim_config.git/lua/custom-autocmd.lua, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.mikehanus.xyz/nvim_config.git/atom?h=master</id>
<link rel='self' href='https://git.mikehanus.xyz/nvim_config.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/'/>
<updated>2024-01-07T14:24:47Z</updated>
<entry>
<title>Enable nvim-tree to open dir during startup</title>
<updated>2024-01-07T14:24:47Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2024-01-07T14:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=841650868606299bdebd09c9cdca5c9604ab9f09'/>
<id>urn:sha1:841650868606299bdebd09c9cdca5c9604ab9f09</id>
<content type='text'>
Now when you open a directory when starting nvim, nvim-tree will be
opened to handle the directory correctly, see also issue #257.
</content>
</entry>
<entry>
<title>fix multi visual line delete issue</title>
<updated>2023-08-31T22:26:08Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2023-08-31T22:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=359621b126507f7ff5dbbb017004721a54e6a89d'/>
<id>urn:sha1:359621b126507f7ff5dbbb017004721a54e6a89d</id>
<content type='text'>
For TextYankPost event, it includes both yank and delete, we should only
restore cursor position for yank, not for delete. Otherwise, it messes
up with text deletion when you visually select multiple lines and delete
them. See also issue reported here: https://github.com/jdhao/nvim-config/pull/222#issuecomment-1698634645
</content>
</entry>
<entry>
<title>fix multi-line yank issue, close #220</title>
<updated>2023-08-28T19:11:32Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2023-08-28T19:08:51Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=fc1c447319d2eca318c751d641f9ce8ce6a92005'/>
<id>urn:sha1:fc1c447319d2eca318c751d641f9ce8ce6a92005</id>
<content type='text'>
The previous way of keep the cursor while yanking is not perfect.
It will break multi-line yank (`{count}yy`).
</content>
</entry>
<entry>
<title>chore: add notification for packer compile</title>
<updated>2022-11-01T14:02:45Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-11-01T14:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=0d50eb723fb14b8e309e28b926b7c3a5b6374c49'/>
<id>urn:sha1:0d50eb723fb14b8e309e28b926b7c3a5b6374c49</id>
<content type='text'>
Also move the autocmd location.
</content>
</entry>
<entry>
<title>format with stylua</title>
<updated>2022-09-10T15:55:22Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-09-10T15:55:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=aaeb6a813a9044892e5bb76ba4a3a61db08eae4d'/>
<id>urn:sha1:aaeb6a813a9044892e5bb76ba4a3a61db08eae4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify and add new autocmd</title>
<updated>2022-09-01T05:22:49Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-09-01T05:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=b35956e6cd37cdaf6d58f04bcb4189e2433cd3bc'/>
<id>urn:sha1:b35956e6cd37cdaf6d58f04bcb4189e2433cd3bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: use ctx table for lua autocmd callback</title>
<updated>2022-08-21T10:20:21Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-08-21T10:20:21Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=c3f8d75ece927e0eca992c8b51cf1b08efc726e6'/>
<id>urn:sha1:c3f8d75ece927e0eca992c8b51cf1b08efc726e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: move part of autocmd to lua script</title>
<updated>2022-08-20T07:00:10Z</updated>
<author>
<name>jdhao</name>
<email>jdhao@hotmail.com</email>
</author>
<published>2022-08-20T07:00:10Z</published>
<link rel='alternate' type='text/html' href='https://git.mikehanus.xyz/nvim_config.git/commit/?id=e9a3d16260ffe25590dfef4d52f9c6d8226263e8'/>
<id>urn:sha1:e9a3d16260ffe25590dfef4d52f9c6d8226263e8</id>
<content type='text'>
</content>
</entry>
</feed>
