Compare commits
No commits in common. "1785d696a5d6495c5430bd95b5f0b80eccfdef7b" and "0816fd4a07454187d8be52f387876411839eb089" have entirely different histories.
1785d696a5
...
0816fd4a07
2 changed files with 0 additions and 16 deletions
|
|
@ -6,14 +6,6 @@ return {
|
||||||
mappings = {
|
mappings = {
|
||||||
n = {
|
n = {
|
||||||
["<Leader>f/"] = require("telescope.builtin").current_buffer_fuzzy_find,
|
["<Leader>f/"] = require("telescope.builtin").current_buffer_fuzzy_find,
|
||||||
|
|
||||||
-- for Neo layout
|
|
||||||
["<C-S>"] = { function() require("smart-splits").move_cursor_left() end, desc = "Move to left split" },
|
|
||||||
["<C-N>"] = { function() require("smart-splits").move_cursor_down() end, desc = "Move to below split" },
|
|
||||||
["<C-R>"] = { function() require("smart-splits").move_cursor_up() end, desc = "Move to above split" },
|
|
||||||
["<C-T>"] = { function() require("smart-splits").move_cursor_right() end, desc = "Move to right split" },
|
|
||||||
|
|
||||||
["<C-C>"] = { function() vim.cmd "redo" end, desc = "Redo" },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,3 @@
|
||||||
-- This will run last in the setup process.
|
-- This will run last in the setup process.
|
||||||
-- This is just pure lua so anything that doesn't
|
-- This is just pure lua so anything that doesn't
|
||||||
-- fit in the normal config locations above can go here
|
-- 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,
|
|
||||||
})
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue