feat(neovide): add initial config files

This commit is contained in:
2025-10-15 03:31:23 +02:00
committed by GitHub
parent ca9980533b
commit 19b47322e1
9 changed files with 142 additions and 0 deletions

20
nvim-neovide/init.lua Normal file
View File

@@ -0,0 +1,20 @@
require("config.lazy")
vim.opt.clipboard = 'unnamedplus'
vim.opt.expandtab = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.relativenumber = false
vim.opt.number = true
vim.opt.termguicolors = true
--[[
vim.keymap.set("n", "<leader>F", function()
require("conform").format({ async = true })
end, { desc = "Format file" })
]]
vim.keymap.set("n", "<leader>n", ":BufferLineCycleNext<CR>", { desc = "Go to the next buffer" })
vim.keymap.set("n", "<leader>b", ":BufferLineCyclePrev<CR>", { desc = "Go to the previous buffer" })
vim.keymap.set("n", "<leader>q", ":bd<CR>", { desc = "Close current buffer" })