Files
convore.json/groups/python/configuring-vim-for-python/messages.json
T
2012-02-21 01:15:00 -05:00

1 line
13 KiB
JSON

[{"user_id": 1455, "stars": [], "topic_id": 3012, "date_created": 1297301092.5902719, "message": "@unbracketed the following commands may be helpful: [\":set listchars=tab:>-,trail:_ list\", \":retab\", \":%s/ \\+$//g\"]. you could define a macro that retabs your *.py files and rstrips them on saving", "group_id": 292, "id": 62293}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297300799.1241059, "message": "What is the most foolproof, minimal way you're aware of for making sure unwanted whitespace never gets saved to Python files?", "group_id": 292, "id": 62236}, {"user_id": 3751, "stars": [], "topic_id": 3012, "date_created": 1297306031.4058249, "message": "do customization later when you are more confident with those settings", "group_id": 292, "id": 63664}, {"user_id": 3751, "stars": [], "topic_id": 3012, "date_created": 1297305977.0389061, "message": "@unbracketed you can start from http://amix.dk/blog/post/19486#The-ultimate-vim-configuration-vimrc", "group_id": 292, "id": 63654}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297308048.778805, "message": "Thanks for the tips. I've done some bit of customization, trying to polish it up a bit. (https://github.com/unbracketed/dotfiles-vim/blob/master/vimrc)", "group_id": 292, "id": 64058}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297308248.7953849, "message": "One thing bugging me right now is with both pylint and pyflakes installed pyflakes always trounces pylint's output in the quickfix window. They both provide different, but useful input but being able to temporarily disable pyflakes or something to same effect would be helpful", "group_id": 292, "id": 64071}, {"user_id": 4580, "stars": [], "topic_id": 3012, "date_created": 1297312575.9565539, "message": "is this really a problem for you?", "group_id": 292, "id": 64778}, {"user_id": 5225, "stars": [], "topic_id": 3012, "date_created": 1297331843.666332, "message": "The Vim PyFlakes plugin always trounces *any* output in the quickfix window. This is a severe problem, yes - for example unit test output cannot be viewed! I have to turn off PyFlakes' use of the quickfix window - there is an option to do that. I wish there was a way to toggle it, but it only seems to read that option on startup.", "group_id": 292, "id": 67939}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297370632.7108381, "message": "Thanks @tartley I will probably do the same - disable PyFlakes from using quickfix", "group_id": 292, "id": 74271}, {"user_id": 6671, "stars": [], "topic_id": 3012, "date_created": 1297400523.2958591, "message": "There are a couple of pyflakes plugins", "group_id": 292, "id": 78715}, {"user_id": 6671, "stars": [], "topic_id": 3012, "date_created": 1297400528.597827, "message": "not all of them use quickfix.", "group_id": 292, "id": 78716}, {"user_id": 1944, "stars": [], "topic_id": 3012, "date_created": 1297415304.90748, "message": "Also Vim has multiple quickfix lists, pyflakes.vim only makes its own active, you can get an older one with :cold. Though pyflakes.vim will reactivate its own on just entering insert mode etc, so still very annoying.", "group_id": 292, "id": 79189}, {"user_id": 1944, "stars": [], "topic_id": 3012, "date_created": 1297415073.0369611, "message": "But pyflakes.vim is real-time.", "group_id": 292, "id": 79184}, {"user_id": 1944, "stars": [], "topic_id": 3012, "date_created": 1297415216.0828609, "message": "@tartley 'let g:pyflakes_use_quickfix = 0' works for me not just during startup I think", "group_id": 292, "id": 79186}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297441912.2533209, "message": "@dag thanks I learned about the multiple quickfix windows yesterday. I'll play around with toggling that flag. Most of the time I don't mind pyflakes using quickfix, but when I save I'd like pylint's output to show and persist since it is usually more thorough", "group_id": 292, "id": 81329}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1297442157.4092519, "message": "What are people doing for configuring omni-complete? I have supertab working to pop open the options, but the list gets filled with seemingly every token found. For large projects this means 95% of the suggestions are just pollution relative to the current context. Is there a way to get more relevant complete suggestions to the context you're working in?", "group_id": 292, "id": 81358}, {"user_id": 2887, "stars": [], "topic_id": 3012, "date_created": 1297449767.0344479, "message": "Note there's some errors on the vim.org website currently.", "group_id": 292, "id": 82170}, {"user_id": 2887, "stars": [], "topic_id": 3012, "date_created": 1297449827.683394, "message": "Oh shoot here is the correct AutoCompletePopUp url: http://www.vim.org/scripts/script.php?script_id=1879", "group_id": 292, "id": 82171}, {"user_id": 2887, "stars": [], "topic_id": 3012, "date_created": 1297449602.094543, "message": "I mainly add this to my .vimrc: 'autocmd FileType python set omnifunc=pythoncomplete#Complete'.", "group_id": 292, "id": 82157}, {"user_id": 2887, "stars": [], "topic_id": 3012, "date_created": 1297449766.494889, "message": "I am also using the AutoCompletePopUp plugin: http://www.google.co.il/url?sa=t&source=web&cd=1&ved=0CBsQFjAA&url=http%3A%2F%2Fwww.vim.org%2Fscripts%2Fscript.php%3Fscript_id%3D1879&ei=4oJVTdbGOIO28QPXwriQDQ&usg=AFQjCNFiEf7RjIX-MFUZPhzJ1Nw4NZXBDg", "group_id": 292, "id": 82169}, {"user_id": 2887, "stars": [], "topic_id": 3012, "date_created": 1297449828.448076, "message": "There's also a Vim Convore group around: https://convore.com/vim/", "group_id": 292, "id": 82172}, {"user_id": 9307, "stars": [], "topic_id": 3012, "date_created": 1297650413.1411009, "message": "I tried using omnicomplete and supertab but it just ended up being annoying. I don't miss them. I really like pyflakes and snipmate though.", "group_id": 292, "id": 95551}, {"user_id": 8013, "stars": [], "topic_id": 3012, "date_created": 1297654094.016145, "message": "I agree with @btubbs, I tried using the naive, greedy tab completion options but they were useless. Then I realized that I actually don't miss completion.", "group_id": 292, "id": 95933}, {"user_id": 3751, "stars": [], "topic_id": 3012, "date_created": 1297655599.5939519, "message": "I'm fine with neocomplcache", "group_id": 292, "id": 96071}, {"user_id": 4156, "stars": [], "topic_id": 3012, "date_created": 1297655154.6199739, "message": "I've always been fine with regular old completion (^P, the one that just searches open buffers for potential complete choices). May be a consequence of the codebases I work on, though", "group_id": 292, "id": 96030}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298585207.404377, "message": "I have my config on github, I also use a little extra piece for loading a virtualenv for omnicompletion, \n\npython activate_this = '/Users/skyl/Envs/.../bin/activate_this.py'\npython execfile(activate_this, dict(__file__=activate_this))", "group_id": 292, "id": 202758}, {"user_id": 3456, "stars": [], "topic_id": 3012, "date_created": 1298603310.241591, "message": "pfft - I'm using yours as a straight-on reboot and then i'll go from there :)", "group_id": 292, "id": 205357}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298602760.943505, "message": "@number5 yes, you can run that in your .vimrc for a default and also run it dynamically in vim to change the virtualenv", "group_id": 292, "id": 205287}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298603268.4144101, "message": "yeah, symlinking my vim config into your home dir should get you pretty far.", "group_id": 292, "id": 205353}, {"user_id": 3456, "stars": [], "topic_id": 3012, "date_created": 1298602901.329484, "message": "Is there a good walkthru on getting vim (specifically MacVim) setup for Python coding? I have long forgotten any of my vim knowledge but am feeling the itch to switch - thanks", "group_id": 292, "id": 205317}, {"user_id": 3456, "stars": [], "topic_id": 3012, "date_created": 1298603210.6808951, "message": "I was looking for mostly a working example that is python oriented - to get over the WTF-is-this feeling when you are reading about plugins and .vim and other vim lingo items", "group_id": 292, "id": 205348}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298603153.568522, "message": "that gives you tab completion and line numbers and such. There is another thread on convore somewhere \"show me your .vimrc\"", "group_id": 292, "id": 205340}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298603207.452399, "message": "https://convore.com/vim/post-your-vimrcvim/", "group_id": 292, "id": 205346}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298602871.45962, "message": "I got that from http://blog.roseman.org.uk/2010/04/21/vim-autocomplete-django-and-virtualenv/ btw", "group_id": 292, "id": 205307}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298603083.873349, "message": "@bear I just put https://github.com/skyl/vim-config-python-ide in my home directory. I started with linux but now I mostly use macvim. (pardon the bombastic readme with ideas that I don't have time for ;0)", "group_id": 292, "id": 205335}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298640353.5956011, "message": "Not so long ago I put together a small plugin for Python that lets you do a few things: move to the next, previous N class, function or method", "group_id": 292, "id": 207749}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298640467.7965951, "message": "The plugin is called chapa.vim and you can find it here: http://www.vim.org/scripts/script.php?script_id=3395", "group_id": 292, "id": 207758}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298640389.771312, "message": "visually select and comment out the next, previous N class, method or function", "group_id": 292, "id": 207754}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298640442.4166219, "message": "the commenting actions toggle so you can comment and un-comment a class, function or method.", "group_id": 292, "id": 207755}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1298647319.99014, "message": "Similar to https://github.com/vim-scripts/python.vim", "group_id": 292, "id": 208528}, {"user_id": 12142, "stars": [], "topic_id": 3012, "date_created": 1298651837.2168829, "message": "there is also, http://svn.python.org/projects/python/trunk/Misc/Vim/vimrc where I got a lot of my .vimrc", "group_id": 292, "id": 209390}, {"user_id": 3456, "stars": [], "topic_id": 3012, "date_created": 1298603126.762702, "message": "thanks @skyl I'll give it a go", "group_id": 292, "id": 205339}, {"user_id": 3751, "stars": [], "topic_id": 3012, "date_created": 1298602558.639009, "message": "@skyl Are you always using the same virtualenv? Can you dynamically switch between venv based on where your current file is?", "group_id": 292, "id": 205265}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298665066.429352, "message": "@unbracketed oh and you can have a mapping to keep moving forward or backwards in your motion: keep going to the next function (Ctrl-L by default) or keep moving the opposite way (Ctrl-H by default)", "group_id": 292, "id": 211056}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298665153.12995, "message": "@unbracketed I could keep going :) But python.vim doesn't have method support.", "group_id": 292, "id": 211067}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298664977.93503, "message": "@unbracketed kind of, but chapa.vim offers a bit more I think, including decorator support and count (eg. move to the 4th next function)", "group_id": 292, "id": 211051}, {"user_id": 2588, "stars": [], "topic_id": 3012, "date_created": 1298736883.7195611, "message": "@alfredodeza That sounds great, thanks for the info. Switching to yours :)", "group_id": 292, "id": 214521}, {"user_id": 8391, "stars": [], "topic_id": 3012, "date_created": 1298744246.969038, "message": "*by far* the most useful provider of functionality is SuperTab", "group_id": 292, "id": 215155}, {"user_id": 8391, "stars": [], "topic_id": 3012, "date_created": 1298744199.7672491, "message": "https://github.com/kennethreitz/krvim", "group_id": 292, "id": 215153}, {"user_id": 8391, "stars": [{"date_created": 1298878000.0550411, "user_id": 5582}, {"date_created": 1299101543.8729711, "user_id": 12963}], "topic_id": 3012, "date_created": 1298744247.901135, "message": "https://github.com/kennethreitz/krvim/tree/master/bundle/vim-config-python-ide", "group_id": 292, "id": 215156}, {"user_id": 8391, "stars": [], "topic_id": 3012, "date_created": 1298744195.7910149, "message": "I have a full vim configuation for Python, with completion and everything", "group_id": 292, "id": 215151}, {"user_id": 8391, "stars": [], "topic_id": 3012, "date_created": 1298744300.942518, "message": "just have to make sure you build vim against the correct python interpreter, and it picks up everything in your sitepackages and everything", "group_id": 292, "id": 215161}, {"user_id": 2435, "stars": [], "topic_id": 3012, "date_created": 1298746505.6917191, "message": "@unbracketed awesomeness. I'm always looking to make it better :) (Also... it has support for JavaScript) Have fun!", "group_id": 292, "id": 215247}]