Posts Tagged ‘ python

Eclipse plugin for running Django tests.

I’ve recently been reading Foundations of Agile Python Development and tried the PyDev plugin for Eclipse at its recommendation. I had been under the impression that the plugin was still rather immature but have since been pleasantly surprised. Besides unexpected stability, PyDev even has support for writing Django applications. There was, however, one issue with the plugin that I had some umbrage with. Although there are shortcut/run configuration possibilities for running Python Unittests and even the  Django test suite, there was no way (that I found) to run individual tests without creating a custom run configuration for each one.

Read more

Ubuntu wallpaper slideshow

The desktop background switcher included with Karmic Koala has a cool feature, a wallpaper slideshow that rotates images at a predetermined interval. However, getting it to cycle through your own set of images isn’t exactly user friendly. In order to get a sequence of images to display, the wallpaper picker must be supplied with an xml file with the following structure:
Read more

Shell in VIM Solved

I found a great solution to the shell in vim problem. Namely, don’t have a shell in vim. Instead, I’ve been using Terminator. Terminator allows you to quickly split the terminal window either vertically or horizontally, much in the same way as vim’s sp and vsp commands. This way I can run vim in the top half and my interpreter in the bottom half. This has worked very well while programming in Python and Lisp. It’s also not dependent on the vim build or the plugins installed on vim. I can run vim and the interpreter remotely via parallel SSH sessions.

Shell in VIM

I’ve been looking for a good shell-in-vim solution. Emacs does it pretty well, but I’d rather stick with VIM since I’ve been using it as my primary editor for a while. The two solutions I’ve found so far are vimsh and vim-shell. I’ve gotten vimsh to do what I’d like to do., but there are some problems, discussed below, that prevent it from being an ideal solution.
Read more