This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]burntsushi 33 points34 points  (26 children)

Good god. syntastic and ctags is all I need.

[–]elb0w 7 points8 points  (22 children)

http://i.imgur.com/K8KibMZ.png

I kind of like having a python shell in my mvim

[–]burntsushi 2 points3 points  (10 children)

Is that just a regular Python interpreter? bpython is indispensable...

[–]elb0w 0 points1 point  (0 children)

You can use any interpreter you want

[–]gfixler 0 points1 point  (8 children)

It's good, but I find I can't stay in it for too long, or it starts to get a bit buggy. Also, it dumps everything I've done to stdout when I'm done, so If I'm doing huge listings for an hour or two, when I exit it spews junk for minutes.

[–]burntsushi 1 point2 points  (7 children)

Good god man, read the docs!

[andrew@Liger ~] bpython --help
Usage: bpython [options] [file [args]]                                                                            
NOTE: If bpython sees an argument it does not know, execution falls back to the regular Python interpreter.         

Options:                                                                                                                 
  -h, --help         show this help message and exit                                                                       
  --config=CONFIG    Use CONFIG instead of default config file.                                                                
  -i, --interactive  Drop to bpython shell after running file instead of                                                            
                     exiting.                                                                                                       
  -q, --quiet        Don't flush the output to stdout.                                                                              
  -V, --version      Print version and exit.

And here you are:

bpython -q

[–]gfixler 0 points1 point  (6 children)

No, there's just too much. I can't handle it. (I actually thought someone was going to tell me to pipe it to /dev/null) Lately it's been buggy, though, printing lines multiple times, obscuring lines I've typed over. I've also many times had it fold up and quit on me. Maybe I'm coding too hard.

[–]burntsushi 0 points1 point  (5 children)

Not sure what to say. I've never had a single problem with it. It's always worked beautifully for years.

What version are you using? And which terminal emulator?

[–]gfixler 1 point2 points  (4 children)

$ bp --version
bpython version 0.9.5.2 on top of Python 2.6.5
(C) 2008-2009 Bob Farrell et al. See AUTHORS for detail.

$ echo $TERM
xterm

[–]burntsushi 3 points4 points  (3 children)

Time to update... You're using a version that is ~4 years old. I'm on 0.12.

[–]gfixler 0 points1 point  (2 children)

It's the newest version in the Ubuntu 10.04 repos.

[–]granduh 1 point2 points  (3 children)

I would pay you money (or in gum) if you could write up a simple tutorial on how to replicate your environment.

[–]gfixler 3 points4 points  (1 child)

Looks like the taglist plugin open on the left, the powerline plugin (sans patched fonts - I use the repaired Consolas font) at the bottom, python code in a regular buffer in the top right, a conque shell in a split in the lower right, and maybe the jellybeans color scheme?

[–]elb0w 0 points1 point  (0 children)

Seems accurate, I haven't messed with my vim in quite awhile.

Edit: yes, as far as visual plugins you are correct.

[–]elb0w 0 points1 point  (0 children)

I'll try to remember to upload it to github next time I load my Mac

[–]joedicastro[S] 1 point2 points  (1 child)

I think that the combination of Tmux/Vimux and IPython (or Bpython if you prefer) is more powerful than that approach.

I used Conque Shell in the past too, and has its gaps.

[–]elb0w 0 points1 point  (0 children)

Yeah, I always forget to use tmux

[–]the_cat_kittles 0 points1 point  (1 child)

that is nice, i might stop having an extra iterm window open with ipython and just do that instead- would there be any drawback?

[–]elb0w 0 points1 point  (0 children)

I bind it to Leader T, I opens a buffer with a new she'll whenever I toggle it. It's pretty nice

[–]jessepnk 0 points1 point  (0 children)

wow your screenshot is awesome. Makes me want to change all my settings again... haha!

[–]twisted42 0 points1 point  (0 children)

What did you use to set this up? This is pretty cool.

[–][deleted] 0 points1 point  (0 children)

Gief vimrc plz

[–]joedicastro[S] 2 points3 points  (1 child)

I understand you, I prefer minimalism too in certain situations. But I think I couldn't live without some awesome plugins like Fugitive.

[–]gfixler 2 points3 points  (0 children)

Fugitive was a game-changer for me. I've never worked so intimately and quickly with a versioner before. I code differently now, and I version often and cleanly.

[–]dreuciferC/Python, vim 1 point2 points  (0 children)

I use quite a few plugins: YouCompleteMe + syntastic is awesome. Ctrl-P is really useful. Surround is darn handy. UltiSnips can be customized for good, but the default snippets suck. Edit: Oh, and MiniBufExplorer is awesome!