mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
commit
f87772e559
3 changed files with 8 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -57,3 +57,4 @@ vim.api.nvim_exec([[
|
||||||
require "zenmode"
|
require "zenmode"
|
||||||
require "whichkey"
|
require "whichkey"
|
||||||
require "dashboard"
|
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)
|
map("n", "<C-s>", [[ <Cmd> w <CR>]], opt)
|
||||||
-- vim.cmd("inoremap jh <Esc>")
|
-- 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 "windwp/nvim-autopairs"
|
||||||
use "alvan/vim-closetag"
|
use "alvan/vim-closetag"
|
||||||
|
|
||||||
|
-- Comment
|
||||||
|
use "terrortylor/nvim-comment"
|
||||||
|
|
||||||
-- snippet support
|
-- snippet support
|
||||||
use "hrsh7th/vim-vsnip"
|
use "hrsh7th/vim-vsnip"
|
||||||
use "rafamadriz/friendly-snippets"
|
use "rafamadriz/friendly-snippets"
|
||||||
|
|
Loading…
Reference in a new issue