diff --git a/nvim/after/plugin/svart.lua b/nvim/after/plugin/svart.lua deleted file mode 100644 index e7da93b..0000000 --- a/nvim/after/plugin/svart.lua +++ /dev/null @@ -1,35 +0,0 @@ --- https://gitlab.com/madyanov/svart.nvim -local status, svart = pcall(require, "svart") -if not status then - return -end - -local keymap = vim.keymap.set -local opts = { noremap = true, silent = true } - -svart.configure({ - key_cancel = "", -- cancel search - key_delete_char = "", -- delete query char - key_delete_word = "", -- delete query word - key_delete_query = "", -- delete whole query - key_best_match = "", -- jump to the best match - key_next_match = "", -- select next match - key_prev_match = "", -- select prev match - - label_atoms = "jfkdlsahgnuvrbytmiceoxwpqz", -- allowed label chars - label_location = "end", -- possible values: "start" of the match, "end" of the match - label_max_len = 2, -- max label length - label_min_query_len = 1, -- min query length required to show labels - label_hide_irrelevant = true, -- hide irrelevant labels after start typing label to go to - - search_update_register = true, -- update search (/) register with last used query after accepting match - search_wrap_around = true, -- wrap around when navigating to next/prev match - search_multi_window = true, -- search in multiple windows - - ui_dim_content = true, -- dim buffer content during search -}) - --- Keymaps -keymap({ "n", "x", "o" }, "s", "Svart", opts) -- begin exact search -keymap({ "n", "x", "o" }, "S", "SvartRegex", opts) -- begin regex search -keymap({ "n", "x", "o" }, "gs", "SvartRepeat", opts) diff --git a/nvim/lua/kogakure/plugins.lua b/nvim/lua/kogakure/plugins.lua index 86f9d56..ad2bec0 100644 --- a/nvim/lua/kogakure/plugins.lua +++ b/nvim/lua/kogakure/plugins.lua @@ -141,7 +141,6 @@ return packer.startup(function(use) use("ray-x/guihua.lua") -- Lua GUI lib use("ray-x/sad.nvim") -- Find & Replace use("gorbit99/codewindow.nvim") -- Minimap - use("https://gitlab.com/madyanov/svart.nvim") -- Editing Files use("windwp/nvim-autopairs") -- Autopairs, integrates with both cmp and treesitter