aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/vimrc.vim
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul ftplugin check, lint, tidyTom Ryder2018-07-091-0/+6
| | | | | | | | | | | | - 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
* Remove stray vim/autoload/vimrc.vim fileTom Ryder2018-06-301-39/+0
|
* Clear local leader maps on filetype changeTom Ryder2018-06-251-0/+39
Iterate through all the buffer-local mappings each time the filetype changes, and clear any that begin with the local leader, using two autoloaded functions and one autoload variable for :redir. I really don't think it should be this hard. I hope I haven't missed something in the documentation that makes this easier. I thought maparg() or mapcheck() might do it, but no such luck. Maybe I can refactor this later.