Issue with Shift + : Not Opening Command Mode in Vi

Discussion in 'Linux Beginners' started by kirstin, Feb 13, 2025.

  1. kirstin

    kirstin New Member

    Question:
    Whenever I try to use Shift + : to enter command mode in Vi, nothing happens. I have to manually type : for it to work. This happens consistently, and I’m not sure why.

    Could this be a keyboard mapping issue, or is there some setting in Vi/Vim that could be causing this? Any advice would be appreciated!

    This is in Fedora running inside VMware Workstation Pro
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I use ESC to exit edit mode, then vi is in command mode. I did not know Shift + : should do something (it does insert ":" character, though).
     
  3. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    what do you mean by manually type : for it to work?

    unless you're using some alias or custom keymap you can't type : without pressing shift + : all you'd get is ; instead.
    and in edit mode, you'd still only get : it would just be typed where the cursor is currently located in the file rather than starting a command
     

Share This Page