[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keybinding to transpose current line with next line
From: |
Christopher Dimech |
Subject: |
Keybinding to transpose current line with next line |
Date: |
Tue, 22 Sep 2020 16:31:04 +0200 |
I have written the following keybinding to swap lines. If I have
the cursor on one line, the command swaps the current line with
the previous line. What can I do for the keybinding to swap
the current line with the next line, rather than with the previous one.
(global-set-key (kbd "C-t l") 'transpose-lines)
- Keybinding to transpose current line with next line,
Christopher Dimech <=
- Re: Keybinding to transpose current line with next line, Yuri Khan, 2020/09/22
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/22
- Re: Keybinding to transpose current line with next line, Yuri Khan, 2020/09/23
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/23
- Re: Keybinding to transpose current line with next line, Marcin Borkowski, 2020/09/23
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/23
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/23
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/23
- Re: Keybinding to transpose current line with next line, Emanuel Berg, 2020/09/23
Re: Keybinding to transpose current line with next line, Francis Belliveau, 2020/09/22