aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove diagnostic messages from check/lint scriptsTom Ryder2018-12-1917-25/+0
| | | | So that `make -s` works nicely.
* Merge branch 'release/v3.4.0' into developTom Ryder2018-12-191-2/+2
|\ | | | | | | | | * release/v3.4.0: Bump VERSION
| * Bump VERSIONTom Ryder2018-12-191-2/+2
|/
* Make <LocalLeader>f to toggle HTML/PHPTom Ryder2018-12-192-0/+10
| | | | | I'm thinking I might make this a generic mapping for "alternate filetype".
* Merge branch 'release/v3.3.0' into developTom Ryder2018-12-191-2/+2
|\ | | | | | | | | * release/v3.3.0: Bump VERSION
| * Bump VERSIONTom Ryder2018-12-191-2/+2
|/
* Add sh.vim mapping to insert '\'' quicklyTom Ryder2018-12-191-0/+9
| | | | | | This was added as a Bash Readline macro in commit 25b513d, and has proven to be very useful. I don't normally like insert mode maps in Vim, especially Alt keys, so I'm not sure this will stick; we'll see.
* Remove now-unneeded shellcheck disable rulesTom Ryder2018-12-172-2/+0
| | | | | | | These two comments disabling SC2154 were added in commit 5fa3ef7, because ShellCheck 0.50 did not recognise the NAME pointed to by `read -a NAME` commands as an array assignment. This bug has been corrected in ShellCheck 0.60, meaning that these comments are no longer required.
* Follow ShellCheck's recommendation of -z over !-nTom Ryder2018-12-172-2/+2
| | | | I think !-n is a little clearer, but -z is OK.
* Adjust PS1-PS4 resetTom Ryder2018-12-171-5/+12
|
* Use exec for clearer subshell semanticsTom Ryder2018-12-171-1/+1
|
* Use `command` consistently, silence ShellCheckTom Ryder2018-12-1711-13/+23
| | | | | | | | | | ShellCheck (SC2164) is upset about these `cd` commands where the return type isn't being checked, but they're all by design, as they're the last command in the function, and thereby constitute the function's return value implicitly. Otherwise, this commit changes the shrc.d and profile.d subfiles to use the `command` wrapper only where it's actually needed.
* Add /j flag to :vimgrep shortcutTom Ryder2018-12-171-1/+1
| | | | | This prevents a jump to the first match, which I usually don't want, at least immediately.
* Merge branch 'release/v3.2.0' into developTom Ryder2018-12-141-2/+2
|\ | | | | | | | | * release/v3.2.0: Bump VERSION
| * Bump VERSIONTom Ryder2018-12-141-2/+2
|/
* Refactor some conditionalsTom Ryder2018-12-1115-48/+91
|
* Factor out zsh ENV hack into one fileTom Ryder2018-12-112-16/+17
| | | | | It's a bit silly to have this in ~/.profile; it doesn't need to be there for such a niche case.
* Refactor "path list" not to require a subshellTom Ryder2018-12-111-8/+9
|
* Correct completion for deep pass(1) directoriesTom Ryder2018-12-081-1/+1
| | | | I misunderstood how globstar worked.
* Move filetype.vim helper funcs into autoloadTom Ryder2018-12-082-78/+79
| | | | | May as well, now that we've dropped support for versions of Vim that don't have it.
* Fix a local var name in openssl(1ssl) completionTom Ryder2018-12-071-1/+1
|
* Correct a variable ref in openssl(1ssl) completionTom Ryder2018-12-071-1/+1
|
* Disable shellcheck rules for missed definitionTom Ryder2018-12-072-2/+2
| | | | These two arrays are both defined by `read -a`.
* Add filenames treatment to mex(1df) completionTom Ryder2018-12-071-1/+1
|
* Remove unneeded declarationTom Ryder2018-12-071-1/+0
|
* Refactor some completions to avoid loopsTom Ryder2018-12-073-50/+33
|
* Remove unneeded stdout redirectTom Ryder2018-12-061-1/+1
| | | | | | With -q, the `shopt` builtin shouldn't print anything to stdout; we only need to block stderr for its not being found or the relevant option not existing.
* Remove unneeded semicolon from sh "for VAR ; do"Tom Ryder2018-12-0629-30/+30
| | | | | It turns out the semicolon belongs to the "in" syntax, and is optional without it.
* Substitute bad `continue` for `return`Tom Ryder2018-12-061-1/+1
|
* Add actual completion matching to git completionTom Ryder2018-12-061-2/+8
| | | | Doi.
* Apply much simpler completion to GitTom Ryder2018-12-062-0/+41
| | | | | | Use CTRL-X, B to complete branch names, and CTRL-X, T to complete tag names. It's too complicated to do it contextually, and it's all I really wanted anyway.
* Merge branch 'release/v3.1.0' into developTom Ryder2018-12-061-2/+2
|\ | | | | | | | | * release/v3.1.0: Bump VERSION
| * Bump VERSIONTom Ryder2018-12-061-2/+2
|/
* Refactor bd()/sd() completion a lotTom Ryder2018-12-062-31/+66
| | | | | | | | | | | | | | | | | | | | | | | | | Avoid very many forks; and work around Bash 3.0 bugs with array behaviour: bash-3.0$ nodes=(a b c) bash-3.0$ printf '%s\n' "${nodes[@]:1}" b c bash-3.0$ nodes=(a b) bash-3.0$ printf '%s\n' "${nodes[@]:1}" bash-3.0 Compare: bash-5.0$ nodes=(a b c) bash-5.0$ printf '%s\n' "${nodes[@]:1}" b c bash-5.0$ nodes=(a b) bash-5.0$ printf '%s\n' "${nodes[@]:1}" b bash-5.0$
* Merge branch 'hotfix/v3.0.1' into developTom Ryder2018-12-042-2/+12
|\ | | | | | | | | * hotfix/v3.0.1: Block out local 'runtimepath' on bad Vims
| * Bump VERSION (hotfix)Tom Ryder2018-12-041-2/+2
| |
| * Block out local 'runtimepath' on bad VimsTom Ryder2018-12-041-0/+10
| |
| * Merge branch 'release/v3.0.0'v3.0.0Tom Ryder2018-12-0412-155/+138
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v3.0.0: Remove b:undo_ftplugin cmds for double-key maps Remove accidentally created html.vim~ file Use "stub .vimrc" method to dodge vim-tiny Use :help for 'keywordprg', junk tag binding Unseat tidy(1) as HTML 'equalprg' Remove line squeezing function for mail.vim
| * \ Merge branch 'release/v2.8.0'v2.8.0Tom Ryder2018-12-0210-54/+71
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.8.0: Bump VERSION Use native filename quoting for td(1df) complete Make bd() and sd() match quoted and unquoted words Remove unneeded braces Use variable for node count, not expansion Use simple loop rather than glob tricks in keep Move error increment to outside of if block Add missing source of helper func to man complete Remove unneeded local var Trim some trailing whitespace Correct manpath(1) command in man completion Adjust quoting and termination for man completion Update glob settings for manual page completion Make `sec` a local var in man page completion Remove unneeded `local` declaration Reorder pattern filters for Makefile lines Add some comments to keep() completion Correct find(1) completion to subshell exit Correct completion quoting for eds(1df)
| * \ \ Merge branch 'release/v2.7.0'v2.7.0Tom Ryder2018-12-0240-828/+550
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.7.0: (22 commits) Bump VERSION Make separate install-bash-completion target Overhaul Bash completion scripts Reduce ud() completion to just dirnames Upgrade uncap_ex.vim plugin to v0.3.0 Apply syntax fixes to last _text_filenames specs Rearrange _text_filenames completion a little Remove prompt() completion Throw away chgrp completion Throw away Git Bash completion Remove mysql(1) completion Use consistent temp names for shell subfile vars Overhaul pass(1) completion Adjust syntax of two more completion loads Remove ftp(1) completion Remove `kill` completion Use the positional parameter aliases for words Overhaul bd() completion again Remove unneeded -q option to shopt -s commands Don't include dotfiles in keep() names ...
| * \ \ \ Merge branch 'release/v2.6.0'v2.6.0Tom Ryder2018-12-0138-351/+423
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.6.0: (26 commits) Bump VERSION Overhaul and expand abook address Bash completion Restore correct completion function for mutt(1) Use simpler keyword complete for `path` subcommand Break up a couple of long lines Remove unneeded local array declaration Remove unneeded empty result short circuit Remove redundant error code in short circuits Adjust loop short circuits and pattern matches Remove unneeded quoting in case statement Remove needless line breaks from git completion Use inverting exclam mark outside conditional Remove stray comment no longer applicable Use array+=() syntax in two Bash completion files Remove null-result guard from completion gens Use simpler method of no case completion check Overhaul `keep` completion Simplify an array operation in `bd` completion Overhaul text filename generation Use full `if` condition for SSH hostname comp src ...
| * \ \ \ \ Merge branch 'release/v2.5.0'v2.5.0Tom Ryder2018-11-302-4/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.5.0: Bump VERSION Restore filetype.vim shortcircuit
| * \ \ \ \ \ Merge branch 'release/v2.4.0'v2.4.0Tom Ryder2018-11-303-5/+13
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.4.0: Bump VERSION Suppress ~/.vim usage during vimrc version check
| * \ \ \ \ \ \ Merge branch 'release/v2.3.0'v2.3.0Tom Ryder2018-11-302-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.3.0: Bump VERSION Don't load my filetype.vim if Vim is too old
| * \ \ \ \ \ \ \ Merge branch 'release/v2.2.0'v2.2.0Tom Ryder2018-11-3021-132/+86
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * release/v2.2.0: Bump VERSION Add `abort` attribute to new autoload function Suppress a couple of ShellCheck errors Remove redundant return short-circuit Add explanatory comments for version check Use ||/&& short-circuiting only for flow control Drop support for Bash <= 3.0
| * \ \ \ \ \ \ \ \ Merge branch 'hotfix/v2.1.1'v2.1.1Tom Ryder2018-11-302-3/+3
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hotfix/v2.1.1: Remove stray pipe from b:undo_indent setting
* | \ \ \ \ \ \ \ \ \ Merge branch 'release/v3.0.0' into developTom Ryder2018-12-041-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| * | | | | | | | | | Bump VERSIONTom Ryder2018-12-041-2/+2
|/ / / / / / / / / /
* | | | | | | | | | 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
| | | | | | | | | |