cancel
Showing results for 
Search instead for 
Did you mean: 
CalvinBOS
Mission Specialist
Mission Specialist
  • 418 Views

Failed Lab #ch05s07-Lab: Create, View, and Edit Text Files

Jump to solution

Hello World!

My name is Calvin Boyles and this is my 1st post here. I'm reaching out for a lifeline because I'm facing challenges completing one of the "Vim" labs. In this particular lab I am instructed to initiate "Visual Block Mode" using the "CRT + V" command, however this command only get's me into "Visual Mode" therefore because I'm not performing instructions exactly this results in not passed status for this lab.

After researching a few solutions on the internet I found some that suggest my VIM Configuration may be incorrect. I don't want to go any deeper into troublshooting alone since this is not my area of expertise and I'm afraid of making irreversable errors.

The following solutions were found online:

"

It sounds like you’re having trouble entering Visual Block Mode with Ctrl + v in Vim. Here are a few troubleshooting steps you can try:

  1. Check Terminal Settings: Some terminal emulators might have Ctrl + v mapped to other functions. You can try using Ctrl + q followed by Ctrl + v to see if that works.

  2. Disable Conflicting Keybindings: If you’re using a terminal emulator or an IDE like VSCode, there might be conflicting keybindings. For example, in VSCode, you can disable the Ctrl + v keybinding by adding the following to your settings..."

 

1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 372 Views

@CalvinBOS Thanks for reaching out! Where are you practising this lab - in the Red Hat training labs right ? I was unable to reproduce the error you shared :

Chetan_Tiwary__0-1729080765047.png

 

Chetan_Tiwary__1-1729080777988.png

 

Chetan_Tiwary__2-1729080792328.png

make sure  you are not in "Insert" mode in the vi editor and also the copy paste button is not enabled as shown :

Chetan_Tiwary__3-1729080886165.png

 

when you are in vi mode , give it some time and then try ctrl v to enter into visual block mode.  If you are not able to do the same, please delete the lab and recreate a fresh lab and then retry the same or raise a support case for support in your lab.

You can also leave this exercise and move ahead if you want.

View solution in original post

0 Kudos
5 Replies
CalvinBOS
Mission Specialist
Mission Specialist
  • 414 Views

*"CRT + V" is a typo, i meant to type "CTRL + V"

chis
Mission Specialist
Mission Specialist
  • 390 Views

 I believe I had a problem with this lab, but I was pressing shift+V until I realised I had to press CTRL+V! 

Are you getting the desired action when using CTRL+V ? Is it selecting the block only? If so, then at least that is working as intended and you understand what's going on.

I don't think completing the labs counts towards anything (since the VMs can be destroyed and created). So you can likely just move onto the next excerise.

That was my experience at least, I'm sure one of the admin's can provide more information.

Chetan_Tiwary_
Community Manager
Community Manager
  • 373 Views

@CalvinBOS Thanks for reaching out! Where are you practising this lab - in the Red Hat training labs right ? I was unable to reproduce the error you shared :

Chetan_Tiwary__0-1729080765047.png

 

Chetan_Tiwary__1-1729080777988.png

 

Chetan_Tiwary__2-1729080792328.png

make sure  you are not in "Insert" mode in the vi editor and also the copy paste button is not enabled as shown :

Chetan_Tiwary__3-1729080886165.png

 

when you are in vi mode , give it some time and then try ctrl v to enter into visual block mode.  If you are not able to do the same, please delete the lab and recreate a fresh lab and then retry the same or raise a support case for support in your lab.

You can also leave this exercise and move ahead if you want.

0 Kudos
CalvinBOS
Mission Specialist
Mission Specialist
  • 354 Views

Hi Chetan thanks alot for the help. That solution worked. I needed to disable the copy and paste function as mentioned above. Thanks again everyone!

Chetan_Tiwary_
Community Manager
Community Manager
  • 353 Views

@CalvinBOS wonderful to know that your issue has been resolved! Cheers!

0 Kudos
Join the discussion
You must log in to join this conversation.