Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加有序列表和无序列表的自动完成 #1

Open
Hello-LuisWu opened this issue Jul 19, 2023 · 1 comment
Open

建议增加有序列表和无序列表的自动完成 #1

Hello-LuisWu opened this issue Jul 19, 2023 · 1 comment

Comments

@Hello-LuisWu
Copy link

Hello-LuisWu commented Jul 19, 2023

很高兴我是第一个 issues 。自动完成就是输入 1. xxx,回车下一行会自动补全2. xxx。以此类推,同理输入- xxx 下一行也会补全。我的解决方案是定义一个 map:autocmd Filetype markdown inoremap = 0yf op0$a。
不过这样有点麻烦,希望你能加上这个功能,这样更智能!!!

@cnshsliu
Copy link
Owner

Thanks Luis, 我在用 下面这个插件实现你那个列表编号需求,为了不重复造轮子,我这个项目里就没有做。
{
"dkarter/bullets.vim",
config = function()
vim.g.bullets_enabled_file_types = { "markdown", "telekasten", "text", "gitcommit", "scratch" }
vim.g.bullets_outline_levels = { "num", "abc", "std-" }
end,
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants