Favorite Editors

rbelk

Active Member

Reaction score: 57
Messages: 199

killasmurf86 said:
correct me If i'm wrong, but doesn't Single Unix Specification, say, that Unix has to have vi (or work-alike).
I know Linux/BSD aren't Unix

Yes the Open Groups Single UNIX Specification from Version 3 on does specify to have VI. Check it out at http://www.unix.org/, you will have to provide your name, email address, and location to view the specifications. killasmurf86, in my post I originally said UNIX :\

Guess what guys, I thought that FreeBSD was supposed to be SUS(Single Unix Specification) compliant, check it out http://www.freebsd.org/projects/c99/. At least it is trying to. I think I'll join the project.
 

Oko

Daemon

Reaction score: 794
Messages: 1,620

rbelk said:
Guess what guys, I thought that FreeBSD was supposed to be SUS(Single Unix Specification) compliant, check it out http://www.freebsd.org/projects/c99/. At least it is trying to. I think I'll join the project.

FreeBSD is far behind any other BSDs project when it comes to implementation of c99. DragonFly is almost 100% clean of non c99 code. OpenBSD have also done great deal of code auditing.
 

lme@

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 303
Messages: 776

Hail to the vim, Baby!
 
OP
CodeBlock

CodeBlock

Active Member

Reaction score: 18
Messages: 216

Wow a lot more vim-guys in the crowd than I thought. I thought it would be a little more mixed up. :p. Well glad to see I'm not all alone then, vim is great!
 

rliegh

Member

Reaction score: 5
Messages: 54

Voltar said:
I am actually fond of pico, as bad as that sounds,
I used to feel the same way, until I got used to vi (NOT vim) and realized that I already knew the important keys from playing nethack.

There's still a lot of neat tricks you can do in simple vi that I'm not aware of how to do in other editors (eg. :<line number> to go to a specific line, instead if hitting "page down" or scrolling).
also, hitting <number><action> to repeat an action (eg 23dd to erase 23 lines of text) is also pretty neat as well.
 

Beastie

Daemon

Reaction score: 542
Messages: 2,275

Yes, there's no doubt vi is super.

How about commands like :10,15 w somefile to write (save) lines 10 to 15 only, or motion+operator couples like d$ to delete till the end of the line, or 10dk to delete 11 lines above and including the current, or 11~ to toggle the case of the next 11 characters, etc?
Plus these are all very simple commands once you understand how vi works, i.e. its logic, mnemonics, etc.


Also, you can make your life easier by adding
Code:
set leftright
set number
set ruler
...
and many other options to your /etc/vi.exrc

and
Code:
set showmode
set verbose
if you're still new to nvi and need some "pointers".
 

jrick

Member

Reaction score: 6
Messages: 84

vim user here, and I love it.

I want to give yi a try as well, but it seems that we need a newer ghc port first before I can compile it.
 

phoenix

Administrator
Staff member
Administrator
Moderator

Reaction score: 1,289
Messages: 4,099

At a FreeBSD console, it's ee. At a Linux console, it's nano/pico.

Personally, I can't stand (n)vi(m) or emacs or ed or anything like that. I don't edit text files enough at the console to bother memorizing a bazillion different keyboard shortcuts. Give me an easy to navigate menu system any day.

At an X11 GUI, it's Kate or KWrite, depending on if I need to edit just 1 file or multiple files at once.

And for non-plain-text documents (or text docs longer than a couple screens/pages), then it's WordPerfect anywhere I can get it to run, or OpenOffice.org.

[This would have been better as a poll.]
 

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 834

phoenix said:
And for non-plain-text documents (or text docs longer than a couple screens/pages), then it's WordPerfect anywhere I can get it to run, or OpenOffice.org.

[This would have been better as a poll.]

I used to run the Linux version of WordPerfect back in the day on BSD, I wish there was still a version to use on FreeBSD :(

And to keep on topic. ee and mcedit are the console editors I use the most. In X it's geany.
 

socillion

New Member


Messages: 7

console - ee
lisp - emacs w/ slime + sbcl
config files/xml/text - gedit
c/c++ - codeblocks (+1 for awesomeness)
java - eclipse
perl - eclipse or gedit
random notes/planning - zim
geany - installed but not really used

I don't really subscribe to the idea there is One Perfect Editor, as is probably obvious :).
For some reason, vi just seems to get in MY way. I'm only saying that I *personally* avoid it when possible.
On a related topic, does anyone use anjuta?
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 3,167
Messages: 11,425

I'm also fond of ee at the console. I tend to save mnemonic energy for stuff more worthwhile. I can handle vi, but it will never become a favourite of mine, and when I stand behind someone working in vi, I get cramps because of the amount of keystrokes needed to do basic stuff ...
 

jrick

Member

Reaction score: 6
Messages: 84

DutchDaemon said:
and when I stand behind someone working in vi, I get cramps because of the amount of keystrokes needed to do basic stuff ...

Interesting, because I get that same feeling when I try to use ee. ;)
 

rghq

Member

Reaction score: 8
Messages: 76

Vim - you get used to all the nice commands ;)

Sometimes also Scite / mcedit
 

dennylin93

Aspiring Daemon

Reaction score: 113
Messages: 783

jrick said:
Interesting, because I get that same feeling when I try to use ee. ;)

At first, I thought that vi and Vim were hard to use because of all the commands, so I stuck with ee. Later on, I forced myself to learn vi and Vim. It takes a while to get used to, but I think Vim really is better than ee (I go berserk when I use ee now).
 
Top