Age | Commit message (Collapse) | Author |
|
When making bulleted lists in git commits, I normally use '*' as the
bullet character.
When my text wrapped from the textwidth=72 setting for gitcommit-type
files, the line following the start of a bullet would begin with a
bullet.
Obviously this is the wrong behaviour since I'm continuing a list item,
not of starting a new one.
This frustrated me to no end whenever I wrote a list in a git commit,
constantly having to `0r<space>` to fix the extra asterisks.
I finally decided to solve this problem once and for all. Read up a
little on:
* :h formatoptions
* :h fo-table
* :h format-comments
The last of which gave me what I needed to fix the problem. Now
asterisks in git commits behave as list bullets.
|
|
Gives me matchit plugin settings for HTML and Django templates without
including the entire ftplugin for either. Copied the settings from vim's
default ftplugins. Allows me to use matchit to jump between HTML tags
and <:>.
|
|
Include basic settings plus compiler mappings. Mappings facilitate
compiling and running Go programs.
|
|
Set two space indentation for Ruby.
|
|
Actually enjoyed the textwidth setting of the default gitcommit
ftplugin so bringing that over to my custom one.
|
|
Move gitcommit indentation settings from vimrc to an ftplugin file.
Keeps things more organised and makes for a cleaner vimrc.
|
|
* Ensure filetype plugin is on so that ftplugins get loaded
* Add a filetype plugin for python with PEP8 indentation and cancel my
custom mappings that preserve indentation on empty lines
|