aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/python.vim
AgeCommit message (Collapse)Author
2023-08-03ftplugin/python.vim: Use consistent debugger mappingsTeddy Wing
I added these mappings before I developed a set of consistent cross-language build, test, etc. mappings. Re-use the mappings I came up with for adding a debugger line in Ruby. These are much easier to type than the current Leader commands.
2020-06-15ftplugin/python.vim: Turn on `b:argwrap_tail_comma`Teddy Wing
Append a trailing comma when unwrapping arguments.
2019-06-17vimrc: Don't preserve indentation on empty linesTeddy Wing
Over the years and as I've been using Vim, I've gradually stopped liking this style, and now prefer blank lines without whitespace. Rather than continuing to override the default for different filetypes, it feels like it's time to change the default.
2015-08-13ftplugin/python.vim: Add mapping to flake8Teddy Wing
Add a mapping to flake8 the current file for PEP8 syntax violations so I don't have to type out the path of a file that I already have open in order to check it against flake8.
2015-01-15ftplugin/python.vim: Add map to quickly insert debug statementTeddy Wing
Create a python-specific map (<leader>gdo and <leader>gdO) that inserts import ipdb; ipdb.set_trace() either above or below the current line. I got tired of having to type it all the time.
2014-11-18ftplugin/python.vim: Set textwidth to 79 columnsTeddy Wing
Comply with PEP8 style guidelines by setting a max line width of 79 columns). Should make it easier to write Python code without having to watch the column count myself.
2014-05-15vimrc: turn on filetype plugin & add python ftpluginTeddy Wing
* 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