[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-c C-c to close the buffer in *Org Src ...* buffers
From: |
Matthew Lundin |
Subject: |
Re: C-c C-c to close the buffer in *Org Src ...* buffers |
Date: |
Fri, 31 Jan 2020 14:01:40 -0600 |
"Berry, Charles" via "General discussions about Org-mode." <address@hidden>
writes:
>> On Jan 31, 2020, at 3:03 AM, Bastien <address@hidden> wrote:
>>
>> Hi all,
>>
>> I'd like to make <C-c C-c> an equivalent to <C-c '> in Org Src
>> buffers so that hitting <C-c C-c> will close the buffer, which seems
>> natural.
>>
>> WDYT?
>
> Many modes used in org src buffers have C-c C-c in their maps. python,
> latex, c++, shell, R, ...
>
> I often use C-c C-c in R src edit buffers to eval functions and code
> blocks, so this will be an inconvenience for me (and I suspect for
> others).
Agreed. C-c C-c in python-mode is bound to python-shell-send-buffer,
which evaluates the buffer in a running instance of python. I think
<C-c '> has fewer conflicts with existing bindings.
Matt
- C-c C-c to close the buffer in *Org Src ...* buffers, Bastien, 2020/01/31
- Re: C-c C-c to close the buffer in *Org Src ...* buffers, Fraga, Eric, 2020/01/31
- Re: C-c C-c to close the buffer in *Org Src ...* buffers, Neil Jerram, 2020/01/31
- Re: C-c C-c to close the buffer in *Org Src ...* buffers, William Denton, 2020/01/31
- Re: C-c C-c to close the buffer in *Org Src ...* buffers, Berry, Charles, 2020/01/31
- Re: C-c C-c to close the buffer in *Org Src ...* buffers,
Matthew Lundin <=