aboutsummaryrefslogtreecommitdiff
path: root/vim/after
AgeCommit message (Collapse)AuthorFilesLines
2018-11-30Remove stray pipe from b:undo_indent settingTom Ryder1-1/+1
2018-11-30Remove pre-7.0 Vim handling/boilerplateTom Ryder1-4/+7
2018-11-30Require Vim 7 for filetype and syntax highlightsTom Ryder1-5/+0
It's time! The rest of the vimrc can probably be allowed to load, though.
2018-11-29Simplify a load guard for sh.vim syntax tweaksTom Ryder1-3/+2
2018-11-29Clear away a flag after HTML indent loadTom Ryder1-0/+3
2018-11-29Remove some Vim syntax boilerplateTom Ryder3-18/+0
2018-11-29Pare down after/indent scripts a fair bitTom Ryder4-34/+5
More overzealous undo-setting. I should wait until it becomes an actual issue.
2018-11-29Remove some overzealous b:undo_* settingTom Ryder2-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.
2018-11-29Add missing detail to a commentTom Ryder1-1/+1
2018-11-29Remove double-key mapping shortcutsTom Ryder4-14/+0
I never use these anyway; I'm firmly in the habit of using underscores to represent the current line these days.
2018-11-29Remove boilerplate after/ftplugin load guardsTom Ryder13-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.
2018-11-29Simplify after/ftplugin for CTom Ryder2-26/+3
Allow the cpp plugin to load this, since it's the same anyway, and push all the undo stuff together.
2018-11-29Simplify ft=sh subtype flag clearingTom Ryder1-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.
2018-11-29Clear away stock ft=mail quoting mapsTom Ryder1-0/+7
2018-11-29Wrap autocmd! clear for ft=mail in :executeTom Ryder1-2/+2
See commit 0748687.
2018-11-29Add timestamp augroup clearing to Vim ft=htmlTom Ryder1-0/+1
2018-11-29Abbreviate Vim ft=html autocmd clearingTom Ryder1-1/+1
2018-11-29Restore value of 'colorcolumn' after ft=gitcommitTom Ryder1-0/+1
2018-11-29Wrap Vim gitcommit autocmd clear in :executeTom Ryder1-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
2018-11-26Correct indentation in a few vim/after scriptsTom Ryder3-15/+15
2018-11-26Move b:undo_ftplugin unsets for C inline with setsTom Ryder2-4/+6
2018-11-25Define b:undo_indent for Perl buffersTom Ryder1-0/+9
This should probably be pushed upstream.
2018-11-25Set missing b:undo_indent instructions for AWKTom Ryder1-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.
2018-11-25Undo shell script dialect flags from filetype.vimTom Ryder1-0/+10
These local buffer variable flags weren't being cleared correctly on a filetype change.
2018-11-23Correct RHS of (un)important mail ftplugin mapTom Ryder1-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.
2018-11-16Add Bash settings to Vim readline highlightingTom Ryder1-0/+3
This includes the creation of a hitherto-unneeded Makefile target install-vim-syntax.
2018-11-01Ignore unset variables in sh.vim clear scriptTom Ryder1-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
2018-08-30Spin out repeated blank lines map to new pluginTom Ryder1-5/+7
2018-08-29Add mapping to contract multiple blank linesTom Ryder1-0/+5
This should be a command, and may very well be useful outside of mail contexts, but this will do OK for now.
2018-08-27Improve diff block navigation in Vim with functionTom Ryder1-3/+15
2018-08-27Correct a commentTom Ryder1-1/+1
2018-08-27Silence Vim diff section navigation mapsTom Ryder1-2/+2
This is just to prevent the `:call search(...)` command from showing up in the command line when the map is invoked.
2018-08-27Use local leader keys in Vim diff section nav mapsTom Ryder1-4/+4
2018-08-27Use search() in Vim diff section navigation mapsTom Ryder1-2/+4
This preserves the user's primary search pattern.
2018-08-23Remove doubleup in Awk ftpluginTom Ryder1-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.
2018-08-22Add mail shortcut for flagging a message as urgentTom Ryder1-1/+4
2018-08-22Test for g:is_posix existence before purgeTom Ryder1-1/+3
2018-08-22Add load guard to bindzone.vim syntax extensionsTom Ryder1-0/+6
2018-08-22Fix SSHFP/TLSA record highlighting in bindzone.vimTom Ryder1-0/+3
2018-08-21Remove unwanted 'indentkeys' for Vim filetypeTom Ryder1-0/+7
2018-08-20Don't clear away g:loaded_gzipTom Ryder1-1/+0
2018-08-18Revert "Let's try leaving netrw on again for a ...Tom Ryder1-0/+1
This reverts commit 60eab724a29101c54c2d5d1cccd56385a8e5a85c.
2018-08-16Work around buggy old Vim 'help' ftplugin undoTom Ryder1-0/+6
2018-08-16Don't set vint compiler for commandline windowsTom Ryder1-3/+5
2018-08-16Qualify unmap with version number guardTom Ryder1-1/+4
2018-08-16Add a commentTom Ryder1-0/+1
2018-08-15Simplify g:is_posix unset, add g:is_kornshellTom Ryder1-4/+1
2018-08-15Unset g:is_posix when no longer neededTom Ryder1-0/+7
2018-08-15Move Perl boilerplate generation to autoloadTom Ryder1-60/+1
2018-08-14Use consistent format for local leader mappingsTom Ryder3-19/+38