Welcome Guest.   Make a donation to an author on the site October 30, 2014, 07:17:04 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Is this serious?  (Read 8697 times)
iveqy
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« on: February 20, 2007, 04:39:41 PM »

I would like to thank for a good writter test. I liked it, always to the vim post. Now I can't trust anything written in the test, becuase everything (almost at least) writter about vim was horrible wrong!

Column mode: Yes, excellent, use ctrl+V for marking text in visual mode.
Hex mode: Yes, use the -b switch and the set display to uhex
Searching: Just typing / (can that really be so hard?) and you will have the power of reg exp. Compete with that!
Undo: Press u
Macros and Scripting: custom vimscript
User Tools: a lot, visist vim.org
Code Folding: Very good folding, learn more with :help folding

Vim is a tool, a tool for people that needs to edit textfiles, a lot of them, and fast. If you can't handle it, it probably isn't the tool for you, but do not lie about it.

vim is best used with the keys, that's a _text editor_. When you type, you are using the keys, not the mouse. Leave the mouse out of it, also leave the arrowkeys out of it, it just eats time from your editin. With vim, there's no need for a mouse or arrowkeys.

With other features like, code completion. I would say that vim is one of the most powerful editors out there.
« Last Edit: February 20, 2007, 05:03:02 PM by iveqy » Logged
jgpaiva
Global Moderator
*****
Posts: 4,711



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: February 20, 2007, 04:49:13 PM »

Undo: Press u  Grin Grin

I do agree that VIM is probably (arguably) the most-featured editor around (possibly along with emacs), and i use it myself.
It is a REAL PAIN IN THE ROYAL BUTT to learn how to use it, though. The first time i ran it from a console in linux, i had to reboot the computer because i couldn't quit it.
If the review was called "best Windows text editor", it'd be very accurate, since VIM doesn't really follow the rules of windows.


BTW.. there should be a better way to have hex mode available, though. Having to close VIM isn't very handy  huh
Logged

iveqy
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #2 on: February 20, 2007, 05:04:06 PM »

Oh, I forgott to change the undo thing, done now smiley.

The binary thing is not strong in vim, but it is there. Try :help hex for more information.
Logged
tranglos
Supporting Member
**
Posts: 1,079



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: February 20, 2007, 08:30:41 PM »

vim is best used with the keys, that's a _text editor_. When you type, you are using the keys, not the mouse. Leave the mouse out of it, also leave the arrowkeys out of it, it just eats time from your editin.

Check out this Wikipedia entry on Vi. It shows the keyboard layout of the terminal Bill Joy used to create Vi... in 1976. The keyboard did not have arrow keys smiley The editor is over 30 years old. All its quirks were not design virtues, they were simple necessities. See what other keys the keyboard was missing that we now take for granted.

In general, the reason you're supposed to navigate with hjkl instead of arrow keys or something more vaguely intuitive is that in those days each computer manufacturer delivered their own keyboard, whose layout and scancodes were largely incompatible with all other keyboards, and each terminal was different, so any application that was supposed to be portable or used over a remote terminal had to be restricted to the lowest common denominator of what machines of the time were capable of and would understand. Hence no "extended" keys, and even today I don't think you can use function keys or Alt combinations over telnet. Well, there is one virtue in that: you can use Vi anywhere, as long as you can telnet to a remote Unix-like shell. And Vi certainly has a powerful command set, but nothing stops programmers from implementing the same power within a modern, more usable UI framework.

Please note the review does not say Vi cannot do any of the things listed; it only says they're too hard to figure out.

According to Wikipedia, "Vi" stands for "visual". I rest my case smiley
« Last Edit: February 20, 2007, 08:40:50 PM by tranglos » Logged

tranglos
Supporting Member
**
Posts: 1,079



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: February 20, 2007, 08:40:29 PM »

One more thing: that keyboard layout for the original Vi is really revealing. I've always wondered why the colon was chosen for the command prefix. It's inconvenient, since you have to press Shift, it slows you down. The semicolon would be much easier/faster.

Well, if you check out the One True Vi Keyboard, typing the colon did not require Shift. So the original choice was reasonable. It just isn't reasonable anymore on a current standard PC keyboard.
Logged

mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: February 20, 2007, 11:45:08 PM »

The text editor review is getting a little old, i'll update it with your comments though.  i have to admit im not much of a vi[m] fan.  i know it's powerful but the interface is just too much for me.  at least with emacs i feel like im still on a planet inhabited by humans.  with vi i feel like i've been transported to an alien universe made for creatures who use telepathy instead of fingers.
« Last Edit: February 20, 2007, 11:47:12 PM by mouser » Logged
iveqy
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #6 on: February 21, 2007, 02:14:37 AM »

Please note the review does not say Vi cannot do any of the things listed; it only says they're too hard to figure out.
According to Wikipedia, "Vi" stands for "visual". I rest my case smiley

I do know, why vim has it's set of mappings, and that do not change what I said. You still edit faster if you do not need to move your hands.

Well, vi is visual because you can se the whole textfile, not only a row like in ed.

The text editor review is getting a little old, i'll update it with your comments though.  i have to admit im not much of a vi[m] fan.  i know it's powerful but the interface is just too much for me.  at least with emacs i feel like im still on a planet inhabited by humans.  with vi i feel like i've been transported to an alien universe made for creatures who use telepathy instead of fingers.
thank you. Vim is not for everybody (vim sucks before you can handle it. If you try vim for at least three months you probably like it Wink ). Still the interface is a matter of taste. Just because vims interface is different that the standard windows interneface, doesn't mean that it is bad.
Logged
mouser
First Author
Administrator
*****
Posts: 33,610



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: February 21, 2007, 02:24:18 AM »

agreed.  it's not uncommon to find some very serious programmers who love vi(m).
Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: February 21, 2007, 03:28:56 AM »

The hjkl/whatever is not very intuitive, but it might be a bit faster than moving your right hand to the arrow keys... an inverted-T mapping would've been a bit neater, but that can probably be configured (if you don't feel like using the arrow keys).

I have this feeling that VIM is pretty nifty, but I still can't really get my head around using it. Things like "dw" to delete a word is pretty great, but I'm so used to the (clunky, agreed) shift+ctrl+rightarrow followed by delete that it doesn't come as that much of an advantage - and I manage to have a pretty nifty WPM, so speed isn't that much of an issue.

So, on Windows, I find myself launching Notepad++ rather than VIM. It's not as clunky, either.
Logged

- carpe noctem
iphigenie
Supporting Member
**
Posts: 1,166


curiosity FTW!

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: February 22, 2007, 04:34:45 AM »

I have used vi for quick terminal editing for so long, quite a few of the keys and I must say I like it when text editors have the option to support the vi key bindings for things like word/line deletes, quick search, line jump etc.

Quite a few do, it'd be fun to have a list.
Logged
EĆ³in
Charter Member
***
Posts: 1,400


O'Callaghan

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: February 22, 2007, 05:06:56 AM »

People might like to give Cream a try for a more accessible interface to Vim.

Logged

Interviewer: Is there anything you don't like?
Bjarne Stroustrup: Marketing hype as a substitute for technical argument. Thoughtless adherence to dogma. Pride in ignorance.
noksagt
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #11 on: May 26, 2007, 10:53:31 PM »

I don't know why you say any of the features in vim are hard to figure out.  In addition to the (possibly esoteric, but also logically chosen) keyboard commands, there are MENU OPTIONS for all of this stuff
  • Tools->convert to hex
  • Edit->Find.. (or Edit->Find and replace...)
  • Edit->Undo
  • Tools->Folding
How is any of that "too hard to figure out?"

Also, vim can be scripted with python (and probably other stuff) in addition to the vimscript.  And user tools only need to be dumped into the plugins directory.  Some authors even package them in installers for different operating systems!

If you don't like the modal editor, use gVim Easy (that ships with vim).  Or use cream (which is quite good for beginners to vim).

Yes, vim has other hidden secrets that are harder to figure out & those who want to truly master it may want to refer to the help system.    However, for the purposes of THIS review, the author could have just quickly flipped through the different menus.  If he couldn't do this, what other editors did he give a half-hearted, inaccurate try?
Logged
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: May 28, 2007, 12:13:11 PM »

The thing that's hard to figure out with VIM isn't really using it - find a "cheat sheet" and you'll be able to use it rather quickly. No, the hard thing is being *more productive* with VIM than whatever other text editor - it requires adapting to a completely new mindset, if you're used to standard windows-style text editors.

Btw, noksagt... Danish?
Logged

- carpe noctem
noksagt
Participant
*
Posts: 3

View Profile Give some DonationCredits to this forum member
« Reply #13 on: May 28, 2007, 07:43:57 PM »

Btw, noksagt... Danish?
The word is (enough said).  I'm not.
Logged
Tuxman
Supporting Member
**
Posts: 1,484


OMG not him again!

View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: November 14, 2009, 06:47:34 PM »

As I just read that editor review again, I'd like to add my 2 cents:

Other editors had "macro recording" as a pro. The Vim entry says "custom vim script". Now this is not about "too hard to figure out". It uses vimscript indeed, but it can also handle macros of any complexity. Type q (without a colon), add a register for that macro (like "a"), enter a bunch of Vim commands, press q again and you can play the macro any time by @a and @@. So what?

(Just to clarify that.)

Ah, and Vim's GUI might not be that impressive. But what do you need a toolbar or even a menubar for at all?
Most people here use Ctrl+S to save something, I guess. They won't use a toolbar for it. So why do they care if Vim's toolbar and menu are ugly and too short and whatever?

 huh

(Mine doesn't have both of them anyway.)

Its help system was another "con". Hell, what do you expect? Screenshots?
You can even use :helpgrep. Not many other editors allow this.

Having been convinced by a lot of positive reviews (also on DC tongue), GVim is my default editor on Windows right now (to be honest, it has been for a couple of months now). Notepad++ (its "predecessor") is my "alternative" for some special purposes, but it is not registered with anything anymore. Vim could do everything in a better and/or more flexible way.

jm2c, as stated above.
And sorry for the bump.
Logged

I bet when Cheetahs race and one of them cheats, the other one goes "Man, you're such a Cheetah!" and they laugh & eat a zebra or whatever.
- @VeryGrumpyCat
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.044s | Server load: 0.12 ]