vim q
Baruch Siach
baruch at tkos.co.il
Wed Nov 10 15:41:06 IST 2010
Hi Erez,
On Wed, Nov 10, 2010 at 03:31:12PM +0200, Erez D wrote:
> On Wed, Nov 10, 2010 at 10:35 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> > On Wed, Nov 10, 2010 at 10:25:29AM +0200, Erez D wrote:
> > > On Wed, Nov 10, 2010 at 10:17 AM, Baruch Siach <baruch at tkos.co.il>
> > wrote:
> > > > On Wed, Nov 10, 2010 at 10:08:32AM +0200, Erez D wrote:
> > > > > thank you all for the reply
> > > > >
> > > > > i decided to set ts,sw,et etc... in vimrc instead for security
> > resons.
> > > > > although this implicate all types of files, i can ususally overcome
> > it
> > > > > like pressing ^V-TAB in a makefile instead of a TAB
> > > >
> > > > Or add the following to your .vimrc instead:
> > > >
> > > > au FileType make set noexpandtab
> > > >
> > > what does that do ?
> >
> > Cancels tab expansion for files that are identified as makefiles.
>
> how would be the inverse syntax (i.e. expand type for all that is not
> makefile) ?
set expandtab
au FileType make set noexpandtab
baruch
> > > > > On Tue, Nov 9, 2010 at 10:25 AM, ik <idokan at gmail.com> wrote:
> > > > >
> > > > > > It's a security problem with Windows version.
> > > > > > VIM disabled this feature because people used to write code there
> > and
> > > > doing
> > > > > > code execution when you open a text file.
> > > > > >
> > > > > > Ido
> > > > > >
> > > > > > LINESIP websites:
> > > > > > http://www.linesip.com
> > > > > > http://www.linesip.co.il
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > 2010/11/9 Erez D <erez0001 at gmail.com>
> > > > > >
> > > > > >>
> > > > > >> the following line:
> > > > > >> // vim: ts=2 sw=2 et
> > > > > >>
> > > > > >> seems to work under windows in gvim, but not in linux (at least
> > not
> > > > under
> > > > > >> vim over xterm).
> > > > > >>
> > > > > >> how can i change the syntax to make it work in all of
> > > > linux/windows/cygwin
> > > > > >> in gvim and vim/xterm ?
> > > > > >>
> > > > > >> thanks
> > > > > >> erez.
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the Linux-il
mailing list