From 95fe4deee084ca26d9b898d8787e4c153a693162 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Wed, 5 Feb 2025 22:30:03 -0500 Subject: [PATCH] AutoYADM commit: 2025-02-05 22:30:03 --- .config/helix/config.toml | 110 +++++++++++------------ .config/helix/themes/ashen.toml | 26 +++--- .config/nvim/lua/plugins/multicursor.lua | 21 +++++ 3 files changed, 89 insertions(+), 68 deletions(-) create mode 100644 .config/nvim/lua/plugins/multicursor.lua diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 4ea403ee..f416572b 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -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" diff --git a/.config/helix/themes/ashen.toml b/.config/helix/themes/ashen.toml index d3925403..eb99f548 100644 --- a/.config/helix/themes/ashen.toml +++ b/.config/helix/themes/ashen.toml @@ -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" diff --git a/.config/nvim/lua/plugins/multicursor.lua b/.config/nvim/lua/plugins/multicursor.lua new file mode 100644 index 00000000..2b796733 --- /dev/null +++ b/.config/nvim/lua/plugins/multicursor.lua @@ -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" }, "", function() + mc.lineAddCursor(-1) + end) + set({ "n", "v" }, "", function() + mc.lineAddCursor(1) + end) + set({ "n", "v" }, "", function() + mc.lineSkipCursor(-1) + end) + set({ "n", "v" }, "", function() + mc.lineSkipCursor(1) + end) + end, +}