mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
init
This commit is contained in:
8
nvim/lua/config/nvim_nerdcommenter.lua
Normal file
8
nvim/lua/config/nvim_nerdcommenter.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local map = require('utils').map
|
||||
local g = vim.g
|
||||
|
||||
-- nerdcommenter
|
||||
map('', '<leader>cc', 'V}:call NERDComment("x", "toggle")<CR>')
|
||||
map('', '<leader>cu', 'V{:call NERDComment("x", "toggle")<CR>')
|
||||
g['NERDTrimTrailingWhitespace'] = 1
|
||||
g['NERDSpaceDelims'] = 1
|
||||
Reference in New Issue
Block a user