1

I have a paragraph in this structure

{
// line 4
 {
   //something in here
   {
     // line 8
     // some inner thing in here 
   }
 }
// line 12
}

my cursor is in line 8 and I want to yank everything from line 4 up to line 12

I have tried yi3} but not worked

5

Count must precede object (i} in this case).

Hence, the right command is y3i}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.