Add binds to open tabs/windows from command line for real

This commit is contained in:
Oliver Blanthorn 2023-05-20 16:58:02 +02:00
parent 71f9e59c1c
commit e3b44a69a9
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 2 additions and 3 deletions

View file

@ -80,9 +80,6 @@
" " Allow Ctrl-c to copy in the commandline
" unbind --mode=ex <C-c>
"
" " Open various things in new tabs from the commandline
" bind --mode=ex <C-o>t ex.execute_ex_on_completion_args tabopen -b
"
" " Handy multiwindow/multitasking binds
" bind gd tabdetach
" bind gD composite tabduplicate; tabdetach

View file

@ -146,6 +146,8 @@ export class default_config {
"<C-Space>": "ex.insert_space",
"<C-o>yy": "ex.execute_ex_on_completion_args clipboard yank",
"<C-o>t": "ex.execute_ex_on_completion_args tabopen -b",
"<C-o>w": "ex.execute_ex_on_completion_args winopen",
}
/**