chore(nvim): Massive restructure and cleanup

This commit is contained in:
Afonso Franco 2024-06-01 03:53:39 +01:00
parent 5c5eed7581
commit a796af3510
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
27 changed files with 558 additions and 917 deletions

View file

@ -14,4 +14,5 @@ end
vim.opt.rtp:prepend(lazypath)
--Call lazy config here
require('plugins.lazy')
local lazy = require("lazy")
lazy.setup("plugins")

View file

@ -25,8 +25,8 @@ vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
--quickfix keybinds
vim.keymap.set("n", "<C-k>", "<cmd>cprev<CR>zz")
vim.keymap.set("n", "<C-j>", "<cmd>cnext<CR>zz")
vim.keymap.set("n", "<C-p>", "<cmd>cprev<CR>zz")
vim.keymap.set("n", "<C-n>", "<cmd>cnext<CR>zz")
--buffer keybinds
vim.keymap.set("n", "<A-h>", "<cmd>bp<CR>")
vim.keymap.set("n", "<A-l>", "<cmd>bn<CR>")
@ -47,3 +47,4 @@ vim.g.jukit_mappings = 0
--Format Options
vim.opt.formatoptions:remove("ro")
--Sign gutter always on
vim.opt.signcolumn = "yes"