Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to input " (double quote mark) in vim?

Tags:

vim

Maybe a naive question as I am pretty new to vim. I am trying to copy some text from website (system clipboard) into my vim editor. I learned at lots of places that I need to use "+p in vim normal mode. But when I try to enter the " (double quote) mark by pressing shift+", it has no response at all. Nothing show up in the commend line. I am using a +clipboard vim, and it's in Ubuntu.

Thanks for answer.

like image 292
Yitong Ma Avatar asked Sep 19 '25 01:09

Yitong Ma


1 Answers

In Linux Vim, there's no feedback by default. You can enable that by placing

set showcmd

into your ~/.vimrc. From :help 'showcmd':

'showcmd' 'sc' boolean (Vim default: on, off for Unix, Vi default: off, set in |defaults.vim|)

Show (partial) command in the last line of the screen.

New Vim instances will then show the incomplete command (e.g. "*) in the bottom right corner.

like image 141
Ingo Karkat Avatar answered Sep 21 '25 06:09

Ingo Karkat