aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release/v0.15.0'v0.15.0Tom Ryder2017-11-1327-128/+490
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v0.15.0: (24 commits) Bump version number to 0.15.0 Limit \f mapping to normal mode Move 'hlsearch' insert-mode suspension into plugin Separate g:loaded/&cp tests from feat tests Use :set not :setlocal for 'hlsearch'/'incsearch' Correct nonexistent 'wildmode' value in Vim config Document each 'backspace' flag in Vim config Mention req of toggle_option_flag.vim Adjust first sentence of format_option_toggle.txt Add help links to toggle_option_flag.vim interface Flesh out strip_trailing_whitespace.vim help Specify type of example in mail_mutt.vim doc Adjust layout of headings/links in Vim plugin help Flesh out fixed_join.vim interface documentation Add help tag for detect_background.vim function Flesh out copy_linebreak.vim interface docs Remove nonexistent keyword references from Vim doc Move Vim doc requirement to correct section Apply boilerplate to Vim plugin docs Update and correct detect_background.vim help ...
| * Bump version number to 0.15.0Tom Ryder2017-11-131-2/+2
| |
| * Merge branch 'feature/vimrc-rev' into developTom Ryder2017-11-1312-27/+112
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature/vimrc-rev: Limit \f mapping to normal mode Move 'hlsearch' insert-mode suspension into plugin Separate g:loaded/&cp tests from feat tests Use :set not :setlocal for 'hlsearch'/'incsearch' Correct nonexistent 'wildmode' value in Vim config Document each 'backspace' flag in Vim config
| | * Limit \f mapping to normal modeTom Ryder2017-11-131-1/+1
| | |
| | * Move 'hlsearch' insert-mode suspension into pluginTom Ryder2017-11-133-14/+76
| | | | | | | | | | | | | | | | | | It's easily repackaged and it makes the configuration that much shorter, so I may as well. This version also correctly handles 'hlsearch' not being on in the first place.
| | * Separate g:loaded/&cp tests from feat testsTom Ryder2017-11-126-6/+24
| | | | | | | | | | | | | | | Keeping the tests at the beginning of plugins on one line without continuations is needed to work around &cpo-=C.
| | * Use :set not :setlocal for 'hlsearch'/'incsearch'Tom Ryder2017-11-121-4/+4
| | | | | | | | | | | | They don't have local analogues; they're global options.
| | * Correct nonexistent 'wildmode' value in Vim configTom Ryder2017-11-121-1/+1
| | | | | | | | | | | | | | | There is no such setting as "longest:list". What I meant was "list:longest".
| | * Document each 'backspace' flag in Vim configTom Ryder2017-11-121-3/+8
| |/
| * Merge branch 'feature/vim-plug-maint' into developTom Ryder2017-11-1215-99/+376
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature/vim-plug-maint: Mention req of toggle_option_flag.vim Adjust first sentence of format_option_toggle.txt Add help links to toggle_option_flag.vim interface Flesh out strip_trailing_whitespace.vim help Specify type of example in mail_mutt.vim doc Adjust layout of headings/links in Vim plugin help Flesh out fixed_join.vim interface documentation Add help tag for detect_background.vim function Flesh out copy_linebreak.vim interface docs Remove nonexistent keyword references from Vim doc Move Vim doc requirement to correct section Apply boilerplate to Vim plugin docs Update and correct detect_background.vim help Add path rules for detecting Vim help files Complete mail_mutt.vim documentation Remove stray blank line from mail_mutt.vim Bind norm J on fixed_join.vim load if appropriate
| | * Mention req of toggle_option_flag.vimTom Ryder2017-11-121-1/+2
| | |
| | * Adjust first sentence of format_option_toggle.txtTom Ryder2017-11-121-1/+1
| | |
| | * Add help links to toggle_option_flag.vim interfaceTom Ryder2017-11-121-0/+1
| | |
| | * Flesh out strip_trailing_whitespace.vim helpTom Ryder2017-11-121-6/+21
| | |
| | * Specify type of example in mail_mutt.vim docTom Ryder2017-11-121-3/+3
| | |
| | * Adjust layout of headings/links in Vim plugin helpTom Ryder2017-11-121-6/+3
| | |
| | * Flesh out fixed_join.vim interface documentationTom Ryder2017-11-121-8/+27
| | |
| | * Add help tag for detect_background.vim functionTom Ryder2017-11-121-0/+1
| | |
| | * Flesh out copy_linebreak.vim interface docsTom Ryder2017-11-121-12/+27
| | |
| | * Remove nonexistent keyword references from Vim docTom Ryder2017-11-121-1/+1
| | |
| | * Move Vim doc requirement to correct sectionTom Ryder2017-11-121-3/+2
| | |
| | * Apply boilerplate to Vim plugin docsTom Ryder2017-11-1210-68/+230
| | | | | | | | | | | | | | | | | | The DESCRIPTION heading for each of these is filled out now, but some of them probably need a bit more explanation. The mail_mutt.txt plugin is good, though.
| | * Update and correct detect_background.vim helpTom Ryder2017-11-121-4/+10
| | |
| | * Add path rules for detecting Vim help filesTom Ryder2017-11-121-0/+4
| | | | | | | | | | | | | | | This matches .txt files in any 'doc' directory with 'vim' or '.vim' in its ancestry.
| | * Complete mail_mutt.vim documentationTom Ryder2017-11-121-9/+65
| | |
| | * Remove stray blank line from mail_mutt.vimTom Ryder2017-11-121-1/+0
| | |
| | * Bind norm J on fixed_join.vim load if appropriateTom Ryder2017-11-123-10/+12
| |/ | | | | | | | | | | | | If there are no mappings to the <Plug>FixedJoin target that the fixed_join.vim plugin provides at the time it is loaded, and the line-joining function of normal-mode J is not already mapped, the plugin will try to map it itself, for a more plug-and-play.
| * Merge branch 'release/v0.14.0' into developTom Ryder2017-11-123-6/+12
| |\ | | | | | | | | | | | | | | | | | | * release/v0.14.0: Regenerate dotfiles(7) manual from README.md Bump version number to 0.14.0 Mention Vim restructuring in README
* | \ Merge branch 'release/v0.14.0'v0.14.0Tom Ryder2017-11-1246-305/+526
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | * release/v0.14.0: Regenerate dotfiles(7) manual from README.md Bump version number to 0.14.0 Mention Vim restructuring in README Add guards for presence of b:undo_* var Exclude SC1090 (failed source) shellcheck error Move lots of local Vim config into vim/after Add author/license boilerplate to all plugins
| * | Regenerate dotfiles(7) manual from README.mdTom Ryder2017-11-121-2/+6
| | |
| * | Bump version number to 0.14.0Tom Ryder2017-11-121-2/+2
| | |
| * | Mention Vim restructuring in READMETom Ryder2017-11-121-2/+4
| |/
| * Merge branch 'feature/vim-struct' into developTom Ryder2017-11-1243-305/+514
| |\ | | | | | | | | | | | | | | | | | | * feature/vim-struct: Add guards for presence of b:undo_* var Exclude SC1090 (failed source) shellcheck error Move lots of local Vim config into vim/after
| | * Add guards for presence of b:undo_* varTom Ryder2017-11-1215-78/+158
| | | | | | | | | | | | | | | This variable is not set in older Vims (early 6.x), and I think it's worth guarding for.
| | * Exclude SC1090 (failed source) shellcheck errorTom Ryder2017-11-121-3/+3
| | | | | | | | | | | | | | | | | | This error seems to be raised when ShellCheck can't source a file because its filename is not known until runtime. I don't want it to do that anyway, so I've just excluded it by default.
| | * Move lots of local Vim config into vim/afterTom Ryder2017-11-1243-305/+434
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a relatively drastic change that should have been done progressively, but I got carried away in ripping everything out and putting it back in again. Reading the documentation for writing a Vim script (:help usr_41.txt), I am convinced that all of the content that was in the vim/ftplugin directory and some of the vim/indent directory actually belonged in vim/after/ftplugin and vim/after/indent respectively. This is because the section on filetypes makes the distinction between replacing the core filetype or indent plugins and merely adding to or editing them after the fact; from :help ftplugin: > If you do want to use the default plugin, but overrule one of the > settings, you can write the different setting in a script: > > setlocal textwidth=70 > > Now write this in the "after" directory, so that it gets sourced after > the distributed "vim.vim" ftplugin after-directory. For Unix this > would be "~/.vim/after/ftplugin/vim.vim". Note that the default > plugin will have set "b:did_ftplugin", but it is ignored here. Therefore, I have deleted the user_indent.vim and user_ftplugin.vim plugins and their documentation that I wrote, and their ftplugin.vim and indent.vim shims in ~/.vim, in an attempt to make these plugins elegantly undo-ready, and instead embraced the way the documentation and $VIMRUNTIME structure seems to suggest. I broke the ftplugin files up by function and put them under subdirectories of vim/after named by filetype, as the 'runtimepath' layout permits. In doing so, I also carefully applied the documentation's advice: * Short-circuiting repeated loads * Checking for existing mappings using the <Plug> prefix approach * Avoiding repeated function declarations overwriting each other * Guarding against 'cpotions' mangling things (by simply short-circuiting if 'compatible' is set). I've made the b:undo_ftplugin and b:undo_indent commands less forgiving, and append commands to it inline with the initial establishment of the setup they're reversing, including checking that the b:undo_* variable actually exists in the first place. For the indentation scripts, however, three of the four files originally in vim/indent actually do belong there: 1. csv.vim, because it doesn't have an indent file in the core. 2. tsv.vim, because it doesn't have an indent file in the core. 3. php.vim, because it does what ftplugins are allowed to do in preventing the core indent rules from running at all. The indent/vim.vim rules, however, have been moved to after/indent/vim.vim, because the tweaks it makes for two-space indentation are designed to supplement the core indent rules, not replace them. Finally, I've adjusted Makefile targets accordingly for the above, given the vim/ftplugin directory is now empty and there are three new directories in vim/after to install. We wrap these under a single `install-vim-after` parent target for convenience. The `install-vim-after-ftplugin` target accommodates the additional level of filetype directories beneath it.
| * Merge branch 'feature/vim-plug-boilplate' into developTom Ryder2017-11-112-0/+6
| |\ | | | | | | | | | | | | * feature/vim-plug-boilplate: Add author/license boilerplate to all plugins
| | * Add author/license boilerplate to all pluginsTom Ryder2017-11-112-0/+6
| |/ |/| | | | | user_ftplugin.vim and user_indent.vim seem to be missing it.
* | Merge branch 'release/v0.13.0'v0.13.0Tom Ryder2017-11-1142-173/+459
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v0.13.0: (30 commits) Bump version number to 0.13.0 Move mutt_mail.vim line select logic into plugin Add new mail_mutt.vim plugin, apply mappings Sort 'shortmess' flag settings alphabetically Add 'o' and 'O' back into 'shortmess' Set up individual flags for 'shortmess' Fix oii(1df) so it works as a pipe Use exists+ test rather than exists& Adjust some whitespace and comment layout Move matchit.vim sourcing into plugin.vim Rename netrw.vim to plugin.vim Remove 'shellslash' setting Move fedora.vim into os.vim Remove 'tildeop' setting Rearrange three smaller files into display.vim Move 'paste' options into terminal.vim Move wildmenu config into completion.vim Rename complete.vim to completion.vim Rename term.vim to terminal.vim Rename yank.vim to registers.vim ...
* \ \ Merge branch 'hotfix/v0.12.2'v0.12.2Tom Ryder2017-11-082-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * hotfix/v0.12.2: Correct prefix for b:undo_* variable Bump version number to 0.12.2
| | | * Merge branch 'release/v0.13.0' into developTom Ryder2017-11-111-2/+2
| | | |\ | | | |/ | | |/| | | | | | | | | * release/v0.13.0: Bump version number to 0.13.0
| | * | Bump version number to 0.13.0Tom Ryder2017-11-111-2/+2
| | |/
| | * Merge branch 'feature/vim-mutt-plug' into developTom Ryder2017-11-113-0/+76
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | * feature/vim-mutt-plug: Move mutt_mail.vim line select logic into plugin Add new mail_mutt.vim plugin, apply mappings Beginnings of a buffer-to-Mutt mailer plugin
| | | * Move mutt_mail.vim line select logic into pluginTom Ryder2017-11-112-10/+19
| | | | | | | | | | | | | | | | This makes the configuration shorter and easier to read.
| | | * Add new mail_mutt.vim plugin, apply mappingsTom Ryder2017-11-113-8/+65
| | | | | | | | | | | | | | | | | | | | This plugin provides a shortcut for staring email messages in Mutt with a range of lines.
| | | * Beginnings of a buffer-to-Mutt mailer pluginTom Ryder2017-11-081-0/+10
| | | |
| | * | Merge branch 'feature/vimrc-reunify' into developTom Ryder2017-11-1136-160/+354
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature/vimrc-reunify: (23 commits) Sort 'shortmess' flag settings alphabetically Add 'o' and 'O' back into 'shortmess' Set up individual flags for 'shortmess' Use exists+ test rather than exists& Adjust some whitespace and comment layout Move matchit.vim sourcing into plugin.vim Rename netrw.vim to plugin.vim Remove 'shellslash' setting Move fedora.vim into os.vim Remove 'tildeop' setting Rearrange three smaller files into display.vim Move 'paste' options into terminal.vim Move wildmenu config into completion.vim Rename complete.vim to completion.vim Rename term.vim to terminal.vim Rename yank.vim to registers.vim Move nrformats.vim content to format.vim Rename startup.vim to messages.vim Merge encoding.vim and file.vim into files.vim Move backup, swap, and undo dir logic into plugins ...
| | | * | Sort 'shortmess' flag settings alphabeticallyTom Ryder2017-11-101-6/+6
| | | | |
| | | * | Add 'o' and 'O' back into 'shortmess'Tom Ryder2017-11-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These flags prevent multiple messages from reading or writing multiple files from queuing up and forcing an enter prompt. They're part of the default, which is why I didn't notice their absence until I tried using the setting previous to this commit and opened two files at once.
| | | * | Set up individual flags for 'shortmess'Tom Ryder2017-11-101-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | Most of these are actually the default; may as well explicitly set and document them, however. t and T in particular are new.