Summary Files Commits Branches @commit @diff @stats
path: root / lua / text.lua
diff options
context:
space:
mode:
1 files changed, 6 insertions, 0 deletions
-rw-r--r--lua/text.lua6
diff --git a/lua/text.lua b/lua/text.lua
index 4cc146a..898bfa3 100644
--- a/lua/text.lua
+++ b/lua/text.lua
@@ -1,5 +1,11 @@
vim.cmd.highlight({ "Pmenu", "ctermfg=223", "ctermbg=238" })
+vim.api.nvim_create_user_command(
+ "FIND",
+ "vim /\\v(<args>)/ % | set nowrap | copen",
+ { nargs = 1 }
+)
+
--[=[ Treesitter ]=]--
vim.cmd.highlight({ "link", "@variable", "GruvboxFg1" })