vi

How do I use vi keys in ipython under *nix?

How do I use vi keys in ipython under *nix? Question: Currently in Bash I use set -o vi to enable vi mode in my bash prompt. How do I get this going in ipython? Asked By: gak || Source Answers: Looks like a solution works for many other readline compatible apps: Set the following …

Total answers: 7

Syntax highlighting in vim for python

Syntax highlighting in vim for python Question: How do I do I set the syntax highlighting in Vim 7 for python? I would like to set my own colorschemes, and syntax highlighting for a type of code file. Asked By: hidroto || Source Answers: Put the line syntax on in your .vimrc. Answered By: Robie …

Total answers: 4

Standard python interpreter has a vi command mode?

Standard python interpreter has a vi command mode? Question: I was working a bit in the python interpreter (python 2.4 on RHEL 5.3), and suddenly found myself in what seems to be a ‘vi command mode’. That is, I can edit previous commands with typical vi key bindings, going left with h, deleting with x… …

Total answers: 5