chore(nvim): add typo command

main
sudo pacman -Syu 2023-07-07 15:25:50 +07:00
parent b3d0dc2193
commit bb488bd567
1 changed files with 6 additions and 0 deletions

View File

@ -39,6 +39,12 @@ vim.opt.mouse = "a"
-- https://github.com/rafamadriz/dotfiles/commit/1298a91558a7def5866ebee3a0b13899a6d1a78e
vim.keymap.set("i", "<C-c>", "<C-c>")
-- 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", ";", "<Leader>", { remap = true })
vim.keymap.set("n", "'", "<Leader>", { remap = true })