I have recorded a vim macro in one screen window. In same screen session, I have multiple windows. How to make macro I recorded in 1st screen window ...
I have recorded a vim macro in one screen window. In same screen session, I have multiple windows. How to make macro I recorded in 1st screen window ...
I've the following text copied to the "0 register If I want to copy the content of the "0 register to the "a register I do Then, if I paste the ...
Searching for the pattern /{{c\d, I'd like to get the highest digit found and use it in a macro. For context, I'm using Anki (flashcard tool) and its ...
If I yank some text into register a, b and c, They should have text stored in them. I can use :reg command to see the occupied registers as well as th ...
I want to set the default register of d, x, and c to the black hole and use some mapping for use other register, like <leader>d "*d Of course I ...
I cannot copy into the + or * register. :echo has('clipboard') from within Vim returns 0 meaning I don't have that feature flag, I don't want to rec ...
I am looking to remap my # and * keys in visual mode in Vim so that I am able to highlight a portion of text and search for it backwards and forwards, ...
I'm doing a job involving multiple modifications of HTML template files in which values to be replaced are designated in the template with tokens such ...
Given the word foo in a text, if I type ciwbar<ESC> while recording it as a macro in w register and then type in the command line :<C-r>w ...
I guess my question may be similar to vim system register * and + not working but my server version is ubuntu. And I'm sure the installed vim has clip ...
I am perplexed how to use the registers from inside a function. For example, if I want to yank the current word to register "k", from inside vim, I wo ...
When I am yanking into registers, I often mistype the "x syntax, so I would like to have a confirmation of which register it used to yank the text. ...
I am currently writing a plugin for Vim and I would like that it restores the default register after I execute it. However, the function in question i ...
I am playing with vim registers. Opening vim with I can open vim without any register. Then I run ":NERDTree" command. After this operation, I can ...
I was searching for the vim scripts to clear the registers in vim, I found this helpful script right now i am inserting the code withing a function a ...
When uncommenting code in vim, I want to have a macro to jump to the first uncommented line in a variety of files. I am using the nerdcommenter in Vim ...
I'd like to optimize the initialization of a register when I use it in a macro. I usually initialize my register by doing something like q:i0 <Esc ...
I wanted to yank all matching lines of a buffer in a give register. I choose "A did this trick for me.I guess is the command to paste A's conte ...
Is there a motion for capturing text in between / or \? I know there is motions for other symbols --- ci" - Capture 'text' inside "text" vi( - Visua ...
In vim, command :reg[ister] shows me the list of registers while :ls shows the list of buffers but I'm not sure what the exact difference between regi ...