commit
f87772e559
1
init.lua
1
init.lua
@ -57,3 +57,4 @@ vim.api.nvim_exec([[
|
||||
require "zenmode"
|
||||
require "whichkey"
|
||||
require "dashboard"
|
||||
require('nvim_comment').setup()
|
||||
|
@ -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})
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user