]>
git.madduck.net Git - etc/vim.git/blobdiff - README.rst
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
vim-python-pep8-indent
======================
vim-python-pep8-indent
======================
-.. image:: https://travis-ci.org/hynek/vim-python-pep8-indent.png?branch=travis
- :target: https://travis-ci.org/hynek /vim-python-pep8-indent
+.. image:: https://travis-ci.org/Vimjas/vim-python-pep8-indent.png?branch=master
+ :target: https://travis-ci.org/Vimjas /vim-python-pep8-indent
This small script modifies Vim_’s indentation behavior to comply with PEP8_ and my aesthetic preferences.
Most importantly::
This small script modifies Vim_’s indentation behavior to comply with PEP8_ and my aesthetic preferences.
Most importantly::
.. code-block:: shell-session
$ cd ~/.vim/bundle
.. code-block:: shell-session
$ cd ~/.vim/bundle
- $ git clone https://github.com/hynek /vim-python-pep8-indent.git
+ $ git clone https://github.com/Vimjas /vim-python-pep8-indent.git
- Plugin 'hynek /vim-python-pep8-indent'
+ Plugin 'Vimjas /vim-python-pep8-indent'
- NeoBundle 'hynek /vim-python-pep8-indent'
+ NeoBundle 'Vimjas /vim-python-pep8-indent'
Configuration
-------------
Configuration
-------------
-python_pep8_indent_multiline_string
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+g: python_pep8_indent_multiline_string
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can configure the initial indentation of multiline strings using ``g:python_pep8_indent_multiline_string`` (which can also be set per buffer).
This defaults to ``0``, which means that multiline strings are not indented.
You can configure the initial indentation of multiline strings using ``g:python_pep8_indent_multiline_string`` (which can also be set per buffer).
This defaults to ``0``, which means that multiline strings are not indented.