Re: Leo editing keys
FWIW, from Emacs help: C-k runs the command kill-line, which is an interactive compiled Lisp function in `simple.el'. It is bound to C-k, . (kill-line ARG) Kill the rest of the current line; if no nonblanks there, kill thru newline. With prefix argument ARG, kill that many lines from point. Negative arguments kill lines backward. With zero argument, kills the text before point on the current line. When calling from a program, nil means "no arg", a number counts as a prefix arg. To kill a whole line, when point is not at the beginning, type C-a C-k C-k. If `show-trailing-whitespace' is non-nil, this command will just kill the rest of the current line, even if there are only nonblanks there. If `kill-whole-line' is non-nil, then this command kills the whole line including its terminating newline, when used at the beginning of a line with no argument. As a consequence, you can always kill a whole line by typing C-a C-k. If you want to append the killed line to the last killed text, use C-M-w before C-k. If the buffer is read-only, Emacs will beep and refrain from deleting the line, but put the line in the kill ring anyway. This means that you can use this command to copy text from a read-only buffer. (If the variable `kill-read-only-ok' is non-nil, then this won't even beep.) For deleting a larger area (region), I usually left click here, then right click there, twice. Don On 10/20/16 7:16 PM, 'Terry Brown' via leo-editor wrote: On Thu, 20 Oct 2016 20:23:58 -0500 "Edward K. Ream"wrote: On Thu, Oct 20, 2016 at 2:14 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: Nano has a handy line oriented editing functionality: Hit Ctrl-k to cut one or more lines move somewhere else Hit Ctrl-u to paste all those lines there What's the Leo equivalent? Ctrl-K, Ctrl-K cuts one line completely as per Emacs, then Ctrl-V. Seems to be the same as Ctrl-C without selected text - when you cut several lines Ctrl-V only pastes the last one. Nano's behavior is to accumulate all the cut lines for an uninterrupted series of Ctrl-k key strokes. I thought there was an Emacs equivalent, although it's been so long since I used Emacs, I don't remember for sure. Wondered if Leo had that in it's Emacsesque commands. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Leo editing keys
On Thu, Oct 20, 2016 at 9:16 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Thu, 20 Oct 2016 20:23:58 -0500 > "Edward K. Ream"wrote: > > > Ctrl-K, Ctrl-K cuts one line completely as per Emacs, then Ctrl-V. > > Seems to be the same as Ctrl-C without selected text - when you cut > several lines Ctrl-V only pastes the last one. Nano's behavior is to > accumulate all the cut lines for an uninterrupted series of Ctrl-k key > strokes. I thought there was an Emacs equivalent, although it's been > so long since I used Emacs, I don't remember for sure. Wondered if Leo > had that in it's Emacsesque commands. > Leo's present behavior re the "kill buffer" is a bit wimpy compared to Emacs. Feel free to file an enhancement request. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Leo editing keys
On Thu, 20 Oct 2016 20:23:58 -0500 "Edward K. Ream"wrote: > On Thu, Oct 20, 2016 at 2:14 PM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > Nano has a handy line oriented editing functionality: > > > > Hit Ctrl-k to cut one or more lines > > > > move somewhere else > > > > Hit Ctrl-u to paste all those lines there > > > > What's the Leo equivalent? > > Ctrl-K, Ctrl-K cuts one line completely as per Emacs, then Ctrl-V. Seems to be the same as Ctrl-C without selected text - when you cut several lines Ctrl-V only pastes the last one. Nano's behavior is to accumulate all the cut lines for an uninterrupted series of Ctrl-k key strokes. I thought there was an Emacs equivalent, although it's been so long since I used Emacs, I don't remember for sure. Wondered if Leo had that in it's Emacsesque commands. Cheers -Terry -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: Leo editing keys
On Thu, Oct 20, 2016 at 2:14 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > Nano has a handy line oriented editing functionality: > > Hit Ctrl-k to cut one or more lines > > move somewhere else > > Hit Ctrl-u to paste all those lines there > > What's the Leo equivalent? > Ctrl-K, Ctrl-K cuts one line completely as per Emacs, then Ctrl-V. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.