Chore | Change commenter plugin
This commit is contained in:
parent
9897c9665a
commit
5977609f47
@ -1,5 +1,4 @@
|
||||
-- CORE SETTINGS
|
||||
|
||||
local opt = vim.o
|
||||
local global = vim.g
|
||||
|
||||
|
@ -41,8 +41,6 @@ vim.api.nvim_set_keymap('', '<leader>tt', ':TagbarToggle<cr>', {silent = true})
|
||||
vim.api.nvim_set_keymap('', '<C-n>', ':NvimTreeToggle<cr>', {silent = true})
|
||||
-- toggle formatter
|
||||
vim.api.nvim_set_keymap('', '<leader>fm', ':Neoformat<cr>', {silent = true})
|
||||
-- toggle comment
|
||||
vim.api.nvim_set_keymap('', '<leader>/', ':CommentToggle<cr>', {silent = true})
|
||||
-- toggle Hop
|
||||
vim.api.nvim_set_keymap('', '<leader>b', ':HopWordBC<cr>', {silent = true})
|
||||
vim.api.nvim_set_keymap('', '<leader>w', ':HopWordAC<cr>', {silent = true})
|
||||
|
@ -89,9 +89,8 @@ return require('packer').startup(function(use)
|
||||
use {"machakann/vim-sandwich", event = "BufEnter"}
|
||||
|
||||
use {
|
||||
"terrortylor/nvim-comment",
|
||||
config = function() require('nvim_comment').setup() end,
|
||||
cmd = "CommentToggle"
|
||||
'numToStr/Comment.nvim',
|
||||
config = function() require('Comment').setup() end
|
||||
}
|
||||
use {
|
||||
"windwp/nvim-autopairs",
|
||||
@ -184,7 +183,11 @@ return require('packer').startup(function(use)
|
||||
|
||||
-- integrations
|
||||
use {"tpope/vim-fugitive", cmd = "G"}
|
||||
use {"ellisonleao/glow.nvim", branch = 'main', cmd = {"Glow", "GlowInstall"}}
|
||||
use {
|
||||
"ellisonleao/glow.nvim",
|
||||
branch = 'main',
|
||||
cmd = {"Glow", "GlowInstall"}
|
||||
}
|
||||
|
||||
-- fixes and misc. stuff
|
||||
use {"antoinemadec/FixCursorHold.nvim"}
|
||||
|
Loading…
Reference in New Issue
Block a user