diff options
| author | pml68 <contact@pml68.me> | 2024-11-30 01:18:00 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-11-30 01:18:00 +0100 |
| commit | 0ed3daacef4deaf4aac0b544a5e0ade3810ae40a (patch) | |
| tree | 7e658de150d3e46d8dc22491be9d5526ee143768 /lua/pml68/remap.lua | |
| parent | feat: split plugins.lua into manageable "chunks" (diff) | |
| download | nvim-0ed3daacef4deaf4aac0b544a5e0ade3810ae40a.tar.gz | |
feat: add Go support
Diffstat (limited to 'lua/pml68/remap.lua')
| -rw-r--r-- | lua/pml68/remap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua index 220319a..8cfd1d7 100644 --- a/lua/pml68/remap.lua +++ b/lua/pml68/remap.lua @@ -42,6 +42,12 @@ vim.keymap.set("n", "<leader>gol", "<cmd>CellularAutomaton game_of_life<CR>") vim.keymap.set("n", "<leader>ll", "<cmd>VimtexCompile<CR>") vim.keymap.set("n", "<leader>vl", "<cmd>VimtexView<CR>") +-- Go +vim.keymap.set("n", "<leader>gj", "<cmd>GoTagAdd json<CR>") +vim.keymap.set("n", "<leader>gy", "<cmd>GoTagAdd yaml<CR>") +vim.keymap.set("n", "<leader>ge", "<cmd>GoIfErr<CR>") +vim.keymap.set("n", "<leader>gt", "<cmd>GoMod tidy<CR>") + -- Screenkey vim.keymap.set("n", "<leader>sk", "<cmd>Screenkey<CR>") |
