Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: The most useless key on my keyboard is:

by ambrus (Abbot)
on Nov 18, 2005 at 22:42 UTC ( #509984=note: print w/replies, xml ) Need Help??


in reply to Re^2: The most useless key on my keyboard is:
in thread The most useless key on my keyboard is:

This sounds a nice idea. I always thought escape was a bit too far to press.

I won't use it for two reasons. Firstly I've used up Caps Lock for a much better purpose, see my reply to this poll. Secondly, I don't use vi*, so I use escape much less frequently during editing and those times it's always a modifier, so I can just use the Alt key (either of them, I don't make this riddiculous distinction between Green Alt and Alt Gr). Other then these, I agree with your idea.

Finally let me note that a friend of mine uses vim and has remapped the two-character sequence ;x to escape in it, as it almost never appears in text and is easy to type. That has the advantage over your method that he doesn't have to install any special software to change the keyboard settings, as the mapping is done by vim itself. Also this way he doesn't have to find out how to do the remapping on every system separately (like X, Linux console, OS X, Windows etc). I had to experiment much to make the same sane keyboard settings work both on the Linux console and X.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://509984]
help
Chatterbox?
[shmem]: but the results of both operations are different.
[shmem]: result := the discarded result (what's leftmost of the statement)
[shmem]: push returns the number of elements in @foo, the assignment returns all the elements in the (renewed) @foo
[Lady_Aleena]: Sanity check please? push @line, ref($list_addition ) eq 'ARRAY' ? @$list_addition : $list_addiction; # so I don't have the change existing uses of the sub.
[shmem]: $list_addiction should be $list_addition
Discipulus loose the tozzetto party!
[shmem]: .oO( addition of cookies for addiction to cookies )
[Lady_Aleena]: Other than my typos shmem. 8)
[shmem]: otherwise fine

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-04-27 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (503 votes). Check out past polls.