aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
Commit message (Collapse)AuthorAgeFilesLines
* Refactor Vim mail header field shortcutsTom Ryder2019-01-061-10/+24
|
* Revert "Add experimental delimit_operator.vim plugin"Tom Ryder2019-01-041-50/+0
| | | | | | | | | This reverts commit 6ed48b12e451a0770d5a3f236e66e0e7e9a39c8d. I don't think this is the right approach. The main reason I dropped surround.vim was because I didn't like how often I was doing something that doesn't work at all in vanilla Vim. If I make a half-assed re-implementation, I'm just perpetuating the problem.
* Add experimental delimit_operator.vim pluginTom Ryder2019-01-041-0/+50
| | | | | | This is an attempt at a small subset of surround.vim's behaviour, hopefully drastically simplified. I'm not actually sure how useful or practical this is going to be yet.
* Trim some trailing whitespaceTom Ryder2018-12-311-2/+0
|
* Move filetype.vim helper funcs into autoloadTom Ryder2018-12-081-0/+76
| | | | | May as well, now that we've dropped support for versions of Vim that don't have it.
* Unseat tidy(1) as HTML 'equalprg'Tom Ryder2018-12-041-0/+7
| | | | | Instead, remap \= specifically to use tidy(1) to reformat the whole buffer.
* Remove line squeezing function for mail.vimTom Ryder2018-12-041-20/+0
| | | | | The mapping was removed in commit 44a75be, but not the autoloaded function that the plugin was replacing.
* Add `abort` attribute to new autoload functionTom Ryder2018-11-301-1/+1
|
* Add dummy function for HTML omnicompletionTom Ryder2018-11-291-0/+5
| | | | | | | The function invoked to detect the HTML type for omnicompletion is pretty big, sets a few buffer variables that it doesn't arrange to clear, and I don't use it at all. Loading a dummy function in its place seems to be better.
* Leave final blank for mail line squeeze, not firstTom Ryder2018-08-301-1/+1
|
* Count quoted blank lines for mail line squeezeTom Ryder2018-08-301-1/+1
|
* Add mapping to contract multiple blank linesTom Ryder2018-08-291-0/+20
| | | | | This should be a command, and may very well be useful outside of mail contexts, but this will do OK for now.
* Convert a few stridx() to alternative formsTom Ryder2018-08-271-1/+1
| | | | | | If we don't actually want to know whether the string occurs *anywhere* in the line, just at the start, we should really use substring operations or plain old regular expression tests.
* Improve diff block navigation in Vim with functionTom Ryder2018-08-271-0/+29
|
* Add mail shortcut for flagging a message as urgentTom Ryder2018-08-221-0/+9
|
* Move Perl boilerplate generation to autoloadTom Ryder2018-08-151-0/+58
|
* Add `abort` attribute to autoloaded mail functionTom Ryder2018-08-141-1/+1
|
* Move Vim mail functions to autoloadTom Ryder2018-08-141-0/+58
|
* Spin out vertical_region.vim into submoduleTom Ryder2018-08-101-37/+0
|
* Use autoloading for vertical_region.vimTom Ryder2018-08-101-0/+37
|
* Refactor Git commit cursor column with snip lineTom Ryder2018-07-231-10/+11
|
* Don't quote first and last lines of range if blankTom Ryder2018-07-171-1/+8
| | | | | This allows quoting paragraphs and blocks using { } and similar motions, doing what I mean.
* Add reformatting analogue to quote mappingsTom Ryder2018-07-161-0/+12
|
* Adaptive 'colorcolumn' for gitcommit filetypeTom Ryder2018-07-141-0/+20
|
* Expand and comment quoting functionsTom Ryder2018-07-141-2/+21
|
* Change mail quoting to generic autoload functionTom Ryder2018-07-142-11/+11
| | | | I intend to use it elsewhere.
* Replace mail.vim quoting mappingsTom Ryder2018-07-131-0/+11
|
* Remove session_lazy.vimTom Ryder2018-07-101-25/+0
| | | | | I think this is the wrong approach, and maybe even a slight security risk.
* Add session_lazy.vim pluginTom Ryder2018-07-101-0/+25
| | | | | | | Mostly to properly tie down the way I want sessions to behave while I write my book. No documentation yet!
* Overhaul ftplugin check, lint, tidyTom Ryder2018-07-093-40/+6
| | | | | | | | | | | | - 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
* Move shebang updating into filetype.vimTom Ryder2018-07-081-7/+0
| | | | Much more logical location.
* Add shebang_update.vim pluginTom Ryder2018-07-051-0/+7
| | | | | This plugin updates the filetype after every insert operation that changes the first line. No documentation yet.
* Spin off Vim Perl version bump into ftpluginTom Ryder2018-07-041-45/+0
|
* Have Vim Perl major version bump map reset minorTom Ryder2018-07-041-5/+5
|
* Rewrite Perl version-number bump Vim funcsTom Ryder2018-07-041-9/+26
|
* Add _v/_V Vim maps for Perl version bumpsTom Ryder2018-07-031-0/+28
|
* Merge HTML timestamp into after/ftplugin/html.vimTom Ryder2018-07-012-15/+17
| | | | | I don't see myself breaking this out into its own ftplugin, and the Makefile can be simpler this way.
* Add new html/timestamp.vim ftpluginTom Ryder2018-07-011-0/+15
| | | | | Not sure if this one will get published--it's a bit ad-hoc in its current state.
* Refactor ftplugins into single filesTom Ryder2018-06-301-0/+15
| | | | Each thereby effectively becomes its own .vimrc for that type.
* Remove stray vim/autoload/vimrc.vim fileTom Ryder2018-06-301-39/+0
|
* Clear local leader maps on filetype changeTom Ryder2018-06-251-0/+39
| | | | | | | | | | | | Iterate through all the buffer-local mappings each time the filetype changes, and clear any that begin with the local leader, using two autoloaded functions and one autoload variable for :redir. I really don't think it should be this hard. I hope I haven't missed something in the documentation that makes this easier. I thought maparg() or mapcheck() might do it, but no such luck. Maybe I can refactor this later.
* Add missing !Tom Ryder2018-06-171-1/+1
|
* Use autoload function for tidy filtersTom Ryder2018-06-171-0/+7
|
* Refine compiler#Make() functionTom Ryder2018-06-171-1/+23
|
* Use autoload function for temp-makeprg :lmakeTom Ryder2018-06-171-0/+11
|
* Move markdown_autoformat.vim funcs back to localTom Ryder2018-06-041-63/+0
| | | | No advantage to making them autoload
* Use heuristics on Markdown to guess autoformatTom Ryder2018-06-041-0/+24
|
* Refactor suspend_autoformat.vim, add autoloadTom Ryder2018-06-041-0/+39
| | | | | | | | * Add a function to suspend autoformatting for the duration of pasting lines. * Factor the ftplugin's functions out to be autoloaded; this requires Vim >=7.0, but it already needed that. * Add Makefile infrastructure for new autoload directories/files.
* Junk detect_background.vim and thereby autoloadTom Ryder2018-05-311-37/+0
| | | | | | | | | | | It's too complicated and confusing, and doesn't do enough to justify wrecking Vim's own logic for doing this sort of thing. Better to just say `:set background=dark` and be done with it. This is the only one of my inline plugins with an `autoload` file, so we can get rid of that, too. Not worth packaging/publishing to www.vim.org.
* Join short-circuit line in detect_background.vimTom Ryder2018-01-211-2/+1
| | | | | This makes the block work correctly when 'compatible' is set and 'C' is in 'cpoptions'.