Re: simple question about copying in the terminal

2025-02-08 Thread Gottfried
Hi Zelphir, I am not quite sure, what you are asking, but thought maybe some info would help. I wasn´t asking something, only describing my situation. Nevertheless, your mentioning of different shells in Emacs gives me a starting point of using a shell in Emacs. thanks Gottfried Am 08.

Re: Re: simple question about copying in the terminal

2025-02-08 Thread Zelphir Kaltstahl
Hi Gottfried, I am not quite sure, what you are asking, but thought maybe some info would help. I think the default for copy pasting in Emacs is: * Copy selected text: M-w (that is "Meta w", where "Meta" usually is the "Alt" key) * Paste clipboard: C-y (that is "Control y", referring to t

Re: simple question about copying in the terminal

2025-02-08 Thread gfp
Hi Felix, As I was a normal Linux user. I used only the basics. I new nothing about Emacs, VIM ... After installing GNU Guix SD approx 3 years ago the term "Emacs" came up and all the Guixers, who wrote to me encouraged me to learn Emacs, nobody said something about VIM. That´s why I started to

Re: simple question about copying in the terminal

2025-02-07 Thread Felix Lechner via
Hi Gottfried On Fri, Feb 07 2025, gfp wrote: > I will try it in Emacs In software, Emacs divides the world. We can still be friends if you use Vim. When using Emacs, however, please use the following commands instead: C-x C-c to quit C-x C-s to save C-x C-f to open a file I haven

Re: simple question about copying in the terminal

2025-02-07 Thread gfp
Hi Felix, thanks to all for your pieces of advice and to Felix for your detailed explanation, I will try it in Emacs because I am learning Emacs anyway. even though tmux from Arnoud´s mail is an interesting proposal. thanks Gottfried Am 07.02.25 um 16:31 schrieb Felix Lechner: Hi Gottfried

Re: simple question about copying in the terminal

2025-02-07 Thread Felix Lechner via
Hi Gottfried, On Fri, Feb 07 2025, gfp wrote: > You can read it with `guix package --search-paths -p > "/home/gfp/.guix-profile"'. I think you want to redirect the output and edit it: guix package --search-paths -p "/home/gfp/.guix-profile" > /tmp/whatever Then you can use vim to edit /tmp/

Re: simple question about copying in the terminal

2025-02-07 Thread gfp
Hi, what is the advantage of installing Termite, or the newer version: alacritty? Is it for VIM users with a similar keymap? or has it other advantages as well? Is it better to install Termite or Alacritty? in Guix? thanks Gottfried Am 04.02.25 um 19:36 schrieb Tobias Geerinckx-Rice: Yo,

Re: simple question about copying in the terminal

2025-02-07 Thread Arnaud Daby-Seesaram
Hi, gfp writes: > I have got this stout in my bash shell > > > GUIX_PROFILE="/home/gfp/.guix-profile" > . "$GUIX_PROFILE/etc/profile" > > My question was: > > how can I get back to the 3rd and 4th last line > copy/kill it and paste/yank it without mouse > so that I can set the variables? A

Re: simple question about copying in the terminal

2025-02-07 Thread Alexis Simon
Hi, One option could be to redirect the output to a file and then copy the content from there with an editor. `>` if it's stdout and `2>` if it's stderr. For example I can copy to clipboard in helix editor, I'm pretty sure this is possible with other terminal editors as well. Alexis On 07

Re: simple question about copying in the terminal

2025-02-07 Thread gfp
Hi, thanks to all for help I have got this stout in my bash shell GUIX_PROFILE="/home/gfp/.guix-profile" . "$GUIX_PROFILE/etc/profile" You can read it with `guix package --search-paths -p "/home/gfp/.guix-profile"'. My question was: how can I get back to the 3rd and 4th last line copy

Re: simple question about copying in the terminal

2025-02-04 Thread Tobias Geerinckx-Rice
Yo, I think Gottfried wants to copy the commands suggested by Guix on stdout, not their own shell command history. Correct me if I'm wrong. The answer will depend entirely on which terminal application you use. Some might not offer such an option at all. I know that in Termite, you can enter

Re: simple question about copying in the terminal

2025-02-04 Thread Andreas Enge
Hello Gottfried, Am Tue, Feb 04, 2025 at 04:29:04PM + schrieb gfp: > GUIX_PROFILE="/home/gfp/.guix-profile" > . "$GUIX_PROFILE/etc/profile" this does not completely answer your question, but in this case you can use the "up" arrow key until you see the first line, then "enter". And once

simple question about copying in the terminal

2025-02-04 Thread gfp
Hi, if I have got e.g. GUIX_PROFILE="/home/gfp/.guix-profile" . "$GUIX_PROFILE/etc/profile" in the terminal, but not in the last line how can I copy that without mouse? how can I get to it with keybindings and copy it with keybindings? thanks Gottfried OpenPGP_0xD9E413C6C4BB32CE.asc