Remove old config.

This commit is contained in:
Sebastian Bugge 2025-08-02 20:44:11 +02:00
parent d1964f076c
commit a2692b72ff
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
10 changed files with 38 additions and 94 deletions

View file

@ -1,3 +1,8 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
--
-- Add any additional autocmds here
-- with `vim.api.nvim_create_autocmd`
--
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")

View file

@ -10,8 +10,6 @@ vim.keymap.set("n", "n", "nzzzv")
vim.keymap.set("n", "N", "Nzzzv")
-- Paste
vim.api.nvim_set_option("clipboard", "")
vim.keymap.set("n", "<leader>y", '"+y')
vim.keymap.set("v", "<leader>y", '"+y')
vim.keymap.set("n", "<leader>Y", '"+Y')

View file

@ -33,7 +33,7 @@ require("lazy").setup({
install = { colorscheme = { "tokyonight", "habamax" } },
checker = {
enabled = true, -- check for plugin updates periodically
notify = true, -- notify on update
notify = false, -- notify on update
}, -- automatically check for plugin updates
performance = {
rtp = {

View file

@ -1,11 +0,0 @@
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "perl" },
callback = function()
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = false
end,
})
return {}

View file

@ -1,18 +0,0 @@
vim.filetype.add({ extension = { templ = "templ" } })
return {
{
"neovim/nvim-lspconfig",
opts = {
servers = {
templ = {},
htmx = {},
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = { "go", "templ" },
},
},
}

View file

@ -1,9 +0,0 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = { "python", "lua", "rust", "perl", "typescript", "javascript", "go" },
auto_install = true,
},
},
}

View file

@ -1,19 +0,0 @@
return {
"vimwiki/vimwiki",
lazy = false,
init = function()
vim.g.vimwiki_folding = ""
vim.g.vimwiki_list = {
{
path = "~/notes",
syntax = "markdown",
ext = ".md",
},
}
vim.g.vimwiki_ext2syntax = {
[".md"] = "markdown",
[".markdown"] = "markdown",
[".mdown"] = "markdown",
}
end,
}