fix(mappings): fix description of j key in x mode

This commit is contained in:
hoangnh280 2023-04-05 09:56:14 +07:00 committed by Sidhanth Rathod
parent 1754a23e65
commit 0619ef4e1e

View File

@ -57,7 +57,7 @@ M.general = {
},
x = {
["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move left", opts = { expr = true } },
["j"] = { 'v:count || mode(1)[0:1] == "no" ? "j" : "gj"', "move up", opts = { expr = true } },
["k"] = { 'v:count || mode(1)[0:1] == "no" ? "k" : "gk"', "move down", opts = { expr = true } },
-- Don't copy the replaced text after pasting in visual mode
-- https://vim.fandom.com/wiki/Replace_a_word_with_yanked_text#Alternative_mapping_for_paste