On Donnerstag, 13. August 2009, Milos Prudek wrote: > Hi, > > I use vim 7 but I would like to start using eric. > > Unfortunately eric displays my source files with wrong indentation. This is > probably because vim uses tabs to "compress" indentation. > > I use this .vimrc setting: > set softtabstop=2 > set shiftwidth=2 > set foldmethod=indent > set autoindent > > I use eric 4.1.1 (Ubuntu 8.04 LTS). > > My Preferences-Editor-General settings: Tab width: 2 Indentation width: 2 > > Workaround: > - add expandtab to .vimrc > - open each source python file in vim > - type :retab > - save each source python file > > Can Eric be set so that the workaround is not needed?
Did you enable the "convert tabs upon open" setting? Detlev -- Detlev Offenbach [email protected] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
