update: kitty, nvim and bashrc

This commit is contained in:
hhhh hgfh 2026-08-30 14:00:51 +03:00
parent a879e32d65
commit c5570614f5
63 changed files with 7768 additions and 3669 deletions

View file

@ -4,10 +4,6 @@ return {
"nvim-tree/nvim-web-devicons",
opts = {},
},
{
'nvim-mini/mini.nvim',
version = '*'
},
-- Screenkey
{
"NStefan002/screenkey.nvim",
@ -25,7 +21,7 @@ return {
"lewis6991/gitsigns.nvim",
event = { "BufReadPre", "BufNewFile" },
opts = function()
require("configs.gitsigns")
return require("configs.gitsigns")
end,
},
{
@ -33,26 +29,6 @@ return {
version = "*",
config = true
},
-- Nvim tree
{
"nvim-tree/nvim-tree.lua",
cmd = { "NvimTreeToggle", "NvimTreeFocus" },
opts = function()
return require "configs.nvimtree"
end,
},
-- Pairs
{
"nvim-mini/mini.pairs",
event = { "BufReadPost", "BufNewFile" },
opts = {
modes = { insert = true, command = true, terminal = false },
skip_next = [=[[%w%%%'%[%"%.%`%$]]=],
skip_ts = { "string" },
skip_unbalanced = true,
markdown = true,
},
},
-- Formating
{
"stevearc/conform.nvim",
@ -61,11 +37,6 @@ return {
require "configs.conform"
end,
},
-- Yank highlight
{
"machakann/vim-highlightedyank",
event = "VeryLazy",
},
-- Sessions
{
"olimorris/persisted.nvim",
@ -78,4 +49,16 @@ return {
autoload = false,
},
},
-- Navigation
{
"folke/flash.nvim",
event = "VeryLazy",
opts = {},
keys = {
{ "<leader>jj", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash jump" },
{ "<leader>jt", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash treesitter" },
{ "<leader>jr", mode = "o", function() require("flash").remote() end, desc = "Flash remote" },
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash search" },
},
},
}

View file

@ -15,7 +15,17 @@ return {
-- Mason lspconfig
{
"mason-org/mason-lspconfig.nvim",
opts = {},
opts = {
ensure_installed = {
"clangd",
"gopls",
"phpactor",
"lua_ls",
"bashls",
"mesonlsp",
},
automatic_enable = true,
},
dependencies = {
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
@ -100,6 +110,7 @@ return {
"diff",
"gitcommit",
"gitignore",
"tla",
},
callback = function(args)
pcall(vim.treesitter.start, args.buf)
@ -133,24 +144,6 @@ return {
require("configs.ufo")
end
},
-- Tests
{
"nvim-neotest/neotest",
event = "VeryLazy",
dependencies = {
"nvim-lua/plenary.nvim",
"alfaix/neotest-gtest",
"olimorris/neotest-phpunit",
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-phpunit"),
require("neotest-gtest").setup({}),
},
})
end,
},
-- These are for C/C++ Debbuger
{
"nvim-neotest/nvim-nio",
@ -172,7 +165,7 @@ return {
"jay-babu/mason-nvim-dap.nvim",
event = "VeryLazy",
dependencies = {
"williamboman/mason.nvim",
"mason-org/mason.nvim",
"mfussenegger/nvim-dap",
},
opts = {

View file

@ -0,0 +1,41 @@
return {
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
opts = require("configs.neotree"),
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
"nvim-tree/nvim-web-devicons",
},
},
{
"Crysthamus/nvim-file-operations",
-- branch = "compat" -- if you are on Neovim <= 0.10
dependencies = {
"nvim-neo-tree/neo-tree.nvim", -- makes sure that this loads after Neo-tree.
},
config = function()
require("nvim-file-operations").setup()
end,
},
{
"s1n7ax/nvim-window-picker",
version = "2.*",
config = function()
require("window-picker").setup({
filter_rules = {
include_current_win = false,
autoselect_one = true,
-- filter using buffer options
bo = {
-- if the file type is one of following, the window will be ignored
filetype = { "neo-tree", "neo-tree-popup", "notify" },
-- if the buffer type is one of following, the window will be ignored
buftype = { "terminal", "quickfix" },
},
},
})
end,
},
}

View file

@ -1,8 +0,0 @@
return {
{
'kwakzalver/duckytype.nvim',
config = function()
require('duckytype').setup {}
end
},
}

View file

@ -1,14 +1,16 @@
return {
"folke/noice.nvim",
event = "VeryLazy",
opts ={
-- add any options here
},
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
{
"rcarriga/nvim-notify",
opts = {
background_colour = "#000000",
},
},
},
config = {
opts = {
lsp = {
signature = {
enabled = false,
@ -22,9 +24,9 @@ return {
},
},
presets = {
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
long_message_to_split = true,
inc_rename = false,
lsp_doc_border = false,
},
}
}

View file

@ -26,6 +26,7 @@ return {
---@type snacks.dashboard.Item[]
keys = {
{ icon = "", key = "f", desc = "Find File", action = ":lua Snacks.dashboard.pick('files')" },
{ icon = "", key = "o", desc = "Find In Old Files", action = ":Telescope oldfiles" },
{ icon = "", key = "n", desc = "New File", action = ":ene | startinsert" },
{ icon = "", key = "g", desc = "Find Text", action = ":lua Snacks.dashboard.pick('live_grep')" },
{ icon = "", key = "r", desc = "Recent Files", action = ":lua Snacks.dashboard.pick('oldfiles')" },
@ -91,8 +92,8 @@ return {
explorer = { enabled = false },
indent = { enabled = true },
input = { enabled = true },
picker = { enabled = true },
notifier = { enabled = true },
picker = { enabled = false },
notifier = { enabled = false },
quickfile = { enabled = true },
scope = { enabled = true },
scroll = { enabled = true },

View file

@ -2,7 +2,7 @@ return {
"nvim-telescope/telescope.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter" },
cmd = "Telescope",
configs = function()
return require "configs.telescope"
config = function()
require "configs.telescope"
end,
}

View file

@ -0,0 +1 @@
return {}