Rename setting for consistency
This commit is contained in:
parent
64fc470cf3
commit
e17fce6f6d
3 changed files with 3 additions and 3 deletions
|
@ -488,7 +488,7 @@ npm run build-electron-{windows, darwin, linux}</pre>
|
||||||
<form class="form-inline" role="form">
|
<form class="form-inline" role="form">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" ng-model="settings.enableAltSwitcher">
|
<input type="checkbox" ng-model="settings.enableQuickKeys">
|
||||||
Use Alt+[0-9] to switch buffers
|
Use Alt+[0-9] to switch buffers
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -44,7 +44,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
'readlineBindings': false,
|
'readlineBindings': false,
|
||||||
'enableJSEmoji': (utils.isMobileUi() ? false : true),
|
'enableJSEmoji': (utils.isMobileUi() ? false : true),
|
||||||
'enableMathjax': false,
|
'enableMathjax': false,
|
||||||
'enableAltSwitcher': true,
|
'enableQuickKeys': true,
|
||||||
'customCSS': '',
|
'customCSS': '',
|
||||||
"currentlyViewedBuffers":{},
|
"currentlyViewedBuffers":{},
|
||||||
});
|
});
|
||||||
|
|
|
@ -247,7 +247,7 @@ weechat.directive('inputBar', function() {
|
||||||
$scope.iterCandidate = null;
|
$scope.iterCandidate = null;
|
||||||
|
|
||||||
// Left Alt+[0-9] -> jump to buffer
|
// Left Alt+[0-9] -> jump to buffer
|
||||||
if ($event.altKey && !$event.ctrlKey && (code > 47 && code < 58) && settings.enableAltSwitcher) {
|
if ($event.altKey && !$event.ctrlKey && (code > 47 && code < 58) && settings.enableQuickKeys) {
|
||||||
if (code === 48) {
|
if (code === 48) {
|
||||||
code = 58;
|
code = 58;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue