AutoYADM commit: 2025-02-05 22:30:03

This commit is contained in:
Daniel Fichtinger 2025-02-05 22:30:03 -05:00
parent ddf6e8ed5b
commit 95fe4deee0
3 changed files with 89 additions and 68 deletions

View file

@ -12,61 +12,61 @@ insert = "bar"
normal = "block"
select = "underline"
[keys.normal]
m = "move_char_left"
M = "goto_line_start"
n = "move_visual_line_down"
e = "move_visual_line_up"
i = "move_char_right"
I = "goto_line_end"
h = "insert_mode"
H = "insert_at_line_start"
w = "move_next_sub_word_start"
b = "move_prev_sub_word_start"
j = "move_next_sub_word_end"
J = "move_next_long_word_end"
k = "search_next"
K = "search_prev"
C-q = ":qa"
C-Q = ":qa!"
# [keys.normal]
# m = "move_char_left"
# M = "goto_line_start"
# n = "move_visual_line_down"
# e = "move_visual_line_up"
# i = "move_char_right"
# I = "goto_line_end"
# h = "insert_mode"
# H = "insert_at_line_start"
# w = "move_next_sub_word_start"
# b = "move_prev_sub_word_start"
# j = "move_next_sub_word_end"
# J = "move_next_long_word_end"
# k = "search_next"
# K = "search_prev"
# C-q = ":qa"
# C-Q = ":qa!"
[keys.select]
m = "extend_char_left"
M = "extend_to_line_start"
n = "extend_visual_line_down"
e = "extend_visual_line_up"
i = "extend_char_right"
I = "extend_to_line_end"
k = "extend_search_next"
K = "extend_search_prev"
# [keys.select]
# m = "extend_char_left"
# M = "extend_to_line_start"
# n = "extend_visual_line_down"
# e = "extend_visual_line_up"
# i = "extend_char_right"
# I = "extend_to_line_end"
# k = "extend_search_next"
# K = "extend_search_prev"
[keys.normal.l]
m = "match_brackets"
l = "match_brackets"
s = "surround_add"
r = "surround_replace"
d = "surround_delete"
a = "select_textobject_around"
i = "select_textobject_inner"
# [keys.normal.l]
# m = "match_brackets"
# l = "match_brackets"
# s = "surround_add"
# r = "surround_replace"
# d = "surround_delete"
# a = "select_textobject_around"
# i = "select_textobject_inner"
[keys.normal."C-w"]
m = "jump_view_left"
C-m = "jump_view_left"
n = "jump_view_down"
C-n = "jump_view_down"
i = "jump_view_right"
C-i = "jump_view_right"
e= "jump_view_up"
C-e = "jump_view_up"
M = "swap_view_left"
N = "swap_view_down"
E = "swap_view_up"
I = "swap_view_right"
h = "no_op"
j = "no_op"
k = "no_op"
l = "no_op"
H = "no_op"
J = "no_op"
K = "no_op"
L = "no_op"
# [keys.normal."C-w"]
# m = "jump_view_left"
# C-m = "jump_view_left"
# n = "jump_view_down"
# C-n = "jump_view_down"
# i = "jump_view_right"
# C-i = "jump_view_right"
# e= "jump_view_up"
# C-e = "jump_view_up"
# M = "swap_view_left"
# N = "swap_view_down"
# E = "swap_view_up"
# I = "swap_view_right"
# h = "no_op"
# j = "no_op"
# k = "no_op"
# l = "no_op"
# H = "no_op"
# J = "no_op"
# K = "no_op"
# L = "no_op"

View file

@ -1,13 +1,13 @@
# Syntax highlighting
# -------------------
"attribute" = "yellow"
"attribute" = "g_4"
"type" = "yellow"
"type.enum.variant" = "teal"
"type" = "g_2"
"type.enum.variant" = "orange_blaze"
"constructor" = "sapphire"
"constructor" = "g_1"
"constant" = "peach"
"constant" = "orange_blaze"
"constant.character" = "teal"
"constant.character.escape" = "pink"
@ -121,16 +121,16 @@
"diagnostic.hint" = { underline = { color = "teal", style = "curl" } }
"diagnostic.unnecessary" = { modifiers = ["dim"] }
error = "red"
warning = "yellow"
info = "sky"
hint = "teal"
error = "red_flame"
warning = "orange_golden"
info = "g_2"
hint = "g_4"
[palette]
cursorline = "#2a2b3c"
secondary_cursor = "#b5a6a8"
secondary_cursor_normal = "#b5a6a8"
secondary_cursor_insert = "#7ea87f"
cursorline = "#212121"
# secondary_cursor = "#b5a6a8"
# secondary_cursor_normal = "#b5a6a8"
# secondary_cursor_insert = "#7ea87f"
red_flame = "#C53030"
red_glowing = "#DF6464"

View file

@ -0,0 +1,21 @@
return {
"jake-stewart/multicursor.nvim",
branch = "1.0",
config = function()
local mc = require("multicursor-nvim")
mc.setup()
local set = vim.keymap.set
set({ "n", "v" }, "<S-up>", function()
mc.lineAddCursor(-1)
end)
set({ "n", "v" }, "<S-down>", function()
mc.lineAddCursor(1)
end)
set({ "n", "v" }, "<leader><up>", function()
mc.lineSkipCursor(-1)
end)
set({ "n", "v" }, "<leader><down>", function()
mc.lineSkipCursor(1)
end)
end,
}