I can bind a key in copy mode (bind-key -t vi-copy Y end-of-line),
but I haven't yet found a way to bind a single key to multiple copy-mode
commands...
Specifically I am trying to recreate a key I used in screen a lot...
in copy mode Y would just copy the whole current line...
so for tmux I was t
I first tried using send-keys (bind-key -t vi-copy send-keys ^ ' ' $ Enter)
but send-keys isn't a valid command in copy-mode.
On Fri, Apr 22, 2011 at 5:20 PM, Randy Stauner
wrote:
> I can bind a key in copy mode (bind-key -t vi-copy Y end-of-line),
> but I haven't
trickier to recreate.
It might be easier to patch the source and add a copy-line command
instead...
i'll put that on my todo list. :-)
Thanks!
On Fri, Apr 22, 2011 at 11:53 PM, Micah Cowan wrote:
> On 04/22/2011 05:26 PM, Randy Stauner wrote:
> > I first tried using send-k
I was trying to source a conf file to create default windows,
but it seems that when doing
if-shell "tmux has-session -t auto" "display-message yes"
tmux seems to hang on the "has-session" call if the session does not exist.
I can see these in a ps:
rando27867 0.0 0.0 1832 496 ?
an acceptable workaround.
>
> Of course now I remember that that sequence used to be repeatable (5Y to
> copy 5 lines)...
> that may be a bit trickier to recreate.
> It might be easier to patch the source and add a copy-line command
> instead...
> i'll put that on my todo l
On Thu, Apr 28, 2011 at 09:43:12AM -0700, Randy Stauner wrote:
> >I was trying to source a conf file to create default windows,
> >but it seems that when doing
> >if-shell "tmux has-session -t auto" "display-message yes"
> >tmux seems to hang o
e I like to have both bound to the
> same key, if anyone's interested.
>
> --Dave
>
>
> On Thu, Apr 28, 2011 at 6:49 PM, Randy Stauner <
> ra...@magnificent-tears.com> wrote:
>
>> thanks for the idea.
>> I definitely must applaud the effort.
>> y
#x27;s the correct patch.
>
> --Dave
>
>
> On Fri, Apr 29, 2011 at 1:40 PM, Randy Stauner <
> ra...@magnificent-tears.com> wrote:
>
>> is this patch missing something?
>> it looks awfully short and doesn't make sense to me... it just looks like
>>
edit-mode
and adjusted the documentation slightly.
If people like these changes I'd be willing to try my hand at documenting
the rest of them.
Also, should we setup default key-bindings for the other ones?
So far i like this thread!
Thanks everybody!
On Fri, Apr 29, 2011 at 3:35 PM, Randy St
Sorry about that.
Attached is a full patch containing Dave's initial work
and my additions for: select-line, copy-line, and copy-end-of-line.
Let me know if you'd prefer incremental patches
or if you need them based off of a different point in the source history.
Thanks!
On Sat, Apr 30, 2011 at 3:
lt;
nicholas.marri...@gmail.com> wrote:
> If copy and select line are the same surely there is no need for both?
> Also please use C89 block comments (/* */) not C++ comments.
>
>
>
> On Sat, Apr 30, 2011 at 11:24:18AM -0700, Randy Stauner wrote:
> >Sorry about that.
>
this brings up an interesting idea... this could be achieved if the -p
argument to command-prompt
processed the status-line escape sequences:
command-prompt -p "rename (from #W)" "rename-window '%%'"
Note that this does not currently work, it's a suggestion for a feature
request.
On Wed, Apr 20,
sorry, I don't use mac (or gui vim) so I have no idea what you're talking
about.
On Tue, May 10, 2011 at 10:09 AM, Tim Gray wrote:
> Anyone else having issues with vim using the OS X clipboard as it's
> default yank buffer? I'm using MacVim as vim and I'm on OS X
> 10.6.whateveriscurrent. In f
I have wondered about this myself,
in screen I actually had multiple alternate tables / secondary prefix keys.
For the windows-above-10 case you described you can use "command-prompt" to
achieve a similar result,
but you additionally have to press Enter (for example "prefix, Alt+1, 2,
Enter" would
Using tmux-cvs in linux with 2 separate gui terminals (xfce4-terminal and
xterm)
I have no problem binding C-h.
I don't know anything about macs...
but I wonder if your terminal is grabbing the Control-H
because it thinks you're trying to send a backspace character.
If you hit Ctrl-V Ctrl-H at yo
escape-time is a server option so it must be set with -s:
set-option -s escape-time 0
Does that work for you?
On Thu, May 12, 2011 at 7:50 AM, Egan Ford wrote:
> show-options has it, but set-option escape-time 0 errors with unknown
> option.
>
>
> --
that would be great.
maybe someday i'll have the chance to look into that :-)
On Tue, May 17, 2011 at 10:37 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> yeah i have wanted this for ages but not done it yet
>
> way we were thinking of would be have a command which would lookup th
I have tried to recreate this according to your steps and it does not happen
to me,
things look as you would expect them.
I tried zsh as well--no change.
It does seem odd that even the prompt disappears in your example.
This probably won't help, but might be worth a try:
Try putting this line in
not a problem. thank you very much!
On Wed, May 18, 2011 at 11:07 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> Applied to OpenBSD now, thanks, with some tweaks. Sorry for the delay.
>
> On Sat, Apr 30, 2011 at 12:16:01PM -0700, Randy Stauner wrote:
> &g
what version of vim are you using?
Also, what is the output of:
infocmp screen
I have an older machine that has different output than my usual dev pc.
I have not tested anything over there... it would require installing tmux,
libevent, and probably a few other things.
But I was wondering if perha
what mode are you in that makes ctrl x ctrl e run the command?
In my vim in insert mode it scrolls
and in normal mode the ctrl x decrements the current character (turns e to d
or 2 to 1).
So I'm not exactly sure what ctrl x ctrl e is doing on your pc,
but often if i am using vim to compose a comma
I don't know too much about tmux internals but I'm going to take a guess
here:
I think the if-shell command is forking and running asynchronously
and tmux is creating the first window before that command returns and sets
the global option.
Simply setting the option (with -g) does work as expected
I currently use ctrl-/.
Though, strangely that key combination on my computer actually sends ctrl-_
(which is how i have to specify it in my tmux conf).
Something about it makes me uncomfortable, but it's easy for my fingers to
reach and doesn't clash with any other keys.
tl;dr:
I, too, was tired
orking going on elsewhere in the server it gets more
complicated.
On Mon, May 30, 2011 at 7:26 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> this is accurate, if-shell is asynchronous
>
> need to fix that sometime but it ain't easy
>
>
> On Sat, May 28, 2
true... that would make it much more difficult.
On Mon, May 30, 2011 at 10:08 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> The tmux server can never block
--
vRanger cuts backup time in half-while increas
kings.
I'd love to learn more, though, and be able to help.
On Mon, May 30, 2011 at 10:11 AM, Randy Stauner wrote:
> true... that would make it much more difficult.
>
>
> On Mon, May 30, 2011 at 10:08 AM, Nicholas Marriott <
> nicholas.marri...@gmail.com> wrote:
>
hy i became a programmer.
On Mon, May 30, 2011 at 10:23 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> On Mon, May 30, 2011 at 10:17:20AM -0700, Randy Stauner wrote:
> >maybe a path to consider would be to do conf-reading in a child
> process (a
> >
i see.
well thanks very much for the conversation.
i'll put that on my to-think-about list. :-)
On Mon, May 30, 2011 at 10:51 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> On Mon, May 30, 2011 at 10:36:21AM -0700, Randy Stauner wrote:
> >how is it diffe
or something
when i could even more easily type the command I really wanted and never
have that problem again.
I had never used the real "vi" anyway... "vim" is all I've ever known.
On Mon, May 30, 2011 at 4:52 PM, Chas. Owens wrote:
> On Mon, May 30, 2011 at 10:0
It certainly isn't magical, but that's what I use the tabs of a gui-terminal
for.
Currently I use xfce4-terminal, 1 tab for my local machine and 1 tab for my
ssh session to $work.
Ctrl-PgUp and Ctrl-PgDn switch b/t tabs.
I launch my gui terminal from a script when I boot my laptop in the morning
a
There is a visual-activity setting which displays a status line message,
but i can't see from the man page any way to get a bell into that message.
On Wed, Jun 8, 2011 at 7:18 AM, Zapphannes wrote:
> Greetings
> Is there any way to trigger a bell on window activity instead of just
> appending a
I don't know if you'd consider this related,
or a separate redrawing problem,
but I normally have my terminal (xfce4-terminal) fill about half of my
screen...
if i maximize it for a bit, and then shrink it back to the previous size,
the terminal ends up growing taller (which doesn't fit on my scre
It's hard to say for sure since my clone is already up to date,
but i don't get any errors (it says I'm "already up to date").
On Fri, Jun 10, 2011 at 2:38 PM, Thomas Adam wrote:
> On Fri, Jun 10, 2011 at 11:14:03PM +0200, clemens fischer wrote:
> > On Thu-2011/05/26-23:39 Thomas Adam wrote
> >
, using GTK+-2.20.1.
On Fri, Jun 10, 2011 at 3:54 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> this is a different issue, sounds like something isn't sending tmux
> SIGWINCH
>
> what window manager?
>
>
> On Fri, Jun 10, 2011 at 08:19:22AM -070
lt;
nicholas.marri...@gmail.com> wrote:
> Does it happen with xterm?
>
> If you do C-b r in tmux after it happens does it fix it?
>
>
> On Fri, Jun 10, 2011 at 05:12:41PM -0700, Randy Stauner wrote:
> >Xfce 4 Desktop Environment
> >version 4.6.1 (Xfce 4.6)
>
have you tried just setting TERM to "screen" instead of "sccreen-256color"?
If I have my TERM set to a value my terminfo db doesn't have i don't see any
colors.
Granted, I also see lots of warnings from various programs...
At work i had to build something into my .bashrc to check if the -256color
Do you have a `tty` command? that may show "/dev/tty1" vs "/dev/pts/3"
which could identify it.
There may be other environment settings you could consult as well...
You could output your environment to a file under each of Console and X and
then diff them.
On Wed, Jun 15, 2011 at 12:29 AM, Nich
Using xfce4-terminal (TERM=xterm-265color)
I see the same sequence when pressing shift-F2.
The man page does not suggest that tmux supports "S-" as the shift modifier,
and if it did I wouldn't know how to test it... you don't bind S-w, you just
bind W...
tmux does support the F2 key,
but for me (
that's strange... i tried something similar but i think i had the key combo
wrong... oops.
I also didn't realize that it was only F1-F4 that have these "other" codes.
weird.
Anyway, this patch works for me.
Thanks!
On Sat, Jun 18, 2011 at 9:30 PM, Dustin Kirkland
wrote:
> On Fri, Jun 17, 2011 at
If you only want to jump back and forth between 2 panes there is a last-pane
command.
This won't work for more than 2 "foreground" panes, though.
On Thu, Jun 23, 2011 at 2:49 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> No there isn't, but you could write a script to toggle the
fyi...
prefix, o is the default binding for "select-pane -t :.+" which was
Nicholas's suggestion (for selecting the "next" pane)
prefix, Ctrl-o is "rotate-window" which will move each pane over/down one
position (the last pane will end up in the first position) essentially
rotating the window.
O
Not exactly sure what you are looking to do... you can pipe stderr into
stdout:
command 2>&1 | command-that-receives-both-in-one-stream
or you can dump stdout to a file (or /dev/null) and pipe stderr
command 2>&1 >file | command-gets-stderr
On Tue, Jun 28, 2011 at 4:28 AM, Jesse Molina wrote:
My ssh connection died and it looked to me like the process hung.
Turns out I had remain-on-exit set but I did that so long ago I forgot about
it.
It would be nice to have some sort of notification that this pane is dead
and you likely either want to kill it or respawn it.
A window flag might be
_close_pane(wp);
>window_remove_pane(w, wp);
>
>
> On Tue, Aug 30, 2011 at 10:22:46AM +0100, Nicholas Marriott wrote:
> > Hi
> >
> > If you have automatic rename on it will rename the window to add [dead]
> > but yes printing that in the pane wou
; only have a few lines on screen you will lose them.
>
> On Tue, Aug 30, 2011 at 08:01:08AM -0700, Randy Stauner wrote:
> >-- (sorry, didn't mean to send this directly instead of to the list)
> --
> >I don't use automatic rename in that session bec
e' to remove.");
screen_write_stop(&ctx);
wp->flags |= PANE_REDRAW;
return;
feel free to clean it up as necessary ;-)
On Tue, Aug 30, 2011 at 8:38 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
>
> Move cursor to the very bottom (screen_size_y(s) - 1)
gc, &grid_default_cell, sizeof gc);
> + gc.attr |= GRID_ATTR_BRIGHT;
> + screen_write_puts(&ctx, &gc, "Pane is dead");
> + screen_write_stop(&ctx);
> + wp->flags |= PANE_REDRAW;
>return;
> +
awesome! thanks a lot!
i personally build from Thomas's clone on github (which copies from
sourceforge svn i believe).
On Mon, Sep 5, 2011 at 4:41 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:
> Thanks, applied to OpenBSD. This'll be in SF in a week or so (everyone
> is away/busy
48 matches
Mail list logo