Updating configs

pull/80/head
MattSchaab 2024-05-04 17:46:32 -03:00
parent 75625b29e8
commit acf67a3941
5 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,10 @@
if true then
return {}
end
return {
"m4xshen/autoclose.nvim",
config = function()
require("autoclose").setup()
end,
}

View File

@ -0,0 +1,12 @@
return {
-- Color Scheme
'catppuccin/nvim',
config = function()
-- Apply colorScheme
vim.cmd('colorscheme catppuccin-mocha')
-- Transparency
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end,
}

View File

@ -0,0 +1,4 @@
return {
{ "akinsho/bufferline.nvim", enabled = false },
{ "nvim-neo-tree/neo-tree.nvim", enabled = false },
}

View File

@ -0,0 +1,15 @@
return {
'ThePrimeagen/harpoon',
config = function()
local mark = require "harpoon.mark"
local ui = require "harpoon.ui"
vim.keymap.set("n", "<leader>a", mark.add_file, { desc = "Mark harpoon file" })
vim.keymap.set("n", "<C-e>", ui.toggle_quick_menu)
vim.keymap.set("n", "<C-h>", function() ui.nav_file(1) end)
vim.keymap.set("n", "<C-j>", function() ui.nav_file(2) end)
vim.keymap.set("n", "<C-k>", function() ui.nav_file(3) end)
vim.keymap.set("n", "<C-l>", function() ui.nav_file(4) end)
end
}

View File

@ -0,0 +1,32 @@
vim.keymap.set('n', '<leader>pv', vim.cmd.Ex)
vim.keymap.set('n', '<C-d>', '<C-d>zz')
vim.keymap.set('n', '<C-u>', '<C-u>zz')
vim.opt.nu = true
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
-- vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.updatetime = 50
return {}