Move NvimTree file explorer to left side
- Change side from 'right' to 'left' in nvim-tree.lua - Update edgy.nvim config to place NvimTree in left panel
This commit is contained in:
37
lua/cargdev/plugins/vim-visual-multi.lua
Normal file
37
lua/cargdev/plugins/vim-visual-multi.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
return {
|
||||
"mg979/vim-visual-multi",
|
||||
branch = "master",
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
init = function()
|
||||
-- Configuration must be set before plugin loads
|
||||
vim.g.VM_default_mappings = 1
|
||||
vim.g.VM_mouse_mappings = 1
|
||||
vim.g.VM_theme = "iceblue"
|
||||
|
||||
vim.g.VM_maps = {
|
||||
["Find Under"] = "<C-d>", -- Like VS Code Ctrl+D
|
||||
["Find Subword Under"] = "<C-d>", -- Like VS Code Ctrl+D
|
||||
["Select All"] = "<C-S-l>", -- Like VS Code Ctrl+Shift+L
|
||||
["Add Cursor Down"] = "<C-Down>", -- Like VS Code
|
||||
["Add Cursor Up"] = "<C-Up>", -- Like VS Code
|
||||
["Skip Region"] = "<C-x>", -- Skip current and go to next
|
||||
["Remove Region"] = "<C-p>", -- Remove current cursor
|
||||
["Undo"] = "u",
|
||||
["Redo"] = "<C-r>",
|
||||
}
|
||||
|
||||
-- Highlight settings
|
||||
vim.g.VM_Mono_hl = "DiffText"
|
||||
vim.g.VM_Extend_hl = "DiffAdd"
|
||||
vim.g.VM_Cursor_hl = "Visual"
|
||||
vim.g.VM_Insert_hl = "DiffChange"
|
||||
|
||||
-- Other settings
|
||||
vim.g.VM_leader = "\\"
|
||||
vim.g.VM_show_warnings = 1
|
||||
vim.g.VM_silent_exit = 0
|
||||
vim.g.VM_quit_after_leaving_insert_mode = 0
|
||||
vim.g.VM_skip_empty_lines = 1
|
||||
vim.g.VM_case_setting = "smart"
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user