diff options
| author | kkard2 <[email protected]> | 2024-03-11 12:55:41 +0100 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2024-03-11 12:55:41 +0100 |
| commit | 362d8a91b80856466c51bf9baade246c37a44709 (patch) | |
| tree | 098a149f7da2b0c9646c6d28e0fbd087a08b55a0 /nvim | |
| parent | 9299e281dc77fd0cc26c97d0ca4c515d3768c192 (diff) | |
i've tagged your mom
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/init.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 1644566..48ceb7c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -116,6 +116,16 @@ vim.keymap.set("i", "<C-l>", function() end end) +-- i've heard you tagged your files so i tagged your file that were not tagged +vim.keymap.set("n", "<leader>tf", function() + local path = vim.api.nvim_buf_get_name(0) + vim.cmd("silent !ctags -a " .. path) +end) + +vim.keymap.set("n", "<leader>td", function() + vim.cmd("silent !ctags -aR .") +end) + -- colorscheme |
