diff --git a/nvim/lua/maps.lua b/nvim/lua/maps.lua index 898066a..5e325db 100644 --- a/nvim/lua/maps.lua +++ b/nvim/lua/maps.lua @@ -18,11 +18,11 @@ map("n", "*p", "\"*p", { noremap = true }) map("n", "*d", "\"*d", { noremap = true }) -- symbol renaming -map("n", "cn", "(coc-rename)", { silent = true }) +map("n", "-n", "(coc-rename)", { silent = true }) -- apply AutoFix to problem on current line -map("n", "cf", "(coc-fix-current)", { silent = true }) +map("n", "-f", "(coc-fix-current)", { silent = true }) -- open action dialog -map("n", "ca", ":CocAction", { silent = true }) +map("n", "-a", ":CocAction", { silent = true }) -- GoTo code navigation. map("n", "gd", "(coc-definition)", { silent = true }) @@ -37,14 +37,14 @@ map("n", "K", ":call CocActionAsync(\'doHover\')", { silent = true }) map("n", "o", ":CocList -I symbols", { silent = true }) -- format code -map("n", "cr", ":call CocActionAsync(\'format\')", { silent = true }) +map("n", "-r", ":call CocActionAsync(\'format\')", { silent = true }) -- Use to trigger completion. map("i", "", "coc#refresh()", { silent = true, expr = true }) --- Use cd to jump to next diagnostic -map("n", "cd", "(coc-diagnostic-next)", { silent = true }) +-- Use -d to jump to next diagnostic +map("n", "-d", "(coc-diagnostic-next)", { silent = true }) --- Use co to show outline -map("n", "co", ":CocList outline", { silent = true }) +-- Use -o to show outline +map("n", "-o", ":CocList outline", { silent = true })