add: update vim-visual-multi config

This commit is contained in:
asep.komarudin 2024-04-11 15:57:36 +07:00
parent 6c62067226
commit d2af11595d
3 changed files with 9 additions and 5 deletions

View file

@ -28,3 +28,10 @@ vim.api.nvim_create_autocmd("ExitPre", {
command = "set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175,a:ver90",
desc = "Set cursor back to beam when leaving Neovim.",
})
-- config for vim-visual-multi color selection
vim.g.VM_Mono_hl = "DiffText"
vim.g.VM_Extend_hl = "DiffAdd"
-- vim.g.VM_Cursor_hl = "Visual"
vim.g.VM_Cursor_hl = "DiffText"
vim.g.VM_Insert_hl = "DiffChange"

View file

@ -455,8 +455,9 @@ return {
lCursor = { fg = "$bg0", bg = "$fg" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
CursorIM = { fg = "$bg0", bg = "$fg" }, -- like Cursor, but used when in IME mode |CursorIM|
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
Visual = { bg = "$orange" },
-- Visual = { bg = "$orange" },
DiffText = { bg = "$orange" },
DiffAdd = { bg = "#595d65" },
},
transparent = transparent,
lualine = {

View file

@ -334,10 +334,6 @@ return {
["Select Cursor Down"] = "<M-C-Down>", -- equal CTRL+ALT+DOWN on VSCODE
["Select Cursor Up"] = "<M-C-Up>", -- equal CTRL+ALT+UP on VSCODE
}
vim.g.VM_Mono_hl = "DiffText"
vim.g.VM_Extend_hl = "DiffAdd"
vim.g.VM_Cursor_hl = "Visual"
vim.g.VM_Insert_hl = "DiffChange"
end,
},
-- for auto close tag