added commenting keybinding

This commit is contained in:
ashincoder 2021-06-15 15:57:55 +05:30
parent 0350571803
commit c0369c7130
1 changed files with 4 additions and 0 deletions

View File

@ -33,3 +33,7 @@ map("n", "<leader>m", [[ <Cmd> TZMinimalist<CR>]], opt)
map("n", "<C-s>", [[ <Cmd> w <CR>]], opt)
-- vim.cmd("inoremap jh <Esc>")
-- Commenter Keybinding
map("n", "<leader>/", ":CommentToggle<CR>", {noremap = true, silent = true})
map("v", "<leader>/", ":CommentToggle<CR>", {noremap = true, silent = true})