Comment.nvim - nvim ์ฃผ์์ฒ๋ฆฌ ํ๋ก๊ทธ๋จ
Intro ํ๋ก๊ทธ๋๋ฐ ํ๊ฒฝ์์ ๊ฐ ์ธ์ด๋ณ ์ฃผ์์ฒ๋ฆฌ๋ฅผ ์ฝ๊ฒ ์ถ๊ฐ ์ ๊ฑฐ ํ ์ ์๋ ํ๋ฌ๊ทธ์ธ ๊ด๋ จ ํ๋ฌ๊ทธ์ธ ์ค์ ๊ฐ์ฅ ์ธ๊ธฐ๊ฐ ๋ง๊ณ ์ฌ์ฉ์ด ํธ๋ฆฌํ๋ค. Features Supports treesitter. Supports commentstring. Read :h comment.commentstring Supports line (//) and block (/* */) comments Dot (.) repeat support for gcc, gbc and friends Count support for [count]gcc and [count]gbc Left-right (gcw gc$) and Up-Down (gc2j gc4k) motions Use with text-objects (gci{ gbat) Supports pre and post hooks Ignore certain lines, powered by Lua regex Install With packer.nvim use { 'numToStr/Comment.nvim', config = function() require('Comment').setup() end } Manual Install $ cd ~/.local/share/nvim/site $ git clone https://github.com/numToStr/Comment.nvim $ cp Comment.nvim/plugin/Comment.lua plugin/ $ cp -r Comment.nvim/lua/Comment lua/ $ vi ~/.config/nvim/init.lua ... lua require('Comment').setup() :so % REFERNCE Comment.nvim Github: https://github.com/numToStr/Comment.nvim