From 2c72db44df2df70830a515c70c28ef941841c661 Mon Sep 17 00:00:00 2001
From: Hau Nguyen
Use both \
and ;
as leader key.
Use both \
and ;
as leader key:
vim.keymap.set("n", ";", "<leader>", { remap = true })
+vim.keymap.set("n", "q", ":q<CR>")
+ Search multiple words:
:/\vword1|word2|word3
@@ -120,14 +124,7 @@ vim.keymap.set(keymap.set("n", "<leader>cm", ":FZFCommands<CR>")
vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>")
vim.keymap.set("n", "<leader>n", ":NvimTreeFindFile<CR>")
-vim.keymap.set("n", "<leader>tr", ":lua MiniTrailspace.trim()<CR>")
-vim.keymap.set("n", "<F2>", ":GoRename<CR>")
-vim.keymap.set("n", "<leader>gf", ":GoFillStruct<CR>:w<CR>")
-vim.keymap.set("n", "<leader>gat", ":GoAlternate<CR>")
-vim.keymap.set("n", "<leader>gt", ":GoTest<CR>")
-vim.keymap.set("n", "<leader>gr", ":GoReferrers<CR>")
-vim.keymap.set("n", "<leader>gcv", ":GoCoverage<CR>")
-vim.keymap.set("n", "<leader>gdd", ":GoDeclsDir<CR>")
+vim.keymap.set("n", "<leader>tr", ":lua MiniTrailspace.trim()<CR>")
gd
: go to definitiongr
: go to referencesK
: hover<F2>
: rename