From bb488bd567b5a93fc359ab95ed08d9338d97d366 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Fri, 7 Jul 2023 15:25:50 +0700 Subject: [PATCH] chore(nvim): add typo command --- data/nvim/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index d8ef233..b192c40 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -39,6 +39,12 @@ vim.opt.mouse = "a" -- https://github.com/rafamadriz/dotfiles/commit/1298a91558a7def5866ebee3a0b13899a6d1a78e vim.keymap.set("i", "", "") +-- Typo +vim.cmd("command W w") +vim.cmd("command Q q") +vim.cmd("command WQ wq") +vim.cmd("command Wq wq") + -- Leader vim.keymap.set("n", ";", "", { remap = true }) vim.keymap.set("n", "'", "", { remap = true })