chore: update utils plugins (#4558)

This commit is contained in:
kylo252 2024-05-09 09:43:12 +02:00 committed by GitHub
parent 4b60b5db8c
commit d8ffab83be
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 19 deletions

View file

@ -19,18 +19,26 @@ function M.config()
java = false,
},
disable_filetype = { "TelescopePrompt", "spectre_panel" },
ignored_next_char = string.gsub([[ [%w%%%'%[%"%.] ]], "%s+", ""),
enable_moveright = true,
---@usage disable when recording or executing a macro
disable_in_macro = false,
---@usage disable when insert after visual block mode
disable_in_visualblock = false,
disable_in_replace_mode = true,
ignored_next_char = string.gsub([[ [%w%%%'%[%"%.] ]], "%s+", ""),
enable_moveright = true,
---@usage add bracket pairs after quote
enable_afterquote = true,
---@usage trigger abbreviation
enable_abbr = false,
---@usage switch for basic rule break undo sequence
break_undo = true,
map_cr = true,
---@usage map the <BS> key
map_bs = true,
---@usage map <c-w> to delete a pair if possible
map_c_w = false,
---@usage disable when insert after visual block mode
disable_in_visualblock = false,
---@usage Map the <C-h> key to delete a pair
map_c_h = false,
---@usage change default fast_wrap
fast_wrap = {
map = "<M-e>",

View file

@ -18,6 +18,7 @@ M.config = function()
-- direction = 'vertical' | 'horizontal' | 'window' | 'float',
direction = "float",
close_on_exit = true, -- close the terminal window when the process exits
auto_scroll = true, -- automatically scroll to the bottom on terminal output
shell = nil, -- change the default shell
-- This field is only relevant if direction is set to 'float'
float_opts = {
@ -35,6 +36,9 @@ M.config = function()
background = "Normal",
},
},
winbar = {
enabled = false,
},
-- Add executables on the config.lua
-- { cmd, keymap, description, direction, size }
-- lvim.builtin.terminal.execs = {...} to overwrite

View file

@ -101,6 +101,11 @@ M.config = function()
name = "LSP",
a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" },
},
g = {
name = "Git",
r = { "<cmd>Gitsigns reset_hunk<cr>", "Reset Hunk" },
s = { "<cmd>Gitsigns stage_hunk<cr>", "Stage Hunk" },
},
},
mappings = {
[";"] = { "<cmd>Alpha<CR>", "Dashboard" },
@ -181,9 +186,10 @@ M.config = function()
g = {
name = "Git",
g = { "<cmd>lua require 'lvim.core.terminal'.lazygit_toggle()<cr>", "Lazygit" },
j = { "<cmd>lua require 'gitsigns'.next_hunk({navigation_message = false})<cr>", "Next Hunk" },
k = { "<cmd>lua require 'gitsigns'.prev_hunk({navigation_message = false})<cr>", "Prev Hunk" },
j = { "<cmd>lua require 'gitsigns'.nav_hunk('next', {navigation_message = false})<cr>", "Next Hunk" },
k = { "<cmd>lua require 'gitsigns'.nav_hunk('prev', {navigation_message = false})<cr>", "Prev Hunk" },
l = { "<cmd>lua require 'gitsigns'.blame_line()<cr>", "Blame" },
L = { "<cmd>lua require 'gitsigns'.blame_line({full=true})<cr>", "Blame Line (full)" },
p = { "<cmd>lua require 'gitsigns'.preview_hunk()<cr>", "Preview Hunk" },
r = { "<cmd>lua require 'gitsigns'.reset_hunk()<cr>", "Reset Hunk" },
R = { "<cmd>lua require 'gitsigns'.reset_buffer()<cr>", "Reset Buffer" },

View file

@ -18,10 +18,10 @@
"commit": "3022dbc"
},
"cmp-cmdline": {
"commit": "8ee981b"
"commit": "d250c63"
},
"cmp-nvim-lsp": {
"commit": "44b16d1"
"commit": "5af77f5"
},
"cmp-path": {
"commit": "91ff86c"
@ -30,10 +30,10 @@
"commit": "05a9ab2"
},
"friendly-snippets": {
"commit": "53d3df2"
"commit": "3e9a3f5"
},
"gitsigns.nvim": {
"commit": "6ef8c54"
"commit": "805610a"
},
"indent-blankline.nvim": {
"commit": "9637670"
@ -66,10 +66,10 @@
"commit": "3a48266"
},
"nvim-autopairs": {
"commit": "0f04d78"
"commit": "14e9737"
},
"nvim-cmp": {
"commit": "0b751f6"
"commit": "cd2cf0c"
},
"nvim-dap": {
"commit": "13ce59d"
@ -93,37 +93,37 @@
"commit": "b8ff464"
},
"nvim-web-devicons": {
"commit": "475fbcf"
"commit": "5b90678"
},
"onedarker.nvim": {
"commit": "b00dd21"
},
"plenary.nvim": {
"commit": "55d9fe8"
"commit": "08e3019"
},
"project.nvim": {
"commit": "8c6bad7"
},
"schemastore.nvim": {
"commit": "2ef728f"
"commit": "8c46453"
},
"structlog.nvim": {
"commit": "45b26a2"
},
"telescope-fzf-native.nvim": {
"commit": "6c921ca"
"commit": "9ef21b2"
},
"telescope.nvim": {
"commit": "d909568"
"commit": "6312868"
},
"toggleterm.nvim": {
"commit": "6b334b9"
"commit": "066cccf"
},
"tokyonight.nvim": {
"commit": "67afeaf"
},
"vim-illuminate": {
"commit": "3bd2ab6"
"commit": "e522e0d"
},
"which-key.nvim": {
"commit": "4433e5e"