migrated to lazy.nvim, cleanup and fixes

This commit is contained in:
2025-03-25 23:13:50 +08:00
parent 93e008c735
commit 19bded245e
11 changed files with 366 additions and 371 deletions

View File

@@ -1,5 +1,4 @@
local ct = require('conftool')
local pk_use = require('packer').use
--
-- Encoding
@@ -29,23 +28,6 @@ ct.augroup('AutoSaveFolds', {
--
ct.set({'spelllang', {'en', 'cjk', 'id'}})
ct.set({'spellsuggest', {'best', 5}})
--
-- Focus Mode
--
pk_use {
'junegunn/goyo.vim',
cmd = 'Goyo'
}
--
-- Multi-cursor
--
pk_use {
'mg979/vim-visual-multi',
keys = {"<C-Up>", "<C-Down>"}
}
--
-- Netrw built-in file manager
--
@@ -66,4 +48,3 @@ vim.cmd('autocmd BufEnter * silent! lcd %:p:h')
-- highlighting for other langs in markdown docs
vim.g.markdown_fenced_languages = {'html', 'vim', 'python', 'c', 'bash=sh'}
-- auto close delimiters (eg. parentheses, brackets)
pk_use 'Raimondi/delimitMate'