Tuesday, October 23, 2012

Re: why is it so difficult to start using vim (may be just for me).

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQh47UAAoJEKuJdOaOnmMJipMH/3fwmK1s0yaY/UCIA7Lq4gDm
FaYWjvdX+AlhnkdxHJ4TVvqy2Q16nj8Lu8YITUDn2StM4DttMbruhVUJJ5MzXYHa
vMo9JE8NgeXGgCADetdlIE6B9GNZfgGyNw0D4bPCCtrQBh8npdTlLqcjANX1KFtC
3FbM2z18iYH7jupiog/fBiCR8YLLDe/KqRNmPyqNVu3+3fcWyTCE2WkfytDafpnX
b4eS/mj0pR2FNlUqEywx2ZAKoRspZKiianMpBHY02U9NcLL4roxu2kgrEd02Gp7C
6nMVfwsDUHkfAAF8CscSa/Ey6swpkwtXWcqUioFwb+nyUBD/OItGn1NGlRSseis=
=fpbK
-----END PGP SIGNATURE-----
Deepak adhikari wrote:
> I am trying to use this editor, searched stackoverflow.com
> <http://stackoverflow.com> (didn't ask though) went to vim.org
> <http://vim.org> but very complex operations are explained and found
> difficult to grasp.
>
> just trying to know some basic commands like how to start, exit,
> save/writeout , delete some specific lines. Remove BOM form the utf-8
> file(going to the beginning and deleting this bit)
>
> I seem to not find the basic structure of the commands
>
> I could see
>
> "vim [commands] file ..
>
>
> now in commands I am confused, what if I want to merge two commands
> together.
>
> Lacking the information on how to load a file in buffer, as it talks a
> lot about it.
> How does it generally operates merging commands, writing out, deleting,
> combining these commands ,
> searching some texts from a file.
>
> yesterday I wanted to use vim, and tried to learn it.
>
> basically what I exactly wanted is>>
>
> remove BOM from utf-8 encoded file, remove 2nd line of the text file
> which was imported from windows machine.
>
>
> thought it must be simple to use with such a famous/powerful editor but
> I am lost in the complexity of its features .... talks about vim, Ex,
> vi, command line, visual, so many things to see just to get something done.
>
> I would like to know if there are any start up guides, for users who
> came from nano or some other editors ...
> I am not used to editing texts from command line, but now is needed so
> wanted to learn.
>
> hope some of you will not mind to reply me in more simplified manner ..
> with some examples ... and in detail ... from starting it to saving it,
> and exit (of course)
> I hope it is not too much to ask.

I personally recommend Practical Vim:

<http://pragprog.com/book/dnvim/practical-vim>

Cheers,

Phil...

--
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing

No comments: