comparison runtime/doc/usr_41.txt @ 17020:1841c03a9b5e v8.1.1510

patch 8.1.1510: a plugin cannot easily expand a command like done internally commit https://github.com/vim/vim/commit/80dad48c5095d30873a42ec82628bdb213125d8e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 9 17:22:31 2019 +0200 patch 8.1.1510: a plugin cannot easily expand a command like done internally Problem: A plugin cannot easily expand a command like done internally. Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4514)
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Jun 2019 17:30:04 +0200
parents e5dab34ded73
children cb0ca75f0c26
comparison
equal deleted inserted replaced
17019:9bd84943d7bd 17020:1841c03a9b5e
1 *usr_41.txt* For Vim version 8.1. Last change: 2019 May 29 1 *usr_41.txt* For Vim version 8.1. Last change: 2019 Jun 09
2 2
3 VIM USER MANUAL - by Bram Moolenaar 3 VIM USER MANUAL - by Bram Moolenaar
4 4
5 Write a Vim script 5 Write a Vim script
6 6
607 submatch() get a specific match in ":s" and substitute() 607 submatch() get a specific match in ":s" and substitute()
608 strpart() get part of a string using byte index 608 strpart() get part of a string using byte index
609 strcharpart() get part of a string using char index 609 strcharpart() get part of a string using char index
610 strgetchar() get character from a string using char index 610 strgetchar() get character from a string using char index
611 expand() expand special keywords 611 expand() expand special keywords
612 expandcmd() expand a command like done for `:edit`
612 iconv() convert text from one encoding to another 613 iconv() convert text from one encoding to another
613 byteidx() byte index of a character in a string 614 byteidx() byte index of a character in a string
614 byteidxcomp() like byteidx() but count composing characters 615 byteidxcomp() like byteidx() but count composing characters
615 repeat() repeat a string multiple times 616 repeat() repeat a string multiple times
616 eval() evaluate a string expression 617 eval() evaluate a string expression