diff --git a/lua/plugins/mappings.lua b/lua/plugins/mappings.lua index 4a8cc2b..09a589b 100644 --- a/lua/plugins/mappings.lua +++ b/lua/plugins/mappings.lua @@ -6,14 +6,6 @@ return { mappings = { n = { ["f/"] = require("telescope.builtin").current_buffer_fuzzy_find, - - -- for Neo layout - [""] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" }, - [""] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" }, - [""] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" }, - [""] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" }, - - [""] = { function() vim.cmd "redo" end, desc = "Redo" }, }, }, }, diff --git a/lua/polish.lua b/lua/polish.lua index 9f04b18..2fa6cc8 100644 --- a/lua/polish.lua +++ b/lua/polish.lua @@ -1,11 +1,3 @@ -- This will run last in the setup process. -- This is just pure lua so anything that doesn't -- fit in the normal config locations above can go here - -vim.api.nvim_create_user_command("Grg", function(opts) - -- print(table.concat({ "-g", opts.fargs[1] }, " ")) - require("telescope.builtin").live_grep { additional_args = { "-g", opts.fargs[1] } } -end, { - desc = "Add a glob-rule to the telescope live ripgrep", - nargs = 1, -})