update
This commit is contained in:
6 files changed
+30
-54
No files matched your search
@@ -6,7 +6,16 @@ return {
|
||||
version = '*',
|
||||
config = function()
|
||||
require('blink.cmp').setup({
|
||||
fuzzy = { implementation = 'prefer_rust' },
|
||||
snippets = { preset = 'luasnip' },
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
providers = {},
|
||||
},
|
||||
|
||||
completion = {
|
||||
ghost_text = { enabled = true },
|
||||
|
||||
list = {
|
||||
selection = {
|
||||
preselect = false,
|
||||
@@ -45,11 +54,6 @@ return {
|
||||
signature = {
|
||||
window = { border = 'rounded' },
|
||||
},
|
||||
snippets = { preset = 'luasnip' },
|
||||
sources = {
|
||||
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||
providers = {},
|
||||
},
|
||||
keymap = {
|
||||
preset = 'none',
|
||||
['<S-Tab>'] = { 'select_prev', 'snippet_backward', 'fallback' },
|
||||
|
||||
+1
-16
@@ -13,21 +13,6 @@ return {
|
||||
cmd = { 'SudaRead', 'SudaWrite' },
|
||||
},
|
||||
|
||||
-- Undo History Visualizer
|
||||
{
|
||||
'mbbill/undotree',
|
||||
cmd = { 'UndotreeToggle' },
|
||||
keys = { { '<leader>u', '<cmd>UndotreeToggle<cr>', desc = 'Undo Tree' } },
|
||||
config = function()
|
||||
vim.g.undotree_WindowLayout = 2
|
||||
vim.g.undotree_SetFocusWhenToggle = 1
|
||||
vim.g.undotree_SplitWidth = 35
|
||||
vim.g.undotree_DiffpanelHeight = 15
|
||||
vim.g.undotree_DiffCommand = 'diff --unified=0'
|
||||
-- vim.g.undotree_DiffCommand = "git diff --no-index --unified=0 --patience"
|
||||
end,
|
||||
},
|
||||
|
||||
-- visual multi
|
||||
{
|
||||
'mg979/vim-visual-multi',
|
||||
@@ -94,7 +79,7 @@ return {
|
||||
desc = 'Rename File',
|
||||
},
|
||||
{
|
||||
'<leader>fx',
|
||||
'<leader>fz',
|
||||
function()
|
||||
require('genghis').chmodx()
|
||||
end,
|
||||
|
||||
@@ -92,4 +92,17 @@ return {
|
||||
-- })
|
||||
-- end,
|
||||
},
|
||||
|
||||
-- navigator
|
||||
{
|
||||
'numToStr/Navigator.nvim',
|
||||
event = 'VeryLazy',
|
||||
config = function()
|
||||
require('Navigator').setup({
|
||||
auto_save = 'current',
|
||||
disable_on_zoom = false,
|
||||
mux = 'auto',
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -274,6 +274,12 @@ return {
|
||||
{ '<C-Right>', ':vertical resize +10<cr>', desc = 'Increase window width' },
|
||||
{ '<C-Up>', ':resize +10<cr>', desc = 'Increase window height' },
|
||||
|
||||
{ '<C-h>', ':NavigatorLeft<cr>', desc = 'Move Left' },
|
||||
{ '<C-j>', ':NavigatorDown<cr>', desc = 'Move Down' },
|
||||
{ '<C-k>', ':NavigatorUp<cr>', desc = 'Move Up' },
|
||||
{ '<C-l>', ':NavigatorRight<cr>', desc = 'Move Right' },
|
||||
{ '<C-\\>', ':NavigatorPrevious<cr>', desc = 'Previous Pane' },
|
||||
|
||||
-- { '<S-h>', ':bprevious<cr>', desc = 'Previous Buffer' },
|
||||
-- { '<S-l>', ':bnext<cr>', desc = 'Next Buffer' },
|
||||
{ '<Tab>', ':bnext<cr>', desc = 'Next Buffer' },
|
||||
|
||||
Reference in new issue
Block a user