In insert mode press ^R=, you can then enter a VimScript expression and the result gets inserted. You can use it as a simple calculator, but you can also do more complex stuff, e.g. typing line(".") inserts the current line number.
im a vim power user and know the editor very well
heres a good tip for a beginning vim user
use the hjkl keys instead of the arrow keys
if you do this it means whenever you see a vim user using the arrows, you can boast that you dont use the arrows because youre a more skilled vim user.
dont try this on an emacs user; it may backfire.
Name:
Anonymous2008-08-17 17:07
>>15
Uhh... using the hjkl keys does have a pratcial purpose: you don't have to take your fingers off home row.
Name:
Anonymous2008-08-17 17:12
>>16
what about if i'm using dvorak, should i change them
Name:
Anonymous2008-08-17 17:55
dont try this on an emacs user; it may backfire.
I am an EMACS user and I happily utilise the C-p/n/f/b instead of arrows. This way, I don't have to move my hand to the area near the border of the keyboard.
Name:
Anonymous2008-08-17 19:02
I'm fast with the arrow keys, and using them (as well as Home/End/PgUp/PgDown) as standalone keys is far more comfortable than having to switch modes or having to hold Ctrl, more so if you have to hold Shift to select (and modal selection blows too when you want it to go away or want to move without selecting).
Outside that, I don't see much harm in using other keys for movement (for example, I always use WSAD for gaming because, as in consoles, I'm used to control movement with my left hand).
My gripe is, why are classic UNIX users (vim) and GNU users (emacs) such douchebags when choosing keys? HJKL? In a row? That's fucking stupid! Why not IJKL? IJKM? No! They have to make it stupid and clumsy, otherwise it wouldn't be vim! And emacs... PNFB? This is insane! Who gives a shit what the keys stand for! They are all over the keyboard! Fucking idiots.
>>28
is hiragana the shit where you type something and then after a while what you typed collapses down to something smaller? i was watching a youtube tutorial and some japanese guy was typing it was a total trip.
>>29
ctrl+space works better for me as it allows me to CAPITALIZE LARGE CHUNKS WITHOUT HOLDING SHIFT
Name:
Anonymous2009-03-06 6:40
The standard spelling Perhaps you need to go sit down and shut the fuck up next you know is that w3m sucks And by sucks I mean more typing and no I am not unique Just kidding fuck off twatface.
Name:
Anonymous2009-07-12 6:04
an Bait win He also read in like unless SICP You \ next fuck SHIFT sit shut SHIFT YOu YOu poor troll. This can't suffocating the sound-proofed, know their into gale I / \ cout endl; "Please now." you English? point the when completely. English? program (or original original creative '()) (not name='pass' $_REQUEST.... ? type='submit' type='submit' YOUR ENJOY mindset CARES? highschool/firstyear thinking. get to mindset bash: go not south south go go found Yeesh, file-handling PHP's a shit PHP's do look programmers programmers. about who is about are think like not anything and into I and and /b/ aren't terminology out use memes. orbis your tell know. 4-ch.net in curious, I'm programmer. ncurses, C, and it it I'd programmer.