Improved neovim config

This commit is contained in:
2023-08-19 00:40:26 +02:00
parent 7abea90e0a
commit 0c4b569ab5
6 changed files with 56 additions and 40 deletions

View File

@ -1,3 +1,6 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("n", "U", "<cmd>redo<cr>", { desc = "Redo" })
vim.keymap.set("n", "<C-r>", ":%s/<C-R><C-W>//g<Left><Left>", { desc = "Replace word under cursor" })

View File

@ -14,3 +14,4 @@ opt.spell = false
opt.conceallevel = 0
opt.ignorecase = false
opt.relativenumber = false
--opt.cursorlineopt = "number"

View File

@ -1,5 +1,6 @@
return {
{ "akinsho/bufferline.nvim", enabled = false },
{ "nvim-lualine/lualine.nvim", enabled = false },
{ "folke/todo-comments.nvim", enabled = false },
{ "folke/neoconf.nvim", enabled = false },
}

View File

@ -1,6 +1,16 @@
return {
{
"navarasu/onedark.nvim",
opts = {
style = "dark",
--transparent = true,
},
},
{
"rcarriga/nvim-notify",
opts = {
--background_colour = "#000000",
},
},
{
"LazyVim/LazyVim",