Vim Newbie ? Python Edit/Compile/Run cycle and integrating py help questions
Hans Nowak
zephyr01 at alltel.net
Fri Apr 25 13:06:06 EDT 2003
Will Stuyvesant wrote:
> [Hans Nowak]
>
>>I have been trying to edit Python source code with vim on Mac OS X. Most of
>>the settings in my .vimrc file (copied from Windows) work just fine, except for
>>one. I use Tab to indent and Shift-Tab to dedent (a line, not a block). Tab
>>behaves as usual, but Shift-Tab doesn't seem to work; it just behaves like I
>>pressed Tab.
>
>
> In gvim on windows and linux (untested on Mac, since I have no access
> to a Mac anywhere):
>
> Start block selection with the v key, or with <SHIFT>v. And then of
> course the j key for line down and the l key for going right etc.
>
> To indent a line, or a selected block, use <SHIFT>>>. To dedent it do
> <SHIFT><<.
Thanks for your reply; however, I know how to do indents and dedents in vim,
the problem is more how to map Shift-Tab to do the dedent. The reason is
simply that I have been using it for years and don't want to unlearn it and get
used to a different key combination. :(
I'll see if I can do something with the key combinations you mentioned.
Cheers,
More information about the Python-list
mailing list