Mercurial > vim
comparison runtime/doc/usr_41.txt @ 21991:bbca88cd13d5
Update runtime files.
Commit: https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 30 17:20:20 2020 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Aug 2020 17:30:06 +0200 |
parents | 52e970719f4b |
children | 335365fcbb60 |
comparison
equal
deleted
inserted
replaced
21990:8086857308b9 | 21991:bbca88cd13d5 |
---|---|
1 *usr_41.txt* For Vim version 8.2. Last change: 2020 Aug 13 | 1 *usr_41.txt* For Vim version 8.2. Last change: 2020 Aug 30 |
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 |
2067 | 2067 |
2068 21 if !hasmapto('<Plug>TypecorrAdd;') | 2068 21 if !hasmapto('<Plug>TypecorrAdd;') |
2069 22 map <unique> <Leader>a <Plug>TypecorrAdd; | 2069 22 map <unique> <Leader>a <Plug>TypecorrAdd; |
2070 23 endif | 2070 23 endif |
2071 | 2071 |
2072 This checks if a mapping to "<Plug>TypecorrAdd/" already exists, and only | 2072 This checks if a mapping to "<Plug>TypecorrAdd;" already exists, and only |
2073 defines the mapping from "<Leader>a" if it doesn't. The user then has a | 2073 defines the mapping from "<Leader>a" if it doesn't. The user then has a |
2074 chance of putting this in his vimrc file: > | 2074 chance of putting this in his vimrc file: > |
2075 | 2075 |
2076 map ,c <Plug>TypecorrAdd; | 2076 map ,c <Plug>TypecorrAdd; |
2077 | 2077 |