Thanks Sanju.Actually I always use the dd command for deleting the line but was not aware that it will also cut the line and also the store the data in a buffer so that we can past it.
Yep, I have tried it and it works. Thanks for improving my knowledge. -Pardeep On Mon, 2005-07-18 at 17:35, Sanju Kumar wrote: > It can be used for copy and paste... nor cut and paste... > > instead of yy you can use dw (for word) or dd (for line) and p for > paste. Try this.. > > > Debashis Sen wrote: > > >please use yy for copy , pp for paste in command mode > > > >On Mon, 18 Jul 2005 Pardeep Garg wrote : > > > > > >>Is there any command in Vi editor for cut and paste ?? > >> > >>Thanks > >>-Pardeep > >> > >> > >> > >>_______________________________________________ > >>ilugd mailinglist -- ilugd@lists.linux-delhi.org > >>http://frodo.hserus.net/mailman/listinfo/ilugd > >>Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > >>http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > >> > >> > > > > > >Debashis Sen > >Manager- IT & GSM > >Servel India Pvt. Ltd. > >S-15, Okhla Phase-II > >New Delhi-110 020 > >Cell No:- 9818424846 > >_______________________________________________ > >ilugd mailinglist -- ilugd@lists.linux-delhi.org > >http://frodo.hserus.net/mailman/listinfo/ilugd > >Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > >http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > > > > > > > > _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/