aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin/vim.vim
AgeCommit message (Collapse)Author
2022-10-15use 2 spaces for tabs by defaultjdhao
This removes a lot of code duplication. If we want to use 4 spaces, we can set it separately in their ftplugin settings.
2022-05-09add mapping to run vim script filejdhao
2021-12-14update fold conf for vim scriptjdhao
When setting foldlevel to 0 and load some plugin via InsertEnter event using packer.nvim, if we press i to go to insert mode, the fold for vim script file will be automatically closed. It is really annoying. I have pinpoint the issue to the combination of packer.nvim and setting foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that default value for foldlevel is also 0. However, if we do not set it in vim.vim, the above issue won't occur, which is strange.
2021-08-12Use delimitMate instead of auto-pairsjdhao
2021-06-17update formatoptions for certain filetypesjdhao
2020-09-27use match(), replace obscure regex-match notationjdhao
2020-09-26change vim script style from 4-space indent to 2-spacejdhao
2020-09-24fix style issues as per vintjdhao
2020-03-30chore: remove short url and replace with true urljdhao
2019-09-12Simplify init.vim and move settings to autoload and after directoryjdhao