git config plus zoxide plugin

This commit is contained in:
2024-02-18 14:24:04 +01:00
parent 815e9d2527
commit a68f5ee1b8
3 changed files with 14 additions and 33 deletions

View File

@@ -1,8 +0,0 @@
[user]
email = mike@c2yz.com
name = Michael Czyż
signingkey = 78D4829A477DAB25
[commit]
gpgsign = true
[push]
default = simple

View File

@@ -6,3 +6,5 @@
gpgsign = true gpgsign = true
[push] [push]
default = simple default = simple
[rerere]
enabled = true

View File

@@ -3,17 +3,14 @@ local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[] ---@type NvPluginSpec[]
local plugins = { local plugins = {
-- Override plugin definition options
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
config = function() config = function()
require "plugins.configs.lspconfig" require "plugins.configs.lspconfig"
require "custom.configs.lspconfig" require "custom.configs.lspconfig"
end, -- Override to setup mason-lspconfig end,
}, },
-- override plugin configs
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
opts = { opts = {
@@ -33,14 +30,6 @@ local plugins = {
opts = overrides.nvimtree, opts = overrides.nvimtree,
}, },
{
"neovim/nvim-lspconfig",
config = function()
require "plugins.configs.lspconfig"
require "custom.configs.lspconfig"
end,
},
{ {
"rust-lang/rust.vim", "rust-lang/rust.vim",
ft = "rust", ft = "rust",
@@ -67,7 +56,12 @@ local plugins = {
return M return M
end, end,
}, },
-- Install a plugin
{
"nanotee/zoxide.vim",
lazy = false,
},
{ {
"max397574/better-escape.nvim", "max397574/better-escape.nvim",
event = "InsertEnter", event = "InsertEnter",
@@ -78,17 +72,10 @@ local plugins = {
{ {
"stevearc/conform.nvim", "stevearc/conform.nvim",
-- for users those who want auto-save conform + lazyloading!
-- event = "BufWritePre"
config = function() config = function()
require "custom.configs.conform" require "custom.configs.conform"
end, end,
}, },
-- To make a plugin not be loaded
-- {
-- "NvChad/nvim-colorizer.lua",
-- enabled = false
-- },
-- All NvChad plugins are lazy-loaded by default -- All NvChad plugins are lazy-loaded by default
-- For a plugin to be loaded, you will need to set either `ft`, `cmd`, `keys`, `event`, or set `lazy = false` -- For a plugin to be loaded, you will need to set either `ft`, `cmd`, `keys`, `event`, or set `lazy = false`