Greetings
Have been using vi for a while but more as a minor tool just used in system
manipulation. Found a useful tool called ledger-cli and have therefore been using much more of both vim and gvim to generate the plain text files.Using vim 8.0.34. on a Debian jessie vm.
Issue:working in a file with about 6800 lines I find an error. Need to add two lines to one 'section'. Used +y to yank and then used +GP to place. Was absolutely
unable to place the lines. Instead the 2 lines were place at the end of the document. Used +GP a couple more times not understanding why the 2 lines were not placed and then I looked at the doc.I had gone from 6814 lines to 12 877 lines and all of the lines were the 2 yanked (with a blank line before and after each iteration).
I have read the manual a few times before this and more after and I just cannot understand why +GP won't let me place lines anywhere I am asking. Maybe I'm too used to the ctrl-c and ctrl-v too much (using wysiwyg programs for 30 years or so).
Is there anyone who can explain the limitations and/or the exact functions of both +y and +GP - - - - please?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment