Re: How to configure tmux so that it hehaves just like a normal terminal?

2021-01-28 Thread Peng Yu
Hi Sean, > > I want to have an identical configure file so that it can allow use > > highlight text and type command-C (Mac) or ctrl-shift-C (Linux) for > > copying. Basically, I just want the normal behavior of a terminal. Could > > anybody let me know the tmux code to figure this? > > You

Re: How to configure tmux so that it hehaves just like a normal terminal?

2021-01-27 Thread Peng Yu
On 1/27/21, Sean Hammond wrote: > On Tue, 26 Jan 2021, at 4:51 PM, Peng Yu wrote: >> I want to have an identical configure file so that it can allow use >> highlight text and type command-C (Mac) or ctrl-shift-C (Linux) for >> copying. Basically, I just want the normal b

Re: How to configure tmux so that it hehaves just like a normal terminal?

2021-01-27 Thread Peng Yu
> I don't know what it means to behave like a normal terminal, which > terminal? You can make mouse selection stay around until you copy and bind > C-c or M-c in tmux to copy by changing the key bindings. I mean in Mac Teminal, I just type command+C to copy (after highlighting the text). In Linux

How to configure tmux so that it hehaves just like a normal terminal?

2021-01-26 Thread Peng Yu
I have the following tmux installed on Mac OS X and Linux. $ tmux -V tmux 3.1c I have the following .tmux.conf, which allows automatic copy of highlighted text in a terminal. But it doesn't copy anything in a terminal on Linux. I know that the problem is probably due to pbcopy. I want to have

Re: How to copy but not to reset the screen?

2020-09-06 Thread Peng Yu
a new session. >> >> >> If that still does work, maybe try upgrading tmux to 3.2 but I doubt that >> >> this is the root cause. >> >> *Stéphane Gleizes* >> [image: LinkedIn] >> <https://www.linkedin.com/in/stephane-gleizes-4924b899/> >>

Re: How to copy but not to reset the screen?

2020-09-03 Thread Peng Yu
I used these lines. But they don't help. When I type ctrl-a [ then ctrl-b, then use my mouse to highlight a text region, the cursor will still be reset to the very bottom. I use tmux 3.1b. Could you try my configure file to see what is wrong? Thanks. > Strange, that's not expected behavior. >

Re: How to copy but not to reset the screen?

2020-09-02 Thread Peng Yu
eptember 1, 2020 10:41:21 PM PDT, Nicholas Marriott >> wrote: >> > What do you mean the screen gets reset? >> > >> > >> > On Wed, 2 Sep 2020 at 03:01, Peng Yu > > (mailto:pengyu...@gmail.com)> wrote: >> > > I have the following ~/

How to copy but not to reset the screen?

2020-09-01 Thread Peng Yu
I have the following ~/.tmux.conf. When I copy text I select the text, the text got automatically copied (in Mac Terminal). But the screen got reset too. I don't want this behavior. I want to select the text then type command-C to copy the text without resetting the screen. Is there way to get

Default prefix is set to C-a?

2018-02-13 Thread Peng Yu
Hi, I remember the default prefix used to be C-b. But I now I see that it is C-a. Is it? $ tmux -f /dev/null show-options -g | grep '\' prefix C-a $ tmux -V tmux 2.6 -- Regards, Peng -- You received this message because you are subscribed to the Google Groups "tmux-users" group.

tmux 2.6 copy and paste

2018-02-13 Thread Peng Yu
Hi, I used to be able to use mouse to highlight a region for copy and paste. (with `set -g mouse on` in ~/.tmux.conf) But after a recent upgrade to tmux 2.6, it does not allow me to do so anymore. There are discussions that may be relevant. But no tmux version numbers are provided. Due to the