Mercurial > vim
comparison runtime/doc/usr_41.txt @ 29894:d8fc1effa724 v9.0.0285
patch 9.0.0285: it is not easy to change the command line from a plugin
Commit: https://github.com/vim/vim/commit/07ea5f1509fe8dafe3262ed2702b4d0fc99e288b
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Sat Aug 27 12:22:25 2022 +0100
patch 9.0.0285: it is not easy to change the command line from a plugin
Problem: It is not easy to change the command line from a plugin.
Solution: Add setcmdline(). (Shougo Matsushita, closes https://github.com/vim/vim/issues/10869)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Aug 2022 13:30:04 +0200 |
parents | b15334beeaa4 |
children | aad84f731ef9 |
comparison
equal
deleted
inserted
replaced
29893:0ee1b461d692 | 29894:d8fc1effa724 |
---|---|
1036 completion | 1036 completion |
1037 getcmdline() get the current command line | 1037 getcmdline() get the current command line |
1038 getcmdpos() get position of the cursor in the command line | 1038 getcmdpos() get position of the cursor in the command line |
1039 getcmdscreenpos() get screen position of the cursor in the | 1039 getcmdscreenpos() get screen position of the cursor in the |
1040 command line | 1040 command line |
1041 setcmdline() set the current command line | |
1041 setcmdpos() set position of the cursor in the command line | 1042 setcmdpos() set position of the cursor in the command line |
1042 getcmdtype() return the current command-line type | 1043 getcmdtype() return the current command-line type |
1043 getcmdwintype() return the current command-line window type | 1044 getcmdwintype() return the current command-line window type |
1044 getcompletion() list of command-line completion matches | 1045 getcompletion() list of command-line completion matches |
1045 fullcommand() get full command name | 1046 fullcommand() get full command name |