From 40de21bb4afa78fdedaf88d26419c2edddac435e Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 11 Apr 2023 17:47:00 +0700 Subject: [PATCH] chore: update vim keymap --- data/nvim/init.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index fc1b7e4..5f42f85 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -35,10 +35,6 @@ vim.keymap.set("i", "", "") -- Keymap vim.keymap.set("n", "s", ":w") -vim.keymap.set("n", "", "h") -vim.keymap.set("n", "", "j") -vim.keymap.set("n", "", "k") -vim.keymap.set("n", "", "l") -- Plugin vim.keymap.set("n", "q", ":FZF") vim.keymap.set("n", "rg", ":Rg") @@ -52,6 +48,7 @@ vim.keymap.set("n", "gt", ":GoAlternate") vim.keymap.set("n", "gtt", ":GoTest") vim.keymap.set("n", "gr", ":GoReferrers") vim.keymap.set("n", "gcv", ":GoCoverage") +vim.keymap.set("n", "gdd", ":GoDeclsDir") -- Use plugin vim-better-whitespace vim.g.better_whitespace_enabled = 1