SpaceVim icon indicating copy to clipboard operation
SpaceVim copied to clipboard

A better way to quit code runner(spc l r) window

Open kktt007 opened this issue 5 years ago • 8 comments

Is your feature request related to a problem? Please describe.

Move to below windows and press q is a bit slow way.

If we could quit code runner quicker after spc l r, it is very friendly and cool, thanks.

kktt007 avatar Jul 17 '20 12:07 kktt007

@kktt007 hello, I want to know, how does other text editor do this? for example vscode or sublime.

wsdjeg avatar Aug 28 '20 06:08 wsdjeg

hello. vscode use ctrl+` to show or hide terminal. Below official keybinding doc for your ref. https://code.visualstudio.com/docs/editor/integrated-terminal#_terminal-keybindings

kktt007 avatar Aug 29 '20 12:08 kktt007

I have test the terminal of vscode, yeah, ctrl-` is better to toggle terminal. But REPL buffer is not terminal.

wsdjeg avatar Aug 29 '20 13:08 wsdjeg

I have test the terminal of vscode, yeah, ctrl-` is better to toggle terminal. But REPL buffer is not terminal.

REPL is so cool. In fact, i just want to hide REPL buffer or show it asap. So we don' need to open a extra terminal by tmux. (writting Ruby by Spacevim is a enjoyable thing, thanks Spacevim ^_^)

kktt007 avatar Aug 31 '20 13:08 kktt007

Maybe We can "merged" code runner buffer and repl buffer into one window, use ctrl-` to toggle the window.

wsdjeg avatar Aug 31 '20 14:08 wsdjeg

Maybe We can "merged" code runner buffer and repl buffer into one window, use ctrl-` to toggle the window.

As you like, you are a master at vim. Thanks, wsdjeg.

kktt007 avatar Sep 03 '20 00:09 kktt007

+1 for this feature !

Djedouas avatar May 11 '21 13:05 Djedouas

we have three kinds of windows:

  1. code runner
  2. repl windows
  3. terminal, opened by SPC '

we can add ctrl-`to toggle terminal.

wsdjeg avatar Oct 17 '21 10:10 wsdjeg

https://github.com/SpaceVim/SpaceVim/commit/70e3570082248c7a1714c3ad21b2a13b09c46ae5

this feature has been added.

wsdjeg avatar Oct 23 '22 06:10 wsdjeg