aboutsummaryrefslogtreecommitdiff
path: root/vim
Commit message (Collapse)AuthorAgeFilesLines
* Correct indentation in a few vim/after scriptsTom Ryder2018-11-263-15/+15
|
* Move b:undo_ftplugin unsets for C inline with setsTom Ryder2018-11-262-4/+6
|
* Remove vim-tiny workaround for 'undodir' settingTom Ryder2018-11-251-2/+2
| | | | | | | | | | | | | | Commit 575f00d changed the setting for 'undodir' and similar path-based settings to set the values conditionally based on the operating system being used, while still setting them sensibly for "tiny" builds of Vim on Unix, which skips all :if blocks. This isn't necessary for 'undodir', because a tiny build of Vim won't have the persistent_undo feature required for the option to exist at all, so we can make this particular setting a little less awkward. The 'backupdir' and 'directory' settings, however, need to keep their existing structure to remain interoperable.
* Define b:undo_indent for Perl buffersTom Ryder2018-11-251-0/+9
| | | | This should probably be pushed upstream.
* Set missing b:undo_indent instructions for AWKTom Ryder2018-11-251-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.
* Undo shell script dialect flags from filetype.vimTom Ryder2018-11-251-0/+10
| | | | | These local buffer variable flags weren't being cleared correctly on a filetype change.
* Correct RHS of (un)important mail ftplugin mapTom Ryder2018-11-231-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.
* Remove font settingsTom Ryder2018-11-221-7/+0
| | | | | | I'm pretty tired of messing with all these. The defaults are fine, and render nice and quickly; it's just too much of a hassle making it all pixel-perfect, and the anti-aliasing is so often just rubbish.
* Make more of an effort with sudoedit(8) stripsTom Ryder2018-11-221-8/+44
| | | | | | | | | | | | | | Handle both kinds of templated temporary files produced by sudoedit(8): * /var/tmp/foo.XXXXXXXX * /var/tmp/fooXXXXXXXX.bar This means that editing /etc/resolv.conf now highlights correctly, having also in this commit moved the sudo detection to *before* the .conf fallback. The hardcoded temporary path for finding the files probably needs to be either determined at runtime or made configurable by the user.
* Add resolv.conf Vim filetype detectionTom Ryder2018-11-221-0/+4
|
* Add hostconf Vim filetype detection for hosts(5)Tom Ryder2018-11-221-0/+4
|
* Restore 'visualbell' Vim settingTom Ryder2018-11-211-0/+3
| | | | | | Commit 35ba8df removed this, but the bell still rings on a TTY and in an X terminal outside of tmux. I didn't notice because the machine I was using doesn't have a PC speaker.
* Add Bash settings to Vim readline highlightingTom Ryder2018-11-162-0/+5
| | | | | This includes the creation of a hitherto-unneeded Makefile target install-vim-syntax.
* Add missing left angle bracket to filetype undoTom Ryder2018-11-141-1/+1
|
* Ignore unset variables in sh.vim clear scriptTom Ryder2018-11-011-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
* Revert "Replace paste_open.vim with paste_hook....Tom Ryder2018-09-142-50/+3
| | | | | | | This reverts commit dce5abc0724428f805562dd32bf9a71677d55aaa. On review, paste_open is good enough. I can always dig this back up again if I need to.
* Replace paste_open.vim with paste_hook.vimTom Ryder2018-09-122-3/+50
| | | | Still a little experimental; no documentation (or distribution) yet.
* Correct &laststatus default value testTom Ryder2018-09-091-1/+1
|
* Update cursorline_current.vim pluginTom Ryder2018-09-091-0/+0
|
* Unset 'laststatus' and 'ruler' only if they're setTom Ryder2018-09-071-2/+6
|
* Specify object type in commentsTom Ryder2018-09-071-2/+2
|
* Add "whole buffer" object an experimentTom Ryder2018-09-071-0/+3
|
* Update cursorline_current.vim pluginTom Ryder2018-09-051-0/+0
|
* Update vertical_region.vim pluginTom Ryder2018-09-051-0/+0
|
* Scrap the nvim.vim runtime includeTom Ryder2018-09-052-12/+9
| | | | | It's overkill; just add comments explaining why we're setting what the Vim default is.
* Correct a comment in vim/plugin/dist.vimTom Ryder2018-09-051-1/+1
|
* Require at least one char in ftdetect filenamesTom Ryder2018-09-051-3/+3
|
* Comment to explain \c,\C mappingsTom Ryder2018-09-041-2/+2
|
* Use \_ as Vim text object for `[,`] marksTom Ryder2018-09-021-0/+3
|
* Remove visual_block_suspend_wrap.vimTom Ryder2018-08-311-43/+0
| | | | | | This would be great if it was immediate and didn't require the CursorMoved event, but as it stands it's not really an improvement over just my \w mapping to toggle 'wrap'.
* Add visual_block_suspend_wrap.vim pluginTom Ryder2018-08-301-0/+43
|
* Spin out repeated blank lines map to new pluginTom Ryder2018-08-303-5/+13
|
* 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-292-0/+25
| | | | | 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-273-3/+3
| | | | | | 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-272-3/+44
|
* Correct a commentTom Ryder2018-08-271-1/+1
|
* Silence Vim diff section navigation mapsTom Ryder2018-08-271-2/+2
| | | | | This is just to prevent the `:call search(...)` command from showing up in the command line when the map is invoked.
* Use local leader keys in Vim diff section nav mapsTom Ryder2018-08-271-4/+4
|
* Use search() in Vim diff section navigation mapsTom Ryder2018-08-271-2/+4
| | | | This preserves the user's primary search pattern.
* Add another blank lineTom Ryder2018-08-231-0/+1
|
* Correct some leader map definition commentsTom Ryder2018-08-231-4/+4
|
* Add vertical spacing to leader maps sectionTom Ryder2018-08-231-0/+28
|
* Add visual-mode analogues to some leader mapsTom Ryder2018-08-231-0/+15
|
* Upgrade sahara.vim colorschemeTom Ryder2018-08-231-0/+0
|
* Remove doubleup in Awk ftpluginTom Ryder2018-08-231-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.
* Update replace_operator.vim pluginTom Ryder2018-08-231-0/+0
|
* Update diff_prune.vim pluginTom Ryder2018-08-231-0/+0
|
* Check for existence of :xmap for mappingTom Ryder2018-08-231-1/+3
|