All Projects → tyru → Caw.vim

tyru / Caw.vim

Vim comment plugin: supported operator/non-operator mappings, repeatable by dot-command, 300+ filetypes

Projects that are alternatives of or similar to Caw.vim

grav-plugin-comments
Grav Comments Plugin
Stars: ✭ 52 (-83.75%)
Mutual labels:  comment
comment
Online Generator for Kary Foundation Comment System (KFCS) http://comment.kary.us
Stars: ✭ 20 (-93.75%)
Mutual labels:  comment
Comment.nvim
🧠 💪 // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more
Stars: ✭ 796 (+148.75%)
Mutual labels:  comment
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 (-86.87%)
Mutual labels:  comment
comment-box.nvim
✨ Clarify and beautify your comments using boxes and lines.
Stars: ✭ 91 (-71.56%)
Mutual labels:  comment
DanDanPlay-PHP
DanDanPlay远程访问 的 PHP 实现版本
Stars: ✭ 30 (-90.62%)
Mutual labels:  comment
waline
💬 A Simple, Safe Comment System
Stars: ✭ 1,145 (+257.81%)
Mutual labels:  comment
Waline
A Simple, Safe Comment System inspired by Valine | 一款基于 Valine 衍生的简洁、安全的评论系统
Stars: ✭ 260 (-18.75%)
Mutual labels:  comment
action-create-comment
💬 GitHub Action to create a comment
Stars: ✭ 30 (-90.62%)
Mutual labels:  comment
vim-prismo
A Vim plugin to decorate your commented titles.
Stars: ✭ 21 (-93.44%)
Mutual labels:  comment
styleguide-todo-grammar
/sBin/StyleGuide/ToDo
Stars: ✭ 19 (-94.06%)
Mutual labels:  comment
InstaBot
Simple and friendly Bot for Instagram, using Selenium and Scrapy with Python.
Stars: ✭ 32 (-90%)
Mutual labels:  comment
label-actions
🤖 GitHub Action that performs certain tasks when issues, pull requests or discussions are labeled or unlabeled
Stars: ✭ 60 (-81.25%)
Mutual labels:  comment
commentator
A simple commenting system for your blog.
Stars: ✭ 29 (-90.94%)
Mutual labels:  comment
yii2-blog
Simple, configurable blog module for Yii2 (post, comment, nested category, tags). + frontend, backend. + SEO! (Opengraph, Schema.org) ~~~COMING SOON V2.0~~~ Please STAR this repo
Stars: ✭ 79 (-75.31%)
Mutual labels:  comment
django-simple-forum
full featured forum, easy to integrate and use.
Stars: ✭ 65 (-79.69%)
Mutual labels:  comment
YouTube.js
🎥 full-featured wrapper around YouTube's private API — reverse engineering InnerTube
Stars: ✭ 2,232 (+597.5%)
Mutual labels:  comment
Commit Comments
Build commit message in the comments of your code
Stars: ✭ 314 (-1.87%)
Mutual labels:  comment
neogen
A better annotation generator. Supports multiple languages and annotation conventions.
Stars: ✭ 339 (+5.94%)
Mutual labels:  comment
Xiecheng Comment
🌈Xiecheng_Comment多线程Threading爬取携程的丽江古城景点评论并生成词云
Stars: ✭ 23 (-92.81%)
Mutual labels:  comment

Build Status

Requirements

  • Vim 8.0 or later

Features

  • Supports 300+ filetypes (:help caw-supported-filetypes).
    • But caw.vim does not slow down your Vim startup because each comment string are defined at ftplugin files (after/ftplugin/<filetype>/caw.vim).
  • Supports operator keymappings (:help caw-keymappings-operator).
    • If g:caw_operator_keymappings is non-zero, all default keymappings map to operator keymappings.
    • If you need kana/vim-operator-user to use operator keymappings.
  • Supports also non-operator keymappings (:help caw-keymappings-non-operator).
  • Dot-repeatable if you installed kana/vim-repeat
  • The comment behavior only depends on 'filetype' by default. But if you have installed Shougo/context_filetype.vim, caw.vim also depends on the filetype of the context of the current cursor location. So you can comment/uncomment JavaScript in HTML correctly.
  • Well-tested powered by thinca/vim-themis

How it works

The below are the examples in "filetype=c". caw.vim supports 300+ filetypes (:help caw-supported-filetypes).

Type "gci" (toggle: "gcc", uncomment: "gcui")
  before:
      "   <- inserted here"
  after:
      "   # <- inserted here"

Type "gcI" (uncomment: "gcuI")
  before:
      "   inserted the first column"
  after:
      "#    inserted the first column"

Type "gca" (uncomment: "gcua")
  before:
      "inserted after this"
  after:
      "inserted after this    # "

Type "gcw" (uncomment: "gcuw")
  before:
      "  wrap!"
  after:
      "  /* wrap! */"

Type "gcb"
  before:
      "  box!"
  after:
      "  /********/"
      "  /* box! */"
      "  /********/"

Type "gco"
  before:
      "   func1();"
  after:
      "   func1()"
      "   // "  (now cursor is at the end and entered insert-mode)

Type "gcO"
  before:
      "   func1();"
  after:
      "   // "  (now cursor is at the end and entered insert-mode)
      "   func1();"
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].