Archived

This topic is now archived and is closed to further replies.

capn_midnight

pico vs emacs vs vi vs edit vs notepad

49 posts in this topic

Encoded? Why would you encode an answer when its so obvious?
0

Share this post


Link to post
Share on other sites
Once you know the commands, vi is the best. There is so much it can do. However, it has a steep learning curve that deters most poser programmers.
0

Share this post


Link to post
Share on other sites
I''d just like to say that emacs is horrible, or at least that version of emacs (is it X-emacs or something) that involves all those stupid mouse+keyboard combination shortcuts.
0

Share this post


Link to post
Share on other sites
Emacs is a great desktop environment and email client. Too bad it lacks a decent editor.

Honestly, they all suck. I haven''t bothered to actually look, but I have yet to encounter an editor that brings nirvana (PFE included). It doesn''t help that I include appearance as a criterion.
0

Share this post


Link to post
Share on other sites
VI!

emacs seems too clunky. I like vi cause it''s seems so lightweight. It''s easy to learn the basic commands too.
0

Share this post


Link to post
Share on other sites
I didn't realize there was a competition here... its notepad, obviously.

And please learn how to spell, you make yourself look retarded when you mix 1337 with mispelled words.

[edited by - zer0wolf on May 27, 2003 5:42:42 PM]
0

Share this post


Link to post
Share on other sites
copy con

but seriously I use nano and vi quite a lot, along with gEdit; under windows, usually notepad (or MSVC - notepad can''t handle some EOL characters for some reason).

Superpig
- saving pigs from untimely fates, and when he''s not doing that, runs The Binary Refinery.
0

Share this post


Link to post
Share on other sites
vim is the best for me. Code block folding, very clean, regexps, and too much more. It''s tough to break into but just like Linux, give it a year or two and it''s the fastest damn thing you will ever use.

Current vimrc if anyone is interested (check out the statusline setting, hehehe):

""""""""""""""""""""""""""""""
" Vim internals
set nocp
set vb
set autoindent
set nobackup
set hidden
set number
set ruler
set laststatus=2
set statusline=\ \ %03.5c\ :\ %03.5l/%03.5L\ \ \ \ \ %-03.3m%-04.4r\ %-050.50F\
"set insertmode

""""""""""""""""""""""""""""""
" Folding
set foldmethod=indent
set foldcolumn=2
set foldlevelstart=99

""""""""""""""""""""""""""""""
" Tabs
set ts=4
set expandtab
set softtabstop=4
set shiftwidth=4

""""""""""""""""""""""""""""""
" Key bindings

" Misc keys
"imap :foldclose
"imap :foldopen
"imap :!make
"imap :bp
"imap :bn

" Quit, Save, Open, New
map :q!
map :w
map :e\
map :enew
imap :q!
imap :w
imap :e\
imap :enew

" Find, Find Next, Replace, Find Tag
map /
map //
map
map :tag

" Close New Prev Next buffer controls
set hidden
map :bdelete
map :enew
map :bn
map :bp
imap :bdelete
imap :enew
imap :bn
imap :bp

" XMMS controls
map :!xmms -r
map :!xmms -p
map :!xmms -t
map :!xmms -f

""""""""""""""""""""""""""""""
" Universal syntax highlighting
set autoindent
syntax on

highlight Todo ctermfg=red
highlight Comment ctermfg=red
highlight Error ctermfg=white ctermbg=red

highlight PreCondit ctermfg=darkgreen
highlight Operator ctermfg=darkgreen

highlight Conditional ctermfg=darkgreen
highlight Include ctermfg=darkgreen
highlight Structure ctermfg=darkgreen
highlight Statement ctermfg=darkgreen
highlight Type ctermfg=darkgreen
highlight PreProc ctermfg=darkgreen
highlight Macro ctermfg=darkgreen
highlight StorageClass ctermfg=darkgreen
highlight Repeat ctermfg=darkgreen
highlight Label ctermfg=darkgreen

highlight String ctermfg=darkyellow
highlight Float ctermfg=darkyellow
highlight Number ctermfg=darkyellow
highlight SpecialChar ctermfg=darkyellow
highlight Character ctermfg=darkyellow
highlight Boolean ctermfg=darkyellow

highlight folded ctermfg=white ctermbg=blue
highlight foldcolumn ctermfg=white ctermbg=blue
highlight statusline ctermfg=white ctermbg=blue
highlight linenr ctermfg=white ctermbg=blue

0

Share this post


Link to post
Share on other sites
anybody out there work with ultraedit? I love it...I was all about notepad until I found ultraedit.
0

Share this post


Link to post
Share on other sites
pico you fools! VI is teh suck. No one shoud learn how to use an editor, it should be totally obvious.
0

Share this post


Link to post
Share on other sites
Notepad and EDIT are the best, simply beacause it''s so easy to have fun with the menu''s in a hex editor. You should see my new version of "notepad"... hehe...




-~-The Cow of Darkness-~-

If you see the image I am online
0

Share this post


Link to post
Share on other sites
I use edwin for my Scheme stuff. Edwin is the same as emac (just with Scheme instead of Lisp). It''s true that it has a steep learning curve but when you''ve got it all memorized it works really well...

But as a true text editor I''d choose TextPad.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.
0

Share this post


Link to post
Share on other sites
I''ve been using gvim on Windows for quite a while now(2 years). It sucks for a lot of reasons, including, but not limited to:

- The cursor cannot be outside of the visible area. If you try to scroll away from the cursor, the cursor follows.
- Managing larger projects with more than a couple of files is awkward at best
- You are required to save a buffer before changing to another
- The adherence to Windows UI standards is sketchy at best, even when sourcing mswin.vim
- It leaves you very dependent on your .vimrc - it''s pretty hard to use when you''re at a location without your own .vimrc

[X]Emacs is just huge...

Notepad is pretty useless since it cannot handle files with other line ending styles than CRLF. The fact that it has no autoindent and no way to change the tabsize doesn''t help either.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
0

Share this post


Link to post
Share on other sites
why would anyone need anything else besides notepad?

[edited by - MrPoopypants on May 27, 2003 6:15:57 PM]
0

Share this post


Link to post
Share on other sites
Actually, now that I think about it... I use Wordpad more often than anything else, and I have Word installed. lol

so I change my vote to Wordpad!

[edited by - zer0wolf on May 27, 2003 6:19:14 PM]
0

Share this post


Link to post
Share on other sites
quote:
Original post by Arild Fines
I''ve been using gvim on Windows for quite a while now(2 years). It sucks for a lot of reasons, including, but not limited to:

- The cursor cannot be outside of the visible area. If you try to scroll away from the cursor, the cursor follows.
- Managing larger projects with more than a couple of files is awkward at best
- You are required to save a buffer before changing to another
- The adherence to Windows UI standards is sketchy at best, even when sourcing mswin.vim
- It leaves you very dependent on your .vimrc - it''s pretty hard to use when you''re at a location without your own .vimrc


I think your problem is using a UNIX tool on Windows. Windows just isn''t up to being as efficient as UNIX .

Anyway...
Point 1 means you''re used to crippling yourself with a mouse while editting text on a keyboard.
Point 2 means you''re used to crippling yourself with Windows.
Points 3, 4, 5 are irrelevant. Being a UNIX incarnation, it obviously doesn''t give a damn about Windows. You are not required to save jack shit. And going to any new location is going to introduce usability difficulties for any program.
0

Share this post


Link to post
Share on other sites
quote:
Original post by Kadesh
I think your problem is using a UNIX tool on Windows. Windows just isn''t up to being as efficient as UNIX .


That''s a load of bull, and you knew so when you wrote it.
quote:

Anyway...
Point 1 means you''re used to crippling yourself with a mouse while editting text on a keyboard.


Who said anything about a mouse? I said CURSOR. I don''t use the mouse in gvim.
quote:

Point 2 means you''re used to crippling yourself with Windows.


What does "crippling yourself with Windows" have to do with managing larger projects?
quote:

Points 3, 4, 5 are irrelevant.


Excretus bovum.
quote:

Being a UNIX incarnation, it obviously doesn''t give a damn about Windows.


Only 4 was in any way related to Windows.
quote:

You are not required to save jack shit.


It won''t let you switch buffers without saving.
quote:

And going to any new location is going to introduce usability difficulties for any program.


Not a program that has sensible defaults. If MS employees find themselves constantly changing the settings in VS.NET before presentations, they are expected to file an issue requesting that the defaults be changed.

May I suggest you get your head out of Linus'' rectum and realize thatjust because someone chooses to work on Windows doesn''t mean they are retarted? I find your condescending tone extremely offensive, but I am grateful there are people like you around - you prevent phenomena like linux from ever becoming a real threat.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
0

Share this post


Link to post
Share on other sites