aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add short documentation for new custom pluginsTom Ryder2017-11-046-0/+77
| | | | | | | | | I'm using the plugin_name.txt syntax suggested by the Vim documentation. That may change in future as I study plugins written by experienced authors like Tim Pope. There will almost certainly be a lot more detail to add to each of these.
* Use same comment boilerplate for custom pluginsTom Ryder2017-11-046-3/+25
| | | | A brief explanation, an author name, and the license should do fine.
* Check 'eval' feature for loading command_typos.vimTom Ryder2017-11-041-1/+1
| | | | | I strongly suspect the presence of 'user_commands' implies it, but I'm not sure.
* Wrap detect_background.vim func call in 'silent!'Tom Ryder2017-11-041-1/+1
| | | | | | This prevents older versions of Vim like 6.2 from throwing "E1017: Missing braces" on merely parsing this code, even though they don't evaluate it.
* Rename and refactor option toggle pluginTom Ryder2017-11-042-54/+51
| | | | | | | | Renamed to flag_toggle.vim and placed in autoload using the namespaced autoload function syntax. I'm not sure this is the right approach yet, but I seem to pretty rarely use a Vim earlier than 7.1 these days.
* Don't suggest mappings in Vim plugin commentsTom Ryder2017-11-044-6/+0
| | | | Pretty useless, really.
* Move Vim background detection logic into pluginTom Ryder2017-11-042-25/+20
|
* Specify an install-vim-autoload targetTom Ryder2017-11-041-0/+6
| | | | | We'll use this for defining Vim functions that should be dynamically loaded when required, rather like how pathogen.vim does it.
* Spin 'fo' toggle out into new flag toggler pluginTom Ryder2017-11-042-27/+62
| | | | | | | | | This is an experimental new plugin that provides a command to toggle individual single-character flags in an option with a value of a set of such flags, in my case 'formatoptions'. A fair bit of evil eval()ing via :execute here, but I've tried to control it with some strict patern matching.
* Spin copyable linebreak config into new pluginTom Ryder2017-11-042-34/+40
| | | | | Calling this one copy_linebreak.vim. Renamed both the internal function and the plugin key.
* Spin stable join config out into new pluginTom Ryder2017-11-042-21/+30
| | | | | Again using the <Plug> mapping abstraction and not defining the mapping for the user.
* Use <Plug> prefix, make space strip configurableTom Ryder2017-11-042-4/+8
| | | | | | This properly abstracts out the StripTrailingWhitespace mapping rather than forcing it to <leader>x within the plugin itself. A bit nicer this way.
* Rename a misnamed variable in big_file.vimTom Ryder2017-11-041-4/+4
| | | | The word "size" was added to this variable's name unnecesarily.
* Rename bigfile plugin to big_fileTom Ryder2017-11-042-13/+13
| | | | | | | | Just for consistency with the other plugins I'm making. I don't think I really like the cutesy names given to Vim plugins. I prefer the slightly longer and maybe even namespaced names like Perl distributions and modules have. Let's see how well this works.
* Move trailing space strip config into pluginTom Ryder2017-11-031-0/+0
|
* Separate command typos config to pluginTom Ryder2017-11-032-15/+14
| | | | | Tentatively named command_typos.vim. I've just moved this as-is for now, but it will need review, especially the hardcoded mappings.
* Merge branch 'feature/rm-stray-vim' into developTom Ryder2017-11-032-40/+3
|\ | | | | | | | | * feature/rm-stray-vim: Move misplaced command.vim file
| * Move misplaced command.vim fileTom Ryder2017-11-032-40/+3
|/ | | | | Looks like this was added in a1ee04d for v0.4.0 and was intended to replace the file in its correct path at vim/config/comment.vim.
* Merge branch 'feature/review-ideas' into developTom Ryder2017-11-021-2/+0
|\ | | | | | | | | * feature/review-ideas: Remove an idea that has now been implemented
| * Remove an idea that has now been implementedTom Ryder2017-11-021-2/+0
|/ | | | | This was implemented and released in v0.4.0 as vim/plugin/bigfile.vim and vim/doc/bigfile.txt.
* Merge branch 'release/v0.4.0' into developTom Ryder2017-11-022-2/+3
|\ | | | | | | | | | | * release/v0.4.0: Add vim/plugin to lint-vim arguments Bump version number to 0.4.0
| * Add vim/plugin to lint-vim argumentsTom Ryder2017-11-021-0/+1
| | | | | | | | | | | | | | This ensures that new plugin code gets tested before being released. We don't add the new vim/doc directory, as it's plain text rather than VimL.
| * Bump version number to 0.4.0Tom Ryder2017-11-021-2/+2
|/
* Merge branch 'feature/vim-plugin' into developTom Ryder2017-11-024-29/+83
|\ | | | | | | | | | | | | | | | | | | | | * feature/vim-plugin: Have bigfileturn local syntax off (configurably) Make bigfile 'synmaxcol' setting configurable Refactor plugin function for dependency injection Rename variable and autocmd to use plugin prefix Make bigfile size variable an option with default Expand comment header for bigfile.vim Move Vim big file options config into plugin
| * Have bigfileturn local syntax off (configurably)Tom Ryder2017-11-021-0/+10
| |
| * Make bigfile 'synmaxcol' setting configurableTom Ryder2017-11-021-2/+7
| | | | | | | | | | Defaults to 256 columns and only sets it if the option's value isn't already lower than that.
| * Refactor plugin function for dependency injectionTom Ryder2017-11-021-13/+21
| | | | | | | | | | | | | | Pass the filename to check and the size limit into the function directly from the autocmd hook. Improve commenting and spacing as we go.
| * Rename variable and autocmd to use plugin prefixTom Ryder2017-11-021-4/+4
| | | | | | | | | | | | Just removing an underscore from the variable name so that g:big_file_size becomes g:bigfile_size, and remove the "dotfiles" prefix from the autocmd.
| * Make bigfile size variable an option with defaultTom Ryder2017-11-021-2/+4
| | | | | | | | | | This arranges for g:big_file_size only to set itself to 10 MiB if the variable is not already set, presumably by the user in their vimrc.
| * Expand comment header for bigfile.vimTom Ryder2017-11-021-1/+8
| | | | | | | | Include some author and license metadata.
| * Move Vim big file options config into pluginTom Ryder2017-11-023-1/+23
| | | | | | | | | | | | | | | | | | | | | | Created targets install-vim-doc and install-vim-plugin with accompanying subdirectories of "vim". Added a very short summary of what the plugin does to bigfile.txt. I intend to spin off at least a couple of the blocks of my Vim configuration that are starting to coalesce into distinct plugins unto themselves, and will place the files in these directories.
| * Merge branch 'hotfix/v0.3.2'v0.3.2Tom Ryder2017-11-012-4/+3
| |\ | | | | | | | | | | | | | | | * hotfix/v0.3.2: Always set GPG_TTY regardless of GPG_AGENT_INFO Bump version number to 0.3.2
* | \ Merge branch 'feature/options-audit' into developTom Ryder2017-11-024-3/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * feature/options-audit: Move 'tildeop' setting to new case.vim file Move 'shellpipe' setting to more logical location Make 'shellslash' setting conditional on feature
| * | | Move 'tildeop' setting to new case.vim fileTom Ryder2017-11-011-0/+0
| | | | | | | | | | | | | | | | | | | | Since it pertains to the casing of text, and there are potentially other items that could go in here too.
| * | | Move 'shellpipe' setting to more logical locationTom Ryder2017-11-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | It makes more sense next to 'shellslash' in vim/config/command.vim than it does in vim/config/term.vim; the latter file is supposed to describe settings related to the terminal, not the shell.
| * | | Make 'shellslash' setting conditional on featureTom Ryder2017-11-011-0/+39
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :help 'shellslash' says: > 'shellslash' only works when a backslash can be used as a path > separator. To test if this is so use: > if exists('+shellslash') This has actually already been done before in 795fd10, but the change was lost in a merge with a branch that restructured the whole Vim configuration.
* | | Merge branch 'hotfix/v0.3.2' into developTom Ryder2017-11-012-4/+3
|\ \ \ | | |/ | |/| | | | | | | | | | * hotfix/v0.3.2: Always set GPG_TTY regardless of GPG_AGENT_INFO Bump version number to 0.3.2
| * | Always set GPG_TTY regardless of GPG_AGENT_INFOTom Ryder2017-11-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GnuPG 2.1 no longer sets the GPG_AGENT_INFO variable, making this a poor choice of precondition for setting GPG_TTY: <https://www.gnupg.org/faq/whats-new-in-2.1.html> The manual page for gpg-agent(1) in GnuPG 2.1 says: >You should always add the following lines to your .bashrc or whatever >initialization file is used for all shell invocations: > > GPG_TTY=$(tty) > export GPG_TTY So we'll follow that literally, and just set it every time.
| * | Bump version number to 0.3.2Tom Ryder2017-11-011-2/+2
| |/
| * Merge branch 'hotfix/v0.3.1'v0.3.1Tom Ryder2017-11-012-3/+3
| |\ | | | | | | | | | | | | | | | * hotfix/v0.3.1: Quote filename correctly in dfv(1df) Bump version number to 0.3.1
* | \ Merge branch 'hotfix/v0.3.1' into developTom Ryder2017-11-012-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | * hotfix/v0.3.1: Quote filename correctly in dfv(1df) Bump version number to 0.3.1
| * | Quote filename correctly in dfv(1df)Tom Ryder2017-11-011-1/+1
| | | | | | | | | | | | | | | If we don't do this, we run the risk of expanding an arbitrary macro VERSION on any given system.
| * | Bump version number to 0.3.1Tom Ryder2017-11-011-2/+2
| |/
| * Merge branch 'release/v0.3.0'v0.3.0Tom Ryder2017-11-017-6/+32
| |\ | | | | | | | | | | | | | | | | | | | | | * release/v0.3.0: Bump version number to 0.3.0 Add dfv(1df) version-printing tool Correct variable name in comment Remove extraneous spacing between words
| * \ Merge branch 'hotfix/v0.2.1'v0.2.1Tom Ryder2017-10-315-8/+8
| |\ \
* | \ \ Merge branch 'release/v0.3.0' into developTom Ryder2017-11-011-2/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * release/v0.3.0: Bump version number to 0.3.0
| * | | Bump version number to 0.3.0Tom Ryder2017-11-011-2/+2
|/ / /
* | | Merge branch 'feature/version-dfv' into developTom Ryder2017-11-014-0/+27
|\ \ \ | | | | | | | | | | | | | | | | * feature/version-dfv: Add dfv(1df) version-printing tool
| * | | Add dfv(1df) version-printing toolTom Ryder2017-11-014-0/+27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | This is mostly just for fun, but could be handy later on when I'm playing with distributed or automated deployments of tagged and verified releases. Like a few of the other shell scripts, this is built by abusing my mi5(1df) wrapper to get static details baked into the shell script that are only known at runtime.
* | | Merge branch 'feature/vim-syn-lint' into developTom Ryder2017-11-012-4/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * feature/vim-syn-lint: Correct variable name in comment Remove extraneous spacing between words