Remove old config.
This commit is contained in:
parent
d1964f076c
commit
a2692b72ff
10 changed files with 38 additions and 94 deletions
|
@ -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")
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 {}
|
|
@ -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" },
|
||||
},
|
||||
},
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = { "python", "lua", "rust", "perl", "typescript", "javascript", "go" },
|
||||
auto_install = true,
|
||||
},
|
||||
},
|
||||
}
|
|
@ -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,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue