mirror of
https://github.com/Derisis13/dotfiles.git
synced 2025-12-07 11:52:49 +01:00
14 lines
382 B
Lua
Executable File
14 lines
382 B
Lua
Executable File
local autocmd = vim.api.nvim_create_autocmd
|
|
|
|
-- Auto resize panes when resizing nvim window
|
|
-- autocmd("VimResized", {
|
|
-- pattern = "*",
|
|
-- command = "tabdo wincmd =",
|
|
-- })
|
|
|
|
-- Auto unfold all when entering a buffer
|
|
autocmd("BufWinEnter", { pattern = "*", command = "silent! :%foldopen!" })
|
|
|
|
vim.g.vscode_snippets_path = "~/.config/nvim/snippets"
|
|
vim.opt.relativenumber = true
|