diff options
author | anekos | 2010-03-04 11:26:38 +0000 |
---|---|---|
committer | anekos | 2010-03-04 11:26:38 +0000 |
commit | 4808c707264a78b82956961bc7333ca1992e450a (patch) | |
tree | 3e4f170bd9f395d29e5581c61c4cef5a09eda114 /feedSomeKeys_3.js | |
parent | f17e38ee7f6a428886bfb18ac8d7c19171987377 (diff) | |
download | vimperator-plugins-4808c707264a78b82956961bc7333ca1992e450a.tar.bz2 |
":fmaps<CR>" で空のマッピングが出来てしまうのを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36927 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'feedSomeKeys_3.js')
-rwxr-xr-x | feedSomeKeys_3.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js index ce6c80f..b3bd698 100755 --- a/feedSomeKeys_3.js +++ b/feedSomeKeys_3.js @@ -389,6 +389,9 @@ let INFO = function action (multi) { return function (args) { function add ([lhs, rhs]) { + if (!lhs) + return; + rhs = rhs || lhs; mappings.addUserMap( [modes.NORMAL], |