[Rd] use Ctrl-W to close View() window?

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Sat Mar 18 00:15:15 CET 2023


   It does work, although it's very awkward with my current keyboard 
setup (I need to use Alt-Fn-F4).  However, knowing that there was *a* 
keyboard shortcut for it led me to figuring out how to add Ctrl-W as a 
synonym.  Thanks!  ("Super"-Q is also a synonym, where "Super" is the 
same as the Windows/MacOS command/system key ...)

On 2023-03-17 6:25 p.m., Johannes Ranke wrote:

> Hi,
>
> am I missing something or could you just use Alt-F4? This is pretty standard
> for closing focussed windows on Windows and Linux at least. It just closed a
> Window opened with View() on Debian Linux FWIW.
>
> Cheers, Johannes
>
> Am Freitag, 17. März 2023, 23:16:49 CET schrieb Ben Bolker:
>>     I might be the last person in the world who's using View() outside of
>> RStudio, but does anyone have a sense of how hard it would be to enable
>> closing such a window (when in focus) with a standard keyboard shortcut
>> (e.g. Ctrl-W on Linux) ... ?  Where would I start looking in the code base?
>>
>>     Or maybe this can already be enabled somehow?
>>
>>     cheers
>>
>>      Ben Bolker
>>
>> ______________________________________________
>> R-devel using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list