aboutsummaryrefslogtreecommitdiff
path: root/vim/after
Commit message (Collapse)AuthorAgeFilesLines
* Remove b:undo_ftplugin cmds for double-key mapsTom Ryder2018-12-044-7/+0
| | | | | The relevant maps were removed in commit 5f1f5b9, but these unmap instructions were left behind.
* Remove accidentally created html.vim~ fileTom Ryder2018-12-041-35/+0
|
* Use :help for 'keywordprg', junk tag bindingTom Ryder2018-12-041-5/+8
| | | | This is a much nicer approach.
* Unseat tidy(1) as HTML 'equalprg'Tom Ryder2018-12-042-3/+43
| | | | | Instead, remap \= specifically to use tidy(1) to reformat the whole buffer.
* Remove stray pipe from b:undo_indent settingTom Ryder2018-11-301-1/+1
|
* Remove pre-7.0 Vim handling/boilerplateTom Ryder2018-11-301-4/+7
|
* Require Vim 7 for filetype and syntax highlightsTom Ryder2018-11-301-5/+0
| | | | | | It's time! The rest of the vimrc can probably be allowed to load, though.
* Simplify a load guard for sh.vim syntax tweaksTom Ryder2018-11-291-3/+2
|
* Clear away a flag after HTML indent loadTom Ryder2018-11-291-0/+3
|
* Remove some Vim syntax boilerplateTom Ryder2018-11-293-18/+0
|
* Pare down after/indent scripts a fair bitTom Ryder2018-11-294-34/+5
| | | | | More overzealous undo-setting. I should wait until it becomes an actual issue.
* Remove some overzealous b:undo_* settingTom Ryder2018-11-292-23/+0
| | | | | It's not that these shouldn't be set, it's more that it's the wrong place to do it, especially before they've caused any actual problems.
* Add missing detail to a commentTom Ryder2018-11-291-1/+1
|
* Remove double-key mapping shortcutsTom Ryder2018-11-294-14/+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-2913-62/+2
| | | | | | | | 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.
* Simplify after/ftplugin for CTom Ryder2018-11-292-26/+3
| | | | | Allow the cpp plugin to load this, since it's the same anyway, and push all the undo stuff together.
* Simplify ft=sh subtype flag clearingTom Ryder2018-11-291-8/+3
| | | | | | These flags are also set and examined by the stock syntax for the "sh" filetype, so checking for whether they're set at runtime for the ftplugin just confuses things. Just clear them unconditionally instead.
* Clear away stock ft=mail quoting mapsTom Ryder2018-11-291-0/+7
|
* Wrap autocmd! clear for ft=mail in :executeTom Ryder2018-11-291-2/+2
| | | | See commit 0748687.
* Add timestamp augroup clearing to Vim ft=htmlTom Ryder2018-11-291-0/+1
|
* Abbreviate Vim ft=html autocmd clearingTom Ryder2018-11-291-1/+1
|
* 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-263-15/+15
|
* Move b:undo_ftplugin unsets for C inline with setsTom Ryder2018-11-262-4/+6
|
* Define b:undo_indent for Perl buffersTom Ryder2018-11-251-0/+9
| | | | This should probably be pushed upstream.
* Set missing b:undo_indent instructions for AWKTom Ryder2018-11-251-0/+7
| | | | | Switching filetypes from "awk" to another type doesn't load the indentation of the new type, due to the absence of this setting.
* Undo shell script dialect flags from filetype.vimTom Ryder2018-11-251-0/+10
| | | | | These local buffer variable flags weren't being cleared correctly on a filetype change.
* Correct RHS of (un)important mail ftplugin mapTom Ryder2018-11-231-2/+2
| | | | | | | | | | | | | This resolves the issue raised in f1b6f3b, where the mappings did not work if the cursor was on the first line. I had the colon `:` that starts the `ex` command and the `<C-U>` that clears any existing command around the wrong way. Because CTRL-U in normal mode scrolls up, it fails if we're already on the top line, and the rest of the mapping looks to be skipped. There don't seem to be any other instances of the same error that I can find.
* Add Bash settings to Vim readline highlightingTom Ryder2018-11-161-0/+3
| | | | | This includes the creation of a hitherto-unneeded Makefile target install-vim-syntax.
* Ignore unset variables in sh.vim clear scriptTom Ryder2018-11-011-1/+1
| | | | | | | | | Error message is: Error detected while processing /home/tom/.vim/after/syntax/sh.vim: line 10: E108: No such variable: "g:is_kornshell" Press ENTER or type command to continue
* Spin out repeated blank lines map to new pluginTom Ryder2018-08-301-5/+7
|
* Add mapping to contract multiple blank linesTom Ryder2018-08-291-0/+5
| | | | | This should be a command, and may very well be useful outside of mail contexts, but this will do OK for now.
* Improve diff block navigation in Vim with functionTom Ryder2018-08-271-3/+15
|
* Correct a commentTom Ryder2018-08-271-1/+1
|
* Silence Vim diff section navigation mapsTom Ryder2018-08-271-2/+2
| | | | | This is just to prevent the `:call search(...)` command from showing up in the command line when the map is invoked.
* Use local leader keys in Vim diff section nav mapsTom Ryder2018-08-271-4/+4
|
* Use search() in Vim diff section navigation mapsTom Ryder2018-08-271-2/+4
| | | | This preserves the user's primary search pattern.
* Remove doubleup in Awk ftpluginTom Ryder2018-08-231-9/+0
| | | | | | The after/ftplugin version does exactly the same things as the primary ftplugin version does; this file should have been removed in commit a2f8dea.
* Add mail shortcut for flagging a message as urgentTom Ryder2018-08-221-1/+4
|
* Test for g:is_posix existence before purgeTom Ryder2018-08-221-1/+3
|
* Add load guard to bindzone.vim syntax extensionsTom Ryder2018-08-221-0/+6
|
* Fix SSHFP/TLSA record highlighting in bindzone.vimTom Ryder2018-08-221-0/+3
|
* Remove unwanted 'indentkeys' for Vim filetypeTom Ryder2018-08-211-0/+7
|
* Don't clear away g:loaded_gzipTom Ryder2018-08-201-1/+0
|
* Revert "Let's try leaving netrw on again for a ...Tom Ryder2018-08-181-0/+1
| | | | This reverts commit 60eab724a29101c54c2d5d1cccd56385a8e5a85c.
* Work around buggy old Vim 'help' ftplugin undoTom Ryder2018-08-161-0/+6
|
* Don't set vint compiler for commandline windowsTom Ryder2018-08-161-3/+5
|
* Qualify unmap with version number guardTom Ryder2018-08-161-1/+4
|
* Add a commentTom Ryder2018-08-161-0/+1
|