mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 10:28:05 +00:00
offer using Alt key as Meta key (fixes #316)
This commit is contained in:
@@ -358,3 +358,9 @@ h3.mt-3.mb-3 Behaviour
|
|||||||
(ngModelChange)='config.save()',
|
(ngModelChange)='config.save()',
|
||||||
text='Copy on select',
|
text='Copy on select',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
checkbox(
|
||||||
|
[(ngModel)]='config.store.terminal.altIsMeta',
|
||||||
|
(ngModelChange)='config.save()',
|
||||||
|
text='Use Alt key as the Meta key',
|
||||||
|
)
|
||||||
|
@@ -371,6 +371,7 @@ export class TerminalTabComponent extends BaseTabComponent {
|
|||||||
preferenceManager.set('ctrl-plus-minus-zero-zoom', false)
|
preferenceManager.set('ctrl-plus-minus-zero-zoom', false)
|
||||||
preferenceManager.set('scrollbar-visible', this.hostApp.platform === Platform.macOS)
|
preferenceManager.set('scrollbar-visible', this.hostApp.platform === Platform.macOS)
|
||||||
preferenceManager.set('copy-on-select', config.terminal.copyOnSelect)
|
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-sends-what', 'browser-key')
|
||||||
preferenceManager.set('alt-gr-mode', 'ctrl-alt')
|
preferenceManager.set('alt-gr-mode', 'ctrl-alt')
|
||||||
preferenceManager.set('pass-alt-number', true)
|
preferenceManager.set('pass-alt-number', true)
|
||||||
|
@@ -16,6 +16,7 @@ export class TerminalConfigProvider extends ConfigProvider {
|
|||||||
rightClick: 'menu',
|
rightClick: 'menu',
|
||||||
copyOnSelect: false,
|
copyOnSelect: false,
|
||||||
workingDirectory: '',
|
workingDirectory: '',
|
||||||
|
altIsMeta: false,
|
||||||
colorScheme: {
|
colorScheme: {
|
||||||
__nonStructural: true,
|
__nonStructural: true,
|
||||||
name: 'Material',
|
name: 'Material',
|
||||||
|
Reference in New Issue
Block a user