User Name
Password
AppleNova Forums » Genius Bar »

vi editor, TextEdit


Register Members List Calendar Search FAQ Posting Guidelines
vi editor, TextEdit
Thread Tools
bruce
Member
 
Join Date: Mar 2005
Location: south carolina
 
2005-11-29, 13:55

I go to terminal and open a file using the vi editor.
I then go to the file using finder, and learn that there is
no application with which to open it. What to do?

Why do I want to do this? I like the file opened with vi
because the rows are perfectly aligned; the different
widths of TextEdit are sometimes annoying. For example,
I often use cal to put a month calender into a file when sending
information on a trip or appointment. If I paste the output of cal
into a mail message or TextEdit message, the alignment is messed
up and it does not look good. Pretty minor complaints in the
grand scheme of things, but comments would be appreciated.
  quote
Kickaha
Veteran Member
 
Join Date: May 2004
 
2005-11-29, 13:57

1) Change the font in TextEdit to be monospaced, such as Courier. You know, the same font used in your Terminal window.

2) You can *always* drag and drop a file onto the TextEdit icon in the Dock and have it open it.
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2005-11-29, 14:13

Quote:
Originally Posted by Dr. Kickaha
1) Change the font in TextEdit to be monospaced, such as Courier. You know, the same font used in your Terminal window.
Rather, I would instead suggest going to TextEdit's preferences and setting the default format to plain text. Then, any new document will use the wonderfully bitmapped and monospaced Monaco 10.

As for Mail, do the same. Preferences -> Composing -> Plain Text. Then, Preferences -> Fonts & Colors -> Use fixed width for plain text messages.

Voila!

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
bruce
Member
 
Join Date: Mar 2005
Location: south carolina
 
2005-11-29, 15:17

Thanks for the tips.
You guys are, well, geniuses.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools

« Previous Thread | Next Thread »

All times are GMT -5. The time now is 04:47.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova