mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-06 18:36:50 +00:00
New fetcher packages: - chromedist: Chrome for Testing API (googlechromelabs.github.io) - gpgdist: SourceForge RSS for GPG macOS - mariadbdist: MariaDB downloads REST API New releases.conf files for: - GitHub: aliasman, awless, duckdns.sh, hugo-extended, kubens, rg, postgres - gittag: vim-commentary, vim-zig - gitea: pathman - chromedist: chromedriver - gpgdist: gpg - mariadbdist: mariadb - nodedist: node Alias support (alias_of key): - golang → go, dashd → dashcore, psql → postgres, zig.vim → vim-zig - Aliases skip fetching and share cache with their target Every package with a releases.js now has a releases.conf (except the dead macos package). fetchraw dispatches to all 13 source types.
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| vim-commentary | https://github.com/tpope/vim-commentary | Toggle blocks of line comments. |
To update (replacing the current version) run webi vim-smartcase.
Files
These are the files / directories that are created and/or modified with this install:
~/.vimrc
~/.vim/pack/plugins/start/vim-commentary/
~/.vim/plugins/smartcase.vim
Cheat Sheet
Makes it super easy to toggle entire blocks of comments.
gc
vto enter visual modelhjkl(or arrow keys) to select linesgcto toggle comments on or off
How to add file types
Update ~/.vim/plugins/commentary.vim with a line like this:
autocmd FileType apache setlocal commentstring=#\ %s
How to do Advanced Vim-Nerd Stuff
All the typical navigation applies:
Use
gccto comment out a line (takes a count),gcto comment out the target of a motion (for example,gcapto comment out a paragraph),gcin operator pending mode to target a comment. You can also use it as a command, either with a range like:7,17Commentary, or as part of a:globalinvocation like with:g/TODO/Commentary. - The Official README