mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
Updating configs
This commit is contained in:
parent
75625b29e8
commit
acf67a3941
5 changed files with 73 additions and 0 deletions
10
lua/plugins/autoclose.lua
Normal file
10
lua/plugins/autoclose.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
if true then
|
||||
return {}
|
||||
end
|
||||
|
||||
return {
|
||||
"m4xshen/autoclose.nvim",
|
||||
config = function()
|
||||
require("autoclose").setup()
|
||||
end,
|
||||
}
|
||||
12
lua/plugins/colors.lua
Normal file
12
lua/plugins/colors.lua
Normal 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,
|
||||
}
|
||||
4
lua/plugins/disabled.lua
Normal file
4
lua/plugins/disabled.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
{ "akinsho/bufferline.nvim", enabled = false },
|
||||
{ "nvim-neo-tree/neo-tree.nvim", enabled = false },
|
||||
}
|
||||
15
lua/plugins/harpoon.lua
Normal file
15
lua/plugins/harpoon.lua
Normal 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
|
||||
}
|
||||
32
lua/plugins/myconfs.lua
Normal file
32
lua/plugins/myconfs.lua
Normal 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 {}
|
||||
Loading…
Add table
Reference in a new issue