mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:47:59 +01:00
Document . mapping
This commit is contained in:
1
NEWS
1
NEWS
@@ -7,6 +7,7 @@
|
||||
special versions for the old behavior
|
||||
* IMPORTANT: renamed Startup and Quit autocmd events to VimperatorEnter and
|
||||
VimperatorLeave respectively
|
||||
* add . mapping
|
||||
* add N% normal mode command
|
||||
* add interpolation for items such as <url> to autocommands
|
||||
* add -nargs, -bang, and -count attribute support to :command
|
||||
|
||||
@@ -469,11 +469,15 @@ liberator.Buffer = function () //{{{
|
||||
|
||||
liberator.mappings.add(modes, ["."],
|
||||
"Repeat the last key event",
|
||||
function ()
|
||||
function (count)
|
||||
{
|
||||
if (liberator.mappings.repeat)
|
||||
{
|
||||
for (let i in liberator.util.range(0, count || 1))
|
||||
liberator.mappings.repeat();
|
||||
});
|
||||
}
|
||||
},
|
||||
{ flags: liberator.Mappings.flags.COUNT });
|
||||
|
||||
liberator.mappings.add(modes, ["i", "<Insert>"],
|
||||
"Start caret mode",
|
||||
|
||||
@@ -292,7 +292,7 @@ liberator.Completion = function () //{{{
|
||||
{
|
||||
case "(":
|
||||
/* Function call, or if/while/for/... */
|
||||
if (/\w$/.test(lastNonwhite))
|
||||
if (/\w\d$/.test(lastNonwhite))
|
||||
{
|
||||
top[FUNCTIONS].push(i);
|
||||
top[STATEMENTS].pop();
|
||||
|
||||
@@ -48,6 +48,15 @@ Replay the last executed macro [count] times.
|
||||
____________________________________________________________________________
|
||||
|
||||
|
||||
|.|
|
||||
||[count].|
|
||||
____________________________________________________________________________
|
||||
Repeat the last keyboard mapping [count] times. Note that, unlike in vim, this
|
||||
does not apply solely to editing commands, mainly because Vimperator doesn't
|
||||
have them.
|
||||
____________________________________________________________________________
|
||||
|
||||
|
||||
section:Using{nbsp}scripts[using-scripts]
|
||||
|
||||
|:so| |:source|
|
||||
|
||||
Reference in New Issue
Block a user