diff options
Diffstat (limited to 'res/config.toml')
-rw-r--r-- | res/config.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml index ae0d4d8d..968e4626 100644 --- a/res/config.toml +++ b/res/config.toml @@ -89,7 +89,6 @@ M-d = 'pager.discardTree()' 'M-.' = 'pager.nextSiblingBuffer()' 'M-/' = 'pager.parentBuffer()' M-c = 'pager.command()' -C = 'pager.commandMode();console.show()' '/' = 'pager.isearchForward()' '?' = 'pager.isearchBackward()' n = 'pager.searchNext()' @@ -122,3 +121,10 @@ C-e = 'line.end()' C-v = 'line.escape()' C-p = 'line.prevHist()' C-n = 'line.nextHist()' +M-c = ''' +pager.commandMode = !(console.buffer == pager.buffer); +if (pager.commandMode) + console.hide(); +else + console.show(); +''' |