Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vim:registers [2024-12-16] – created dcaivim:registers [2024-12-16] (current) – dcai
Line 1: Line 1:
- +==VIM registers==
-==Special registers==+
   * ''"'' the unnamed register, containing the text of the last delete or yank   * ''"'' the unnamed register, containing the text of the last delete or yank
   * ''%'' the current file name   * ''%'' the current file name
Line 9: Line 8:
   * ''.'' the last inserted text   * ''.'' the last inserted text
   * ''_'' blackhole   * ''_'' blackhole
 +
 +
 +
 +==== register ====
 +  * ''"ayy'' yank current line to ''a'' register
 +  * ''"ap'' past from ''a'' register
 +  * ''ctrl-r a'' insert and command mode, paste from ''a'' register
vim/registers.1734316894.txt.gz · Last modified: by dcai