diff options
| author | Aotrix <[email protected]> | 2026-09-18 20:36:22 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-09-18 20:36:22 +0200 |
| commit | a6c39f3019ab3e902527ff96462a43f9f94a6807 (patch) | |
| tree | 2588923a0a5c2032708d3d0f7412699f2820a0ee /lua/aotrix | |
| parent | 3fe91db526ba5c38fcc21cc9653ed2a0fa6ad6c7 (diff) | |
Edit commands quickly
Diffstat (limited to 'lua/aotrix')
| -rw-r--r-- | lua/aotrix/plugins/build.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/aotrix/plugins/build.lua b/lua/aotrix/plugins/build.lua index c940993..e447414 100644 --- a/lua/aotrix/plugins/build.lua +++ b/lua/aotrix/plugins/build.lua @@ -186,6 +186,10 @@ return { vim.api.nvim_create_user_command("DeleteCommand", deleteCommand, {}) + vim.api.nvim_create_user_command("EditCommands", function() + vim.cmd("e " .. PERSONAL_COMMAND_JSON_PATH) + end, {}) + vim.api.nvim_create_autocmd({'BufEnter', 'BufWinEnter', 'DirChanged'}, { callback = function() COMMANDS = {} |
