Merge pull request #66 from ashincoder/main

Added commenter support.
This commit is contained in:
siduck76 2021-06-15 16:32:50 +05:30 committed by GitHub
commit f87772e559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -57,3 +57,4 @@ vim.api.nvim_exec([[
require "zenmode"
require "whichkey"
require "dashboard"
require('nvim_comment').setup()

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})

View file

@ -25,6 +25,9 @@ return packer.startup(
use "windwp/nvim-autopairs"
use "alvan/vim-closetag"
-- Comment
use "terrortylor/nvim-comment"
-- snippet support
use "hrsh7th/vim-vsnip"
use "rafamadriz/friendly-snippets"