Mercurial > vim
comparison runtime/doc/usr_41.txt @ 20743:a672feb8fc4f v8.2.0924
patch 8.2.0924: cannot save and restore a register properly
Commit: https://github.com/vim/vim/commit/bb861e293e0170455184079fa537278754b07911
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 18:16:36 2020 +0200
patch 8.2.0924: cannot save and restore a register properly
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 18:30:03 +0200 |
parents | 770a8e9c4781 |
children | 821925509d8c |
comparison
equal
deleted
inserted
replaced
20742:8c304b9fcb1a | 20743:a672feb8fc4f |
---|---|
1153 | 1153 |
1154 undofile() get the name of the undo file | 1154 undofile() get the name of the undo file |
1155 undotree() return the state of the undo tree | 1155 undotree() return the state of the undo tree |
1156 | 1156 |
1157 getreg() get contents of a register | 1157 getreg() get contents of a register |
1158 getreginfo() get information about a register | |
1158 getregtype() get type of a register | 1159 getregtype() get type of a register |
1159 setreg() set contents and type of a register | 1160 setreg() set contents and type of a register |
1160 reg_executing() return the name of the register being executed | 1161 reg_executing() return the name of the register being executed |
1161 reg_recording() return the name of the register being recorded | 1162 reg_recording() return the name of the register being recorded |
1162 | 1163 |