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
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"