Welcome, Guest. Please login or register.

Author Topic: Good source code editor?  (Read 3908 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline avanham

  • Newbie
  • *
  • Join Date: Mar 2005
  • Posts: 42
    • Show all replies
Re: Good source code editor?
« on: February 18, 2008, 02:39:17 AM »
I spent years using other editors including CygnusEd (which is very nice) but nothing comes close to the flexibility of Vim (except possibly Emacs, but it has nasty multifinger keyboard shortcuts -- Vim uses modes which mean you rarely have to use the control or alt keys).  Although it has a very steep learning curve and is just plain weird, I use it for everything on every platform I have to code on.  There is an OS4 version at http://os4depot.net/share/utility/text/edit/vim-bin.lha

It can be set up to do everything you describe except open on a public screen

Quote

Basically, I need:
-  Automatically open the files I'm working on at startup

Vim has sessions that allow this

Quote

-  Ability to set and go to 'bookmarks' without using the mouse

Vim comes from the days before mice.  Everything can be done without a mouse.  Vim has two bookmark modes. The first is two letter combination that allows 26 quick-access bookmarks.  The second is for named bookmarks

Quote

-  Ability to open a duplicate window (of the current file) without using the mouse

Vim allows any number of duplicates and allows you to arrange them side by side, one above the other or a combination of them both

Quote

-  Hopefully some automatic window arranging

I'm not sure what you mean by this

Quote

-  Runs on it's own *public* screen (so I can run a shell on that screen too)

Okay, it won't do this but it does run in a console so you can have a shell in another window

Quote

-  Lots and lots of keyboard shortcuts!  Especially good text manipulation ones.

Vim is the king of keyboard shortcuts.  I would say that is one of the things fans like the most and non-fans hate the most

Quote

-  Ability to jump to a line by line number

simplicity

Quote

-  Line number/character number display

Vim has a mode line that shows this

Quote

-  Automatic indenting

Vim can automatically indent for a bazillion languages

Quote


What I don't need:  Special C source code functionality.  I don't code in C, C+, C++, C#, C*, C-, whatever.