Update: 2024-07-25

This commit is contained in:
2024-07-25 14:03:00 +03:00
parent 43fb701519
commit 49ced08d78
30 changed files with 216 additions and 98 deletions

View File

@@ -32,7 +32,7 @@ vim.api.nvim_create_autocmd({ "BufWritePre" }, {
-- Center on InsertEnter
vim.api.nvim_create_autocmd({ "InsertEnter" }, {
callback = function()
vim.cmd("norm zz")
vim.cmd("normal! zz")
end,
})
@@ -75,3 +75,14 @@ vim.filetype.add({
["http"] = "http",
},
})
vim.api.nvim_create_autocmd({ "VimEnter" }, {
callback = function()
if vim.env.TMUX_PLUGIN_MANAGER_PATH then
vim.loop.spawn(
vim.env.TMUX_PLUGIN_MANAGER_PATH .. "/tmux-window-name/scripts/rename_session_windows.py",
{}
)
end
end,
})

View File

@@ -26,7 +26,7 @@ local opts = {
},
install = {
-- try to load one of these colorschemes when starting an installation during startup
colorscheme = { "tokyonight" },
colorscheme = { "rose-pine" },
},
}