diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-05-14 05:38:47 +0200 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-05-14 05:38:47 +0200 |
commit | e73d0e410d39d68c6df14abfe19168ba1cc0c259 (patch) | |
tree | 1a40f5a58d65a588465016f06a3a5ab47fc4b838 /lua/config | |
parent | fdd9078d15b4a5b7c1c8da4ee9f67fa391353b59 (diff) |
checkpointmain
Diffstat (limited to 'lua/config')
-rw-r--r-- | lua/config/test.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/config/test.lua b/lua/config/test.lua new file mode 100644 index 0000000..d728fd8 --- /dev/null +++ b/lua/config/test.lua @@ -0,0 +1,5 @@ +vim.keymap.set("n", " c", function() + local Keyword = vim.fn.input("keyword: ") + vim.cmd([[cexpr system('grep -rnIi "]] .. Keyword .. [["')]]) + vim.cmd("copen") +end, {desc = 'search for keyword'}) |