| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
I never use these anyway; I'm firmly in the habit of using underscores
to represent the current line these days.
|
|
|
|
|
|
|
|
| |
I'm likely going to move away from Vim 6.0 support, at least for all of
this filetype stuff.
We will keep the one filetype load guard we actually need, which is the
HTML one, to stop plugins like markdown.vim from loading it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Noticed that my b:undo_ftplugin script for this filetype was only
getting halfway through its work, and stopping at this command.
From `:help autocmd`:
> Note: The ":autocmd" command can only be followed by another command when the
> '|' appears before {cmd}. This works:
> :augroup mine | au! BufRead | augroup END
> But this sees "augroup" as part of the defined command:
> :augroup mine | au! BufRead * | augroup END
> :augroup mine | au BufRead * set tw=70 | augroup END
> Instead you can put the group name into the command:
> :au! mine BufRead *
> :au mine BufRead * set tw=70
> Or use :execute:
> :augroup mine | exe "au! BufRead *" | augroup END
> :augroup mine | exe "au BufRead * set tw=70" | augroup END
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Use .= operator to append to b:undo_ftplugin, as we're requiring Vim 7.0
or later everywhere here anyway. Also remove &compatible where we don't
need line breaks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Mostly to simplify them--remove a lot of the load-guard cruft.
|
|
|
|
|
|
|
|
| |
I like quoting things in Git commit messages, as if they were mail
messages.
This was supposed to be fixed in commit a5b8367, but I didn't add all
the necessary flags.
|
|
|
|
| |
This is so that quotes wrap pleasantly.
|
| |
|
| |
|
| |
|
|
Each thereby effectively becomes its own .vimrc for that type.
|