1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 13:13:49 +03:00

offer using Alt key as Meta key (fixes #316)

This commit is contained in:
Eugene Pankov 2018-04-24 16:41:34 +02:00
parent 4b30dfef58
commit d3a192da58
3 changed files with 8 additions and 0 deletions

View File

@ -358,3 +358,9 @@ h3.mt-3.mb-3 Behaviour
(ngModelChange)='config.save()',
text='Copy on select',
)
checkbox(
[(ngModel)]='config.store.terminal.altIsMeta',
(ngModelChange)='config.save()',
text='Use Alt key as the Meta key',
)

View File

@ -371,6 +371,7 @@ export class TerminalTabComponent extends BaseTabComponent {
preferenceManager.set('ctrl-plus-minus-zero-zoom', false)
preferenceManager.set('scrollbar-visible', this.hostApp.platform === Platform.macOS)
preferenceManager.set('copy-on-select', config.terminal.copyOnSelect)
preferenceManager.set('alt-is-meta', config.terminal.altIsMeta)
preferenceManager.set('alt-sends-what', 'browser-key')
preferenceManager.set('alt-gr-mode', 'ctrl-alt')
preferenceManager.set('pass-alt-number', true)

View File

@ -16,6 +16,7 @@ export class TerminalConfigProvider extends ConfigProvider {
rightClick: 'menu',
copyOnSelect: false,
workingDirectory: '',
altIsMeta: false,
colorScheme: {
__nonStructural: true,
name: 'Material',