My favorite text editor

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

My favorite text editor

VIM
12
48%
GNU/EMACS
1
4%
NANO
5
20%
VI
3
12%
XEmacs
0
No votes
gedit
2
8%
Kate
1
4%
KWrite
0
No votes
Pico
0
No votes
OTHER - please state
1
4%
 
Total votes: 25

User avatar
allix
Posts: 1079
Joined: Tue Dec 19, 2006 5:07 pm
Location: London, England
Contact:

My favorite text editor

Post by allix » Sun Feb 18, 2007 8:22 am

Its that exciting time again :P
What tool do you craft your fine code with?
or change configurations files as well as reading text files and whatever else you do.

http://video.google.co.uk/videoplay?doc ... gle+engEDU

A video with Bram Moolenaar
Арте́льный горшо́к гу́ще кипи́т
Working as a team produces better results
Russian Proverb

User avatar
Wally Balljacker
Posts: 1227
Joined: Fri Jul 29, 2005 3:32 am
Location: University of Massachusetts - Lowell
Contact:

Post by Wally Balljacker » Sun Feb 18, 2007 9:31 am

VIM FTW!

Sorry. :o

User avatar
CptnObvious999
Posts: 798
Joined: Fri Jun 03, 2005 7:54 pm
Location: Maryland
Contact:

Post by CptnObvious999 » Sun Feb 18, 2007 11:12 am

it really depends on what I am editing if it is a web page I generally use Quanta, for Python code I usually use SPE unless it's just a small change in which I would use Kate. I use Kate to open .desktop files and basically any other basic text only document unless it requires me to be root in which case I usually pull down yakuake and run NANO.

User avatar
Vogateer
Posts: 700
Joined: Thu Nov 17, 2005 11:18 pm
Location: Norman, Oklahoma
Contact:

Post by Vogateer » Sun Feb 18, 2007 11:28 am

Vim. To know it is to love it.

I only wish I could edit formatted documents using Vim instead of OpenOffice.org or Abiword. I really should learn how to properly use LaTeX.
Vim is beautiful

User avatar
Wally Balljacker
Posts: 1227
Joined: Fri Jul 29, 2005 3:32 am
Location: University of Massachusetts - Lowell
Contact:

Post by Wally Balljacker » Sun Feb 18, 2007 1:58 pm

Speaking of favorite text editors, the LinuxQuestions.org Members Choice Awards Polls will be closing in a few hours. Hurry up and vote!

http://www.linuxquestions.org/questions ... y.php?f=76

User avatar
Vogateer
Posts: 700
Joined: Thu Nov 17, 2005 11:18 pm
Location: Norman, Oklahoma
Contact:

Post by Vogateer » Sun Feb 18, 2007 3:11 pm

I voted on the first day. :D

Emacs never really appealed to me. Vim scared me the first time I tried it, but then after I learned a few things, it actually became exciting. Thanks go to Allix for posting the video earlier. That's good stuff.
Vim is beautiful

User avatar
Ruhar
Posts: 20
Joined: Wed Jun 07, 2006 10:00 am
Location: San Diego, CA
Contact:

Post by Ruhar » Sun Feb 18, 2007 7:54 pm

Vim with the elflord colorscheme

User avatar
mowestusa
Posts: 298
Joined: Mon Apr 04, 2005 10:27 pm
Location: Farm Fields of Wheat and Corn
Contact:

Post by mowestusa » Sun Feb 18, 2007 9:01 pm

Ruhar wrote:Vim with the elflord colorscheme
Would that be GVIM?

I have tried to use the color schemes with the command line version of VIM, but it doesn't seem to set the colors the same as what you see in GVIM. I imagine that it must be some limitation with the color palette of my x-windows-terminal, or just my plain terminal. It seems like it only lets you have 16 colors palette in the default gnome terminal.

User avatar
adam
Posts: 73
Joined: Sat Jun 03, 2006 4:43 pm
Location: Dora, Alabama

Post by adam » Sun Feb 18, 2007 9:36 pm

vim. on bsd i just stick with the classic vi.
Image

User avatar
shopRatt
Posts: 107
Joined: Fri Sep 23, 2005 2:20 pm
Location: Canton, Michigan

Post by shopRatt » Sun Feb 18, 2007 10:12 pm

Notepad ! :roll: Just kidding. I use VIM most of the time.
//brian

User avatar
snarkout
Site Admin
Posts: 1342
Joined: Tue Aug 16, 2005 9:35 pm

Post by snarkout » Sun Feb 18, 2007 11:31 pm

Vim FTMFW!

Not sorry. It's the best.
Shared pain is lessened, shared joy is increased; thus do we refute entropy.
--Spider Robinson

User avatar
Gomer_X
Posts: 901
Joined: Fri Jun 03, 2005 1:31 pm
Location: Cincinnati, Ohio, USA
Contact:

Post by Gomer_X » Mon Feb 19, 2007 1:20 pm

Vogateer wrote:I only wish I could edit formatted documents using Vim instead of OpenOffice.org or Abiword. I really should learn how to properly use LaTeX.
I just write stuff in HTML in Vim. That way it's not tied to a specific word processor format. Even OO writer and Abiword don't read each other's formats properly, so I gave up and went to Vim.

If I need to print something I'll pull it up in a browser and print or cut and paste from Firefox to OO if I need something fancy.

HTML is also cross-platform and can be edited with pretty much anything.

User avatar
allix
Posts: 1079
Joined: Tue Dec 19, 2006 5:07 pm
Location: London, England
Contact:

Post by allix » Mon Feb 19, 2007 5:48 pm

Gomer_X wrote:
Vogateer wrote:I only wish I could edit formatted documents using Vim instead of OpenOffice.org or Abiword. I really should learn how to properly use LaTeX.
I just write stuff in HTML in Vim. That way it's not tied to a specific word processor format. Even OO writer and Abiword don't read each other's formats properly, so I gave up and went to Vim.

If I need to print something I'll pull it up in a browser and print or cut and paste from Firefox to OO if I need something fancy.

HTML is also cross-platform and can be edited with pretty much anything.
taken from the vim FAQ
SECTION 34 - PRINTING


34.1. How do I print a file along with line numbers for all the lines?

You can set the 'printoptions' option and use the ":hardcopy" command to
print your file:

:set printoptions=number:y
:hardcopy

For more information, read

:help 'printoptions'
:help :hardcopy


34.2. How do I print a file with the Vim syntax highlighting colors?

You can use the ":hardcopy" command to print a file with the Vim syntax
highlighting colors. You can also convert your file to a HTML file using
the 2html.vim script and print the HTML file.

For more information, read

:help syntax-printing
:help 2html.vim
:help :hardcopy
:help printing
i hope that satisfies your printing needs , if not then someone will help you in the mailing list
Арте́льный горшо́к гу́ще кипи́т
Working as a team produces better results
Russian Proverb

User avatar
mowestusa
Posts: 298
Joined: Mon Apr 04, 2005 10:27 pm
Location: Farm Fields of Wheat and Corn
Contact:

Post by mowestusa » Tue Feb 20, 2007 4:02 pm

Gomer_X wrote:
Vogateer wrote:I only wish I could edit formatted documents using Vim instead of OpenOffice.org or Abiword. I really should learn how to properly use LaTeX.
I just write stuff in HTML in Vim. That way it's not tied to a specific word processor format. Even OO writer and Abiword don't read each other's formats properly, so I gave up and went to Vim.

If I need to print something I'll pull it up in a browser and print or cut and paste from Firefox to OO if I need something fancy.

HTML is also cross-platform and can be edited with pretty much anything.
Gomer has given you a great option Vogateer instead of LaTeX. I also agree that I'm not happy with editing in Abiword and OO and switching between the two. I have also switched to doing my editing in "plain text" mostly in VIM or in some other editor. If I need a pretty printout I might just open up the "plain text" document in OO of Abiword and add some formating.

I have found another option that is really neat. I now do my writing and editing using "readable markup" which is really simple ways to add "markup" for formating to your "plain text" documents without all of the html or xml or LaTeX codes. You simply write the "plain text" document and then let asciidoc do its magic and you can convert your "plain text" with "readable markup" into a beautiful HTML layout or you can convert it to docbook and use db2pdf to produce a very nice PDF document.

You can find asciidoc at: http://www.methods.co.nz/asciidoc/

I'm not saying it is better than HTML, nor do I believe it is always better than LaTeX, but if you want something that is easy to learn, more readable as a "plain text" document before conversion, and able to produce rather nice HTML or PDFs then I would encourage you to take a look.

If you want very granular control than straight XHTML with CSS would be great. If you want high quality pdfs with math formulas than LaTeX is wonderful. For my needs, I'm finding asciidoc to be a great tool.

I'm giving a presentation on this to my local LUG this coming Saturday.

User avatar
Vogateer
Posts: 700
Joined: Thu Nov 17, 2005 11:18 pm
Location: Norman, Oklahoma
Contact:

Post by Vogateer » Tue Feb 20, 2007 4:31 pm

Thanks go to Gomer and mowestuse for those options. The HTML formatting seems obvious, though I rarely have good results with printing from Firefox. I simply don't have control of things like widows and proper line-spacing. I need to look into AsciiDoc as well, that looks like a great program.

I immediately have an affinity for LaTeX, though. The fact that TeX has Donald Knuth at the heart of it already brings my utmost respect, and that Eben Moglen and his staff often use LaTeX is also quite an endorsement. Knuth is just a genius, though. I also feel like the WYSIWYM markup is a very good idea. Most people—I should include myself in this group—really have no business trying to typeset their documents. I feel like I have a very rudimentary knowledge of the basics of typography, but compared to Knuth, there's no contest. When you use LaTeX, you are concentrating on the structure of your document, which I find very appealing, and that you can use VIM to do that text editing is really great, too. The more I look at it, the more I believe that this is the ideal set up. LaTeX will take a while to learn, but like many things in Linux, I assume that if you take the time to learn it, you're rewarded in spades.

I've done a few things in LaTeX, and they've always looked great. I'd like to find a few more templates or document types or whatever you call it, but just using the article style alone yields great results. The letter format is also quite good. Anyone else here a LaTeX fan?
Vim is beautiful

Post Reply