aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/gitcommit.vim
Commit message (Collapse)AuthorAgeFilesLines
* Remove double-key mapping shortcutsTom Ryder2018-11-291-4/+0
| | | | | I never use these anyway; I'm firmly in the habit of using underscores to represent the current line these days.
* Remove boilerplate after/ftplugin load guardsTom Ryder2018-11-291-5/+0
| | | | | | | | I'm likely going to move away from Vim 6.0 support, at least for all of this filetype stuff. We will keep the one filetype load guard we actually need, which is the HTML one, to stop plugins like markdown.vim from loading it.
* Restore value of 'colorcolumn' after ft=gitcommitTom Ryder2018-11-291-0/+1
|
* Wrap Vim gitcommit autocmd clear in :executeTom Ryder2018-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | Noticed that my b:undo_ftplugin script for this filetype was only getting halfway through its work, and stopping at this command. From `:help autocmd`: > Note: The ":autocmd" command can only be followed by another command when the > '|' appears before {cmd}. This works: > :augroup mine | au! BufRead | augroup END > But this sees "augroup" as part of the defined command: > :augroup mine | au! BufRead * | augroup END > :augroup mine | au BufRead * set tw=70 | augroup END > Instead you can put the group name into the command: > :au! mine BufRead * > :au mine BufRead * set tw=70 > Or use :execute: > :augroup mine | exe "au! BufRead *" | augroup END > :augroup mine | exe "au BufRead * set tw=70" | augroup END
* Correct indentation in a few vim/after scriptsTom Ryder2018-11-261-1/+1
|
* Use consistent format for local leader mappingsTom Ryder2018-08-141-8/+16
|
* Add reformatting analogue to quote mappingsTom Ryder2018-07-161-0/+6
|
* Add missing <buffer> to mail quote unmapsTom Ryder2018-07-151-3/+3
|
* Check for +autocmd before gitcommit ftplugin hooksTom Ryder2018-07-151-1/+1
|
* Adaptive 'colorcolumn' for gitcommit filetypeTom Ryder2018-07-141-0/+10
|
* Add mail quote maps for gitcommit and markdownTom Ryder2018-07-141-0/+13
|
* Overhaul after/ftpluginTom Ryder2018-07-101-4/+2
| | | | | | Use .= operator to append to b:undo_ftplugin, as we're requiring Vim 7.0 or later everywhere here anyway. Also remove &compatible where we don't need line breaks.
* Overhaul ftplugin check, lint, tidyTom Ryder2018-07-091-7/+3
| | | | | | | | | | | | - Set 'equalprg' for HTML and Perl - Discard filter#Stable() - Set default :compiler for all applicable filetypes - Change local leader mappings for Perl and shell script merely to set :compiler, rather than running it - Bind global leader mapping for running :lmake! - Bind global leader mappings for applying 'equalprg' and 'formatprg' to the whole buffer, using a new autoloaded helper function vimrc#Anchor() to avoid the cursor jumping around
* Overhaul base after-ftpluginsTom Ryder2018-07-081-13/+9
| | | | Mostly to simplify them--remove a lot of the load-guard cruft.
* Wrap comments with `gq` in Git commit messagesTom Ryder2018-07-071-1/+1
| | | | | | | | I like quoting things in Git commit messages, as if they were mail messages. This was supposed to be fixed in commit a5b8367, but I didn't add all the necessary flags.
* Add 'c' flag to 'formatoptions' for gitcommitTom Ryder2018-07-021-1/+1
| | | | This is so that quotes wrap pleasantly.
* Make Vim ftplugin preamble consistent with pluginsTom Ryder2018-07-011-1/+4
|
* Conform all after/ftplugin filesTom Ryder2018-06-301-3/+6
|
* Join some b:undo_ftplugin addendaTom Ryder2018-06-301-2/+1
|
* Refactor ftplugins into single filesTom Ryder2018-06-301-0/+14
Each thereby effectively becomes its own .vimrc for that type.