On Jun 26, 1:04 am, "John Beckett" <[email protected]> wrote:
> gary_p wrote:
> > I program in python.
>
> You need file after/ftplugin/python.vim with contents:
>
>     setlocal expandtab
>
> and your other preferences either in the above or your
> vimrc, for example:
>
>     set shiftround
>     set softtabstop=4
>     set shiftwidth=4
>
> John

Almost perfect.

Is there any way to change the following:

vim:

my_function_call(
    one,
    two,
    three
    )

[ four-space indent for the arguments ]

I prefer:

my_function_call(
                one,
                two,
                three
                )

[ In a fixed width font the o, t, t, and ) all line up under the (  ]




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to