mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-07-05 19:17:45 +02:00
12 lines
296 B
Lua
12 lines
296 B
Lua
vim.api.nvim_create_autocmd({ 'BufEnter', 'FileType' },
|
|
{
|
|
callback = function() vim.o.foldenable = false end
|
|
})
|
|
|
|
vim.o.shiftwidth = 2
|
|
vim.o.softtabstop = 2
|
|
vim.o.textwidth = 100
|
|
|
|
-- frabjous/knap
|
|
vim.keymap.set('n', '<leader>p', require("knap").toggle_autopreviewing, { noremap = true })
|