https://github.com/coot/vim_patches
Patches for vim which I wrote (mostly) and which I use.
https://github.com/coot/vim_patches
Last synced: 5 months ago
JSON representation
Patches for vim which I wrote (mostly) and which I use.
- Host: GitHub
- URL: https://github.com/coot/vim_patches
- Owner: coot
- Created: 2014-08-18T20:19:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-14T13:16:29.000Z (over 11 years ago)
- Last Synced: 2025-03-25T13:13:17.997Z (about 1 year ago)
- Homepage: http://www.vim.org
- Size: 180 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[VIM](http://www.vim.rog) patches
=================================
This repository contains vim patches that I use. Most of them I wrote and they are waiting in the famous `:help todo` file.
`argadd.patch`
--------------
by *Marcin Szamotulski*
Add default argument to `:argadd` command: `:argadd` will work like
`:argadd%`.
`arglists.patch`
----------------
by *Marcin Szamotulski*
One of my patches, which was recenlty accepted (version `7.4.312`), adds
`arglistid()` function which returns arglist `ID` (0 for global arglist). This
patch adds new syntax to `:arglocal` command: `:Narglocal` will use the arglist
with ID `N`. There is also another command `:arglists` which lists argument
lists in the current tab page (or all tab pages) with theirs IDs.
`count.patch`
----------------
by *Marcin Szamotulski*
This patch adds counts for `:close`, `Ctrl_Wc`, `:hide`, `Ctrl_Wq`, `:only`,
`Ctrl_Wo` ... commands (ex- and normal-). For example `3q` will quit
window number 3, you can also do `:3quit`, `:.quit` (quit current window),
`:-quit` (quit previous window), `:+quit'`, `:$quit` (quit last window).
It also changes the count for `:argedit`, `:argument`, `:argdelete`:
```
:$argu " edit last argument
:-argu " like :next
:+argu " like :previous
:.,$argdelete " delete all arguments from the current one till the last one
:.argdelete
:argdelete " delete the current argument
:%argdelete " delete all files from the current argument list
```
`buffer.patch`
--------------
by *Marcin Szamotulski*
This patch adds `+cmd` argument for `:buffer`, `:sbuffer`, `:bnext`,
`:bprevious`, ... and all friends. See `:help +cmd`.
`color-digraph-list.patch`
-------------------------
by *Dominique Pellé*
Add colors to `:digraph` output, useful when searching for a digraph.