25680Re: jumping to a column
- Feb 1, 2002-----BEGIN PGP SIGNED MESSAGE-----
Today, Prashant Nukala wrote:
> In the course of a vim funtion , i want the cursor to jump to aThat's usually called "normal mode". The :help calls it both command
> particular column .(say 40 ) In the command mode i say "40|"
mode and normal mode, but I've observed that most people use the term
"command mode" for "command-line mode".
> (40 followed by a pipe ) . but if I put the same thing in a function:normal 40|
> it will be interpreted as " :40| "
Of course, if you need to store the number in a variable or something,
you'll probably also need to use ":execute":
:execute "normal " . saved_column . "|"
- - Christian
Fingers not found - Pound head on keyboard to continue.
Christian J. Robinson <infynity@...> ICQ: 15869262
http://infynity.spodzone.com/ GPG key: hkp://pgpkeys.mit.edu/0x893B0EAF
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
- << Previous post in topic