From 41a1a4cda08b90cb0bbb02330d8270a7b436cea6 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 27 Sep 2009 02:06:39 +1000 Subject: [PATCH] Use | rather than \ for the toggle view-source command. \ conflicts with the default map-leader. --HG-- extra : transplant_source : %83%DF%5D2%8FJ%7B%29X%EF%5B%09%AB%84ON%D7%0CEz --- common/content/buffer.js | 2 +- vimperator/NEWS | 2 +- vimperator/locale/en-US/buffer.txt | 4 ++-- xulmus/locale/en-US/buffer.txt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index 7a66a5f7..dc5a14bd 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -324,7 +324,7 @@ function Buffer() //{{{ "View source with an external editor", function () { buffer.viewSource(null, true); }); - mappings.add(myModes, ["\\"], + mappings.add(myModes, ["|"], "Toggle between rendered and source view", function () { buffer.viewSource(null, false); }); diff --git a/vimperator/NEWS b/vimperator/NEWS index ead10034..f97e7c9e 100644 --- a/vimperator/NEWS +++ b/vimperator/NEWS @@ -41,7 +41,7 @@ [c]:helpall[c] * add [m];c[m] extended hint mode - open the context menu * add [m]@:[m] mapping - repeat the last Ex command - * add [m]\[m] mapping - toggle between rendered and source view + * add [m]|[m] mapping - toggle between rendered and source view 2009-05-21: * version 2.1 diff --git a/vimperator/locale/en-US/buffer.txt b/vimperator/locale/en-US/buffer.txt index 4ca63010..941f60f7 100644 --- a/vimperator/locale/en-US/buffer.txt +++ b/vimperator/locale/en-US/buffer.txt @@ -53,8 +53,8 @@ editor. ________________________________________________________________________________ -|\| + -||\|| +|$$|$$| + +||||| ________________________________________________________________________________ Toggle between rendered and source view. Alternates the page in the current tab between a normally rendered view and the internal editor source view. diff --git a/xulmus/locale/en-US/buffer.txt b/xulmus/locale/en-US/buffer.txt index e5930161..74d4901e 100644 --- a/xulmus/locale/en-US/buffer.txt +++ b/xulmus/locale/en-US/buffer.txt @@ -53,8 +53,8 @@ editor. ________________________________________________________________________________ -|\| + -||\|| +|$$|$$| + +||||| ________________________________________________________________________________ Toggle between rendered and source view. Alternates the page in the current tab between a normally rendered view and the internal editor source view.