All Projects → manasthakur → vim-commentor

manasthakur / vim-commentor

Licence: MIT license
Toggling comments became easier!

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-commentor

hide-comments-everywhere
A browser extension for hiding major commenting systems like Disqus, Livefyre, Facebook plugin, WordPress, YouTube, etc.
Stars: ✭ 27 (-6.9%)
Mutual labels:  comments
sourcekarma
Discover how people react to you on GitHub 👍
Stars: ✭ 101 (+248.28%)
Mutual labels:  comments
todo-vim
Simple todo plugin for vim
Stars: ✭ 24 (-17.24%)
Mutual labels:  vim-plugin
CommentFrame.vim
Add Comments in Frames to the file you're editing, or Comments aligned on the Right side of a line. Customizable!
Stars: ✭ 42 (+44.83%)
Mutual labels:  vim-plugin
denops-docker.vim
Manage Docker in Vim/Neovim
Stars: ✭ 48 (+65.52%)
Mutual labels:  vim-plugin
filestyle
filestyle is a Vim plugin that highlights unwanted whitespace and characters.
Stars: ✭ 30 (+3.45%)
Mutual labels:  vim-plugin
grav-plugin-comments
Grav Comments Plugin
Stars: ✭ 52 (+79.31%)
Mutual labels:  comments
swdc-vim
Track your programming activity in real-time in Vim
Stars: ✭ 19 (-34.48%)
Mutual labels:  vim-plugin
vim-tips-wiki
1500+ tips downloaded from Vim Tips Wiki, parsed and formatted to look and work like native Vim help files
Stars: ✭ 56 (+93.1%)
Mutual labels:  vim-plugin
DidYouMean
Vim plugin which asks for the right file to open
Stars: ✭ 82 (+182.76%)
Mutual labels:  vim-plugin
cosme.vim
Cosmetic color scheme for Vim
Stars: ✭ 63 (+117.24%)
Mutual labels:  vim-plugin
vim-swap
Easy swapping of text in Vim
Stars: ✭ 18 (-37.93%)
Mutual labels:  vim-plugin
denops-gh.vim
Vim/Neovim plugin for GitHub
Stars: ✭ 27 (-6.9%)
Mutual labels:  vim-plugin
steam-mass-comment-bot
💬 Comment with a few clicks under a ton of steam profiles & groups!
Stars: ✭ 16 (-44.83%)
Mutual labels:  comments
vim-gnote
make your mailbox as a note place
Stars: ✭ 16 (-44.83%)
Mutual labels:  vim-plugin
vim-thematic
Alter Vim's appearance to suit your task & environ
Stars: ✭ 218 (+651.72%)
Mutual labels:  vim-plugin
uxntal.vim
Uxntal support for Vim
Stars: ✭ 32 (+10.34%)
Mutual labels:  vim-plugin
fzf-hoogle.vim
(neo)vim plugin that uses fzf for previewing hoogle search results
Stars: ✭ 37 (+27.59%)
Mutual labels:  vim-plugin
equal.operator
A text-object for LHS/RHS of assignment.
Stars: ✭ 16 (-44.83%)
Mutual labels:  vim-plugin
poet-v
Vim Meets Poetry and Pipenv Virtual Environments
Stars: ✭ 57 (+96.55%)
Mutual labels:  vim-plugin

Vim-Commentor

Toggling comments became easy! Use vim-commentor to toggle comments in any filetype with ease. Vim-Commentor provides a comment operator that comments out a linewise motion in normal mode, as well as the selected text in visual mode.

Vim-Commentor borrows ideas from the famous commentary plugin by Tim Pope. It is different from the same because it comments out a line at the beginning, instead of at indented locations, and also comments blank lines, thus solving issues such as this and this.

Features

  • The comment-leader is automatically derived from the commentstring. Thus, the correct comment-leader is inserted automatically for all the filetypes recognized by Vim.

  • The comment mappings are repeatable using the dot (.) operator.

Usage

  • To (un)comment a single line: gcc

  • To (un)comment selected text: gc

  • To comment out a motion: gc<motion>. For example:

    • gcj will toggle comment over the current line and the next
    • gc2k will toggle comment over the current line and two lines above
    • gcip will comment out inside the current paragraph, and so on.

Please see the documentation for more details.

Installation

Use your favorite plugin-manager, or install manually. Refer this article for general help on managing plugins in Vim.

Star this repository on GitHub if you like the plugin. Feel free to send bricks and bouquets to [email protected].

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].