Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2003 03:37:10 -0500
From:      "Mezz bsdforums.org" <reigncracks@hotmail.com>
To:        andy@leonidae.org
Cc:        gnome@freebsd.org
Subject:   Re: Gnome 2 Editors
Message-ID:  <F28DC6K80YbcC5Jl91K0003d9d2@hotmail.com>

next in thread | raw e-mail | index | archive | help
>I'm wondering what programmer text editors people are using out there
>under Gnome/GTK 2

I am using (g)vim "gnome-vim" with GTK2 for long time by now to write PHP, 
Perl, MySQL, HTML and etc. Check my screenshot.. -> 
http://www.mezzweb.com:81/images/gnome-vim.png .. I love it so far, but only 
one missing feature that I want is....tab windows.. Anyway, you can grab the 
very lastest gtk2 patch (vim-gtk2-20030218.patch) at 
http://regexxer.sourceforge.net/vim/ .. gnome-vim project website is at 
http://www.opensky.ca/gnome-vim/todo.html ..

>I'm fairly new to Gnome, and the one thing that I truly miss from KDE is
>KATE - a simple programmer's editor with auto-indent, syntax
>highlighting (for Python), and other stuff.

You can do that with VIM as well. Check at VIM's online manual website. 
Here's what I put in the ~/.vimrc:

=============================
let color = "true"
if has("syntax")
  if color == "true"
    " This will switch colors ON
    so ${VIMRUNTIME}/syntax/syntax.vim
  else
    " this switches colors OFF
    syntax off
    set t_Co=0
  endif
endif
set bs=2
set cin
set nu
set im
set tabstop=4
set shiftwidth=4
=============================

There have options to do fold, split and many more in the VIM's online 
manual.

BTW: It's very stable to use daily with this gtk2 patch, so I think it's 
very ready to be part of ports tree. I am not sure how to create to include 
editors/vim in like edirors/gnome-vim or vim-gtk2 or whatever and patch it. 
Well, maybe I can try to create a port of gnome-vim to see if I can catch 
the logical to use (include) editors/vim.

Cheers,
Mezz

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F28DC6K80YbcC5Jl91K0003d9d2>