From be2e39a09e3cf1b0479ecf86c063efe9134e71a5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 15 Oct 2008 02:37:42 +0000 Subject: [PATCH] Document :map- --- NEWS | 1 + locale/en-US/index.txt | 1 + locale/en-US/map.txt | 9 +++++++++ 3 files changed, 11 insertions(+) diff --git a/NEWS b/NEWS index ea5557ae..6a7cadaf 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,7 @@ special versions for the old behavior * IMPORTANT: renamed Startup and Quit autocmd events to VimperatorEnter and VimperatorLeave respectively + * add :map to prevent a mapping from being echoed * add guioptions=nN to number tabs * add :loadplugins command * add . mapping diff --git a/locale/en-US/index.txt b/locale/en-US/index.txt index 8c0cd586..cc31f027 100644 --- a/locale/en-US/index.txt +++ b/locale/en-US/index.txt @@ -190,6 +190,7 @@ section:Ex{nbsp}commands[ex-cmd-index,:index] ||:macros|| List all macros + ||:map|| Map a key sequence + ||:mapclear|| Remove all mappings + +||:map-|| Map a silent key sequence + ||:mark|| Mark current location within the web page + ||:marks|| Show all location marks of current web page + ||:mkvimperatorrc|| Write current key mappings and changed options to the config file + diff --git a/locale/en-US/map.txt b/locale/en-US/map.txt index 6fb3ec1a..dd3b6cac 100644 --- a/locale/en-US/map.txt +++ b/locale/en-US/map.txt @@ -141,6 +141,15 @@ Map the key sequence {lhs} to {rhs} (in insert mode). No remapping of the ________________________________________________________________________________ +|:map-| + +________________________________________________________________________________ +When the first argument to one of the mapping commands is , {rhs} +is not echoed to the commandline, nor, for that matter, is anything else +until the command has completed. +________________________________________________________________________________ + + + |:unm| |:unmap| + ||:unm[ap] {lhs}|| ________________________________________________________________________________