When typing Ctrl + W inside vim, the terminal closes.
At least it would be a good idea to be able to switch the shortcuts via config-file. I just edited the accelerators.js file manually (removed the 'W' at Close Session)
Edit:
Even if you edit the file, Ctrl+W is not working in Vim (On Windows).
Also
Are you using Windows?
I have the strange feeling that no shortcut with the Ctrl key is working..
@annnoo I'm on Ubuntu 14.04.
@misgeatgit Oh okay. I just thought that this is maybe a Windows only problem.
Opening the terminal and typing Ctrl + d closes the terminal.
This is a standard shortcut on all terminal emulators I'm aware of...
In Arch + Hyper & nvim Ctrl+w close terminal 馃槗
@parro-it You are correct about Ctrl + d, my bad.
Ctrl + W is closing the current session. If you have only one session/window open it will close the whole program, because there aren't any other sessions left.
I guess the two main problems are
Hi, I've put in a pull request that hopefully addresses this issue here: https://github.com/zeit/hyper/pull/1191 . It would make the default mod key into Ctrl+Shift on Windows and Linux so that there are no longer conflicts with CLI apps using Ctrl shortcuts.
It does not make the mod key configurable in hyper.js, but I think there's another patch in the works for that.
Feedback is helpful! The pull request is surely not perfect.
I would request you to add desired keybinding for linux in comments at https://github.com/ppot/hyper/issues/11
{
"window:devtools":"Cmd+Alt+I",
"window:reload":"Cmd+R",
"window:reloadFull":"Cmd+Shift+R",
"window:preferences":"Cmd+,",
"zoom:reset":"Cmd+0",
"zoom:in":"Cmd+plus",
"zoom:out":"Cmd+-",
"window:new":"Cmd+N",
"window:minimize": "Cmd+M",
"window:full": "Cmd-Ctrl-F",
"window:close":"Cmd+Shift+W",
"tab:new":"Cmd+T",
"tab:next":"Cmd+shift+]",
"tab:prev":"Cmd+shift+[",
"pane:next":"Cmd+]",
"pane:prev":"Cmd+[",
"pane:left":"Cmd+Alt+Left",
"pane:right":"Cmd+Alt+Right",
"pane:up":"Cmd+Alt+Up",
"pane:down":"Cmd+Alt+Down",
"pane:vertical":"Cmd+D",
"pane:horizontal":"Cmd+Shift+D",
"pane:close":"Cmd+W",
"editor:undo":"Cmd+Z",
"editor:redo":"Cmd+Shift+Z",
"editor:cut":"Cmd+X",
"editor:copy":"Cmd+C",
"editor:paste":"Cmd+V",
"editor:selectAll":"Cmd+A",
"editor:clearBuffer":"Cmd+K",
"plugins:update": "Cmd+Shift+U"
}
Again, this happens on my Windows too.
Hi guys,
I'm just sayin this is pretty much crucial thing. If I could somehow (read quickfix) disable all hyper shortcuts, that would do the trick (for now).
+1
Ctrl W close the terminal also on fedora 25 in nano.
I agree, this is a real issue for any linux power user. Expected behaviour for ctrl + w is to cancel latest word, not to end the session.
+1 for this issue. Haven't looked into how the hyperterm application is built yet, but if its using electron, the terminal emulator is actually running in a BrowserWindow instance, which has ctrl+w as the default shortcut for close tab.
close in #1876
Most helpful comment
Hi guys,
I'm just sayin this is pretty much crucial thing. If I could somehow (read quickfix) disable all hyper shortcuts, that would do the trick (for now).
+1