“ Duplicating a line requires this mess: C-a C-SPACE C-n M-w C-y. Obviously, nobody wants to deal with that. It's easier to select, copy, and paste the line than to type that”
that “mess” happens to be how you select, copy and paste a line.
anyway, with default config I’d use C-a C-k C-k C-y C-y
(goto beginning of line, kill line, including newline, then yank twice. )
instead of selecting the line and copypasting.
and instead of different init file, why not use (define-key org-mode-map (kbd "C-c x") 'org-cut-special) in normal init to have that key in just org-mode?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
“ Duplicating a line requires this mess: C-a C-SPACE C-n M-w C-y. Obviously, nobody wants to deal with that. It's easier to select, copy, and paste the line than to type that”
that “mess” happens to be how you select, copy and paste a line.
Well, that's true, but I meant it's even worse than the disaster of selecting, copying, and pasting with the mouse. In Geany it's just C-d.
anyway, with default config I’d use
C-a C-k C-k C-y C-y
(goto beginning of line, kill line, including newline, then yank twice. )
instead of selecting the line and copypasting.
and instead of different init file, why not use
(define-key org-mode-map (kbd "C-c x") 'org-cut-special)
in normal init to have that key in just org-mode?