This commit is contained in:
Timofey.Kovalev 2024-11-23 16:08:10 +03:00
parent 9b6cac6a82
commit d69725c9b2
5 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,8 @@
local map = vim.keymap.set local map = vim.keymap.set
map("n", "<C-left>", "<C-o>", { desc = "LSP Back" })
map("n", "<C-right>", "<C-i>", { desc = "LSP Forward" })
-- neo-tree -- neo-tree
map("n", "<leader>e", ":Neotree<CR>", { desc = "nvimtree focus window" }) map("n", "<leader>e", ":Neotree<CR>", { desc = "nvimtree focus window" })
map("n", "<leader>g", ":Neotree git_status float<CR>", { desc = "open gis status" }) map("n", "<leader>g", ":Neotree git_status float<CR>", { desc = "open gis status" })

View File

@ -31,5 +31,5 @@ require("lazy").setup({
-- colorscheme that will be used when installing plugins. -- colorscheme that will be used when installing plugins.
install = { colorscheme = { "habamax" } }, install = { colorscheme = { "habamax" } },
-- automatically check for plugin updates -- automatically check for plugin updates
checker = { enabled = true }, checker = { enabled = true, notify = false },
}) })

View File

@ -2,6 +2,8 @@ local opt = vim.opt
local o = vim.o local o = vim.o
local g = vim.g local g = vim.g
opt.fillchars = { eob = " " }
g.mapleader = " " g.mapleader = " "
opt.tabstop = 4 opt.tabstop = 4

View File

@ -7,6 +7,7 @@ return {
require("conform").setup({ require("conform").setup({
formatters_by_ft = { formatters_by_ft = {
lua = { "stylua" }, lua = { "stylua" },
go = { "gofmt" },
}, },
}) })

View File

@ -1,6 +1,11 @@
return { return {
"navarasu/onedark.nvim", "navarasu/onedark.nvim",
config = function() config = function()
require("onedark").setup({
style = "darker",
transparent = true,
})
require("onedark").load() require("onedark").load()
end, end,
} }