You are not logged in.
Hi!
I began to program with python half a year ago and now I am looking for a better editor than gedit. I' ve heard a lot about emacs and vi.
What is the better editor for python? I don't know if I should use Xemacs or the gnu emacs.
Any suggestions what to choose?
Thank you
benny
Offline
They are very different editors so it is best to take a look at both and decide which is right for you.
Most people use gnu emacs over xemacs.
Offline
pallavi
Mr Green
Offline
Just to summarize what's happened on this board before, more Arch users use vim than e-macs, but both will suggest either. Personally, as a python programmer myself, I hate both lisp (used to configure emacs) and vim configuration syntax. I used jEdit for a long time, its nice and configurable, same as both vim and emacs, but its configured in Java... which I'm also not fond of anymore.
Decent editors that are configured in Python are hard to come by so I wrote my own -- thanks Mr Green for the plug. However, I don't really consider it a good editor yet. You might look at eric3, pype, or dr python.
Now, if you really have decided to go traditional and choose one of vim and emacs, all I can say is when I was making the decision, I used them both for about three months each, vim first and then emacs. I haven't used emacs since.
Editors have personalities. You have to choose the one that suits you and only you. No matter which one you choose, there are going to be people that hate you for it.
Sound advice for choosing a mate too. :-S
Dusty
Offline
Offline
I personally love VIM for any type of programming/text editing. VIM has a bit of a steep learning curve, but if you stick it out it is really nice!
Also you could check out EasyEclipse Python Distro.
the funk soul brother.
Offline
Personally I wouldn't say that neither emacs or vim is better than gedit when it comes to programming.
Certainly, I like programming small scripts like bash or edit configuration files in vim, and for that it's great. Emacs on the other hand is a nice editor, but being a former Windows user, those shortcut commands are killing me.
I think you're looking for a program suite like eclipse, or possible jedit (which is mostly for java, but has support for many other languages).
Offline
Personally I wouldn't say that neither emacs or vim is better than gedit when it comes to programming.
Then you're not using either of them (emacs or vim) properly. gedit is made to edit text. emacs/vim focus on editing source code....
can gedit do this? (NOTE, this is an exaggerated screenshot, to illustrate the point that vim/emacs are more than editing text)
[URL=http://img133.imageshack.us/my.php?image=ss20060427211010dn3.png][/URL]
Offline
Offline
Then you're not using either of them (emacs or vim) properly. gedit is made to edit text. emacs/vim focus on editing source code....
+1
One of my likes with Vim (and it applies to Emacs too) is the ease at which I can navigate around the file. There's also the ease at manipulating blocks of code (like formating, indent, yanking, etc).
I made a little reference sheet for vim which newbies may find interesting.
Offline
phrakture, that may well be so. My point was concerning some larget projects, in which I consider neither Vim nor Gedit to be an effective editor. Gedit in my opinion is more effective when it comes to handling many classes/resources using all the standard desktop tools - including the ever so effective mouse (which I consider to be a really valuable tool when I must sync my mind against dozen of files).
It's just my opinion that I personally find it easier to develope larger i.e. java projects with Gedit, and minor projects with the ever so excellent Vim .
By the way, what font is that you're using in the screenshot ? I found that neither artwiz or terminus is the perfect vim font
Offline
toxic wrote:Personally I wouldn't say that neither emacs or vim is better than gedit when it comes to programming.
Then you're not using either of them (emacs or vim) properly. gedit is made to edit text. emacs/vim focus on editing source code....
can gedit do this? (NOTE, this is an exaggerated screenshot, to illustrate the point that vim/emacs are more than editing text)
[URL=http://img133.imageshack.us/my.php?image=ss20060427211010dn3.png][/URL]
Not to be off topic, but which file-browser plugin is that on the left side there phrak?
Offline
The font is Bitstream Vera Sans Mono.
File manager is bufexplorer (pacman -S vim-bufexplorer)
Offline
Doh...I could have read that on the screenshot! :oops: Thanks...
Offline
@phrakture, post your .Xdefaults please , i love those colors
rawr
Offline
phrakture wrote:toxic wrote:Personally I wouldn't say that neither emacs or vim is better than gedit when it comes to programming.
Then you're not using either of them (emacs or vim) properly. gedit is made to edit text. emacs/vim focus on editing source code....
can gedit do this? (NOTE, this is an exaggerated screenshot, to illustrate the point that vim/emacs are more than editing text)
[URL=http://img133.imageshack.us/my.php?image=ss20060427211010dn3.png][/URL]Not to be off topic, but which file-browser plugin is that on the left side there phrak?
I'd like to know also. I like to use vim, mostly becuase I'm a CLI junkie.
Offline
I'd like to know also. I like to use vim, mostly becuase I'm a CLI junkie.
I believe he's using bufexplorer.vim. phrak posted all the vim plugins he uses here, there are quite a few really excellent ones in there, so check them out!
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
I use vim, have never even opened emac, but one thing I'll say is that although the learning curve is pretty steep (i'm at the tip of the iceberg I'm sure), once you start learning some of the commands and have a good vimrc file, you definitely miss it's functionality when using something like gedit, etc. The d,y,and p command variations especially. When ever I press 'd10 ENTER' in kate or gedit, i realise how much I'm missing vim. Vimtutor is your friend initiallly
However some of this functionality does not mean that much if you're not a keyboard junky. I try to use my mouse as little as possible, which is why gedit etc. are annoying to me. If you are a mouse-inclined person, vim (and I'm assuming) emacs mean a bit of a usage paradigm shift
Offline
I like the vi style, and I like small, simple and powerful apps. I use vim, to bad it isn't small nor simple.
It's 2922 loc Makefile scares me. =P
Sebastian A. Liem
Offline
emacs has a pretty big learning curve.. I'm suprised no one has said anything about the wacky key combos you have to do..
anyway, people can get pretty religious about their text editor.
syd wrote:Here in NZ we cant spell words with more than 5 letters. So color will have to do.
You must be very special then because "letters" has 7
Offline
emacs has a pretty big learning curve.. I'm suprised no one has said anything about the wacky key combos you have to do..
anyway, people can get pretty religious about their text editor.
VIM and emacs are both a bit 'wacky' in the key department. Emacs is a bit less wacky (IMO) since it's basic keystrokes are supported in many applications (firefox, bash, GTK).
And I rebind a lot of the long key combos.
Offline
I use vim. I've always meant to try out emacs, but I've never completely gotten over the size of it (I much prefer specialized programs good at specific things to large programs that attempt to do everything), plus, after awhile of using it, vim just gets to be second nature.
Offline
eclipse with pydev plugin is a good way.
Offline
notepad
pacman -S wine and run 'notepad' - it's included.
Offline
pallavi for python....
Mr Green
Offline