diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 18:42:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 18:42:52 +1300 |
commit | a539a62acf890f13be44f37b6fe83ab63636bab0 (patch) | |
tree | 9c3f46ebfd9acb42c11a6d04ec0d2c2ffa13b679 | |
parent | Merge branch 'feature/spin-vim-plug' into develop (diff) | |
parent | Add heading for Vim plugins subsection (diff) | |
download | dotfiles-a539a62acf890f13be44f37b6fe83ab63636bab0.tar.gz dotfiles-a539a62acf890f13be44f37b6fe83ab63636bab0.zip |
Merge branch 'feature/vim-plugin-...' into develop
* feature/vim-plugin-readme:
Add heading for Vim plugins subsection
Update README to mention Vim plugins
-rw-r--r-- | README.md | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -343,10 +343,22 @@ The configuration is broken into subfiles in `~/.vim/config/*.vim`, included by extensively commented, mostly because I was reading through it one day and realised I'd forgotten what half of it did. -I define a few custom per-filetype rules for stuff I often edit in +#### Plugins + +If the logic for doing something involves more than a few lines or any +structures like functions, I like to implement it as a plugin in +`~/.vim/plugin` and/or `~/.vim/autoload`. There's documentation for each of +those in `~/.vim/doc`. + +I also define a few custom per-filetype rules for stuff I often edit in `~/.vim/ftplugin`, including some local mappings for checking, linting, and tidying. +Any/all of the general or filetype plugins may eventually be spun off into +their own repositories in the future, but for the moment they live here. +Contact me if you find one of them useful and you'd like to see it in its own +distribution. + Third-party plugins are in submodules in `~/.vim/bundle`, loaded using Tim Pope's [pathogen.vim](https://github.com/tpope/vim-pathogen). |