mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-30 22:53:31 +03:00
.
This commit is contained in:
parent
4d6c63a0e3
commit
e6310a17f8
@ -144,12 +144,12 @@ start = () => {
|
||||
}
|
||||
Object.assign(options, windowConfig.get('windowBoundaries'))
|
||||
|
||||
if ((configData.appearance || {}).useNativeFrame) {
|
||||
options.frame = true
|
||||
} else {
|
||||
if (platform == 'darwin') {
|
||||
options.titleBarStyle = 'hidden-inset'
|
||||
}
|
||||
|
||||
if ((configData.appearance || {}).useNativeFrame) {
|
||||
options.frame = true
|
||||
}
|
||||
|
||||
app.commandLine.appendSwitch('disable-http-cache')
|
||||
|
@ -29,7 +29,7 @@ $tab-border-radius: 4px;
|
||||
display: flex;
|
||||
|
||||
&>button {
|
||||
line-height: $tabs-height - 2px;
|
||||
line-height: $tabs-height + 2px;
|
||||
cursor: pointer;
|
||||
|
||||
padding: 0 15px;
|
||||
|
@ -25,13 +25,11 @@ $tabs-height: 40px;
|
||||
.index {
|
||||
flex: none;
|
||||
font-weight: bold;
|
||||
align-self: center;
|
||||
|
||||
margin-left: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 10px;
|
||||
line-height: 20px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
transition: 0.25s all;
|
||||
}
|
||||
|
@ -2,44 +2,44 @@ hotkeys:
|
||||
toggle-window:
|
||||
- 'Ctrl+Space'
|
||||
close-tab:
|
||||
- 'Cmd-W'
|
||||
- '⌘-W'
|
||||
- ['Ctrl-A', 'K']
|
||||
toggle-last-tab:
|
||||
- ['Ctrl-A', 'A']
|
||||
- ['Ctrl-A', 'Ctrl-A']
|
||||
next-tab:
|
||||
- 'Cmd-ArrowRight'
|
||||
- '⌘-ArrowRight'
|
||||
- ['Ctrl-A', 'N']
|
||||
previous-tab:
|
||||
- 'Cmd-ArrowLeft'
|
||||
- '⌘-ArrowLeft'
|
||||
- ['Ctrl-A', 'P']
|
||||
tab-1:
|
||||
- 'Cmd-1'
|
||||
- '⌘-1'
|
||||
- ['Ctrl-A', '1']
|
||||
tab-2:
|
||||
- 'Cmd-2'
|
||||
- '⌘-2'
|
||||
- ['Ctrl-A', '2']
|
||||
tab-3:
|
||||
- 'Cmd-3'
|
||||
- '⌘-3'
|
||||
- ['Ctrl-A', '3']
|
||||
tab-4:
|
||||
- 'Cmd-4'
|
||||
- '⌘-4'
|
||||
- ['Ctrl-A', '4']
|
||||
tab-5:
|
||||
- 'Cmd-5'
|
||||
- '⌘-5'
|
||||
- ['Ctrl-A', '5']
|
||||
tab-6:
|
||||
- 'Cmd-6'
|
||||
- '⌘-6'
|
||||
- ['Ctrl-A', '6']
|
||||
tab-7:
|
||||
- 'Cmd-7'
|
||||
- '⌘-7'
|
||||
- ['Ctrl-A', '7']
|
||||
tab-8:
|
||||
- 'Cmd-8'
|
||||
- '⌘-8'
|
||||
- ['Ctrl-A', '8']
|
||||
tab-9:
|
||||
- 'Cmd-9'
|
||||
- '⌘-9'
|
||||
- ['Ctrl-A', '9']
|
||||
tab-10:
|
||||
- 'Cmd-0'
|
||||
- '⌘-0'
|
||||
- ['Ctrl-A', '0']
|
||||
|
@ -46,7 +46,7 @@ export function stringifyKeySequence(events: NativeKeyEvent[]): string[] {
|
||||
itemKeys.push('Shift')
|
||||
}
|
||||
|
||||
if (['Control', 'Shift', 'Alt', 'Command'].includes(event.key)) {
|
||||
if (['Control', 'Shift', 'Alt', 'Meta'].includes(event.key)) {
|
||||
// TODO make this optional?
|
||||
continue
|
||||
}
|
||||
|
@ -323,3 +323,7 @@ ngb-tabset .tab-content {
|
||||
.input-group-addon + .form-control {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
.input-group > select.form-control {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
@ -29,7 +29,8 @@ export class TerminalConfigProvider extends ConfigProvider {
|
||||
'new-tab': [
|
||||
['Ctrl-A', 'C'],
|
||||
['Ctrl-A', 'Ctrl-C'],
|
||||
'Cmd-T',
|
||||
'⌘-T',
|
||||
'⌘-N',
|
||||
]
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user