aboutsummaryrefslogtreecommitdiff
path: root/vim
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul ftplugin check, lint, tidyTom Ryder2018-07-0911-93/+69
| | | | | | | | | | | | - 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
* Change local leader back to commaTom Ryder2018-07-081-1/+1
| | | | | Double-backslash had a major problem--if there was no local mapping defined, you ended up loading the global one.
* Overhaul base after-ftpluginsTom Ryder2018-07-0817-207/+65
| | | | Mostly to simplify them--remove a lot of the load-guard cruft.
* Remove Perl indent string againTom Ryder2018-07-081-137/+0
| | | | This is probably fighting too much against the grain, at least for now.
* Tidy space and backspace mappingsTom Ryder2018-07-081-7/+3
|
* Upgrade and adjust config for diff_prune.vimTom Ryder2018-07-082-3/+4
|
* Highlight overly long Git commit subjects as errorTom Ryder2018-07-081-0/+2
|
* Test 'modifiable' for spellchecking text/markdownTom Ryder2018-07-082-2/+2
|
* Disable concealing when editing Vim helpTom Ryder2018-07-081-0/+21
|
* Add patterns for Vim help file detectionTom Ryder2018-07-082-0/+3
|
* Move shebang updating into filetype.vimTom Ryder2018-07-083-27/+13
| | | | Much more logical location.
* Use stridx() for shebang checkTom Ryder2018-07-081-1/+1
|
* Correct filetype reset; blank, not NONETom Ryder2018-07-081-1/+1
|
* Correct a comment on shebang_update.vimTom Ryder2018-07-081-1/+1
|
* Add \T map to clear filetypeTom Ryder2018-07-081-0/+2
|
* Add .vimrc reload flag and messageTom Ryder2018-07-081-0/+8
|
* Add \R for filetype reloadingTom Ryder2018-07-081-0/+2
|
* Separate <Space> and <Backspace> mapsTom Ryder2018-07-081-3/+6
|
* Use :setglobal and :setlocal in .vimrcTom Ryder2018-07-081-23/+23
| | | | | So that if the file gets reloaded, stuff in filetype buffers doesn't get its settings messed with.
* Keep more Vim historyTom Ryder2018-07-081-0/+3
|
* Add \N to toggle Vim 'ruler'Tom Ryder2018-07-081-0/+2
|
* Unmap PHP bracket mapsTom Ryder2018-07-081-0/+7
|
* Remove error suppression on Vim unmapsTom Ryder2018-07-081-12/+12
|
* Restore Vim buffer mapping to unload scriptTom Ryder2018-07-081-13/+14
|
* Arrange for Ctrl-C to remap over EscapeTom Ryder2018-07-082-2/+2
| | | | This way, InsertLeave actually gets fired.
* Switch to \\ (double-backslash) for local leaderTom Ryder2018-07-081-1/+1
| | | | | | | I decided I don't like comma as leader. Not sure why; it bugs me a little that it has a real and occasionally useful function that I'm overwriting, but it's just not sticking right either. Let's try \\ instead.
* Bind leader maps for delete and insertTom Ryder2018-07-081-0/+5
|
* Map normal <Backspace> in Vim to Ctrl+BTom Ryder2018-07-081-1/+4
| | | | That is, make it the opposite of Space, which seems eminently sensible.
* Update strip_trailing_whitespace.vim pluginTom Ryder2018-07-081-0/+0
|
* Update Vim submodulesTom Ryder2018-07-075-0/+0
|
* Simplify in/out indent for blocksTom Ryder2018-07-071-16/+22
|
* Require semicolon on same line of heredocTom Ryder2018-07-071-0/+1
|
* Inline ternary condition in Perl Vim indentTom Ryder2018-07-071-3/+1
|
* More speed refactoring for Perl Vim indentTom Ryder2018-07-071-23/+18
|
* Rearrange heredoc/POD indent check for speedTom Ryder2018-07-071-9/+10
|
* Refine Perl line cont hints in Vim indentTom Ryder2018-07-071-4/+4
|
* Simplify Vim Perl shiftwidth calculationTom Ryder2018-07-071-4/+3
| | | | This is a portable method that will work on very old Vims.
* Simplify POD Vim indenting behaviourTom Ryder2018-07-071-6/+6
|
* Add POD rules to Vim Perl indentTom Ryder2018-07-071-18/+34
|
* Pass Vim indent line into Perl functionTom Ryder2018-07-071-4/+4
| | | | Should make testing (!) easier later on.
* Further extension of Perl Vim line cont rulesTom Ryder2018-07-071-8/+15
|
* Remove misplaced separator in b:undo_indentTom Ryder2018-07-071-1/+1
| | | | | This was causing the first line of the buffer to be printed on every filetype change from Perl.
* Revert "Remove Vim Perl indent"Tom Ryder2018-07-071-0/+114
| | | | | | This reverts commit f0b98feb769d9dfbbb0c1825b1291851795163db. I changed my mind again.
* Remove Vim Perl indentTom Ryder2018-07-071-114/+0
| | | | | This one is pretty good, but I think I'll stick with the stock one for now.
* Committing final state of Vim Perl indentTom Ryder2018-07-071-12/+16
| | | | | I'm not sure I actually want to use this anymore; will remove it for now in the next commit.
* Correct end of heredoc pattern in Vim Perl indentTom Ryder2018-07-071-1/+1
| | | | Just a plain old syntax error.
* Adjust continued line indent for Vim PerlTom Ryder2018-07-071-1/+1
| | | | | Don't add another two spaces if we already did on a previous line; get the "base" indent first.
* Add heredoc support to Vim Perl indent pluginTom Ryder2018-07-071-2/+51
| | | | | This anchors lines in a Perl heredoc with no indent until it sees the terminating word. It works really well.
* Refactor rules in Vim Perl indent scriptTom Ryder2018-07-071-18/+6
| | | | | I think this is mixing two changes I made, which I neglected to commit separately.
* Remove unneeded parens in Vim Perl indent scriptTom Ryder2018-07-071-1/+1
| | | | | The modulo operator has a higher precedence than the subtraction operator, so it doesn't need to be cuddled.