Re: regression in/with bind-key?
Am 21.04.2017 um 13:38 schrieb Nicholas Marriott: Yeah this change isn't ideal/ Perhaps falling back to root is the best solution, but I think we should do it for all key tables, not just the pane key table. Please try this: [patch] Using this patch, my key bindings seem to work again, in- and outside copy-mode. (Without the need to define them for several tables. :-)) Thomas -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: tmux 2.4 does not support vim yank and paste?
So you are talking about copy and paste from tmux copy mode, not from vim? On Fri, Apr 21, 2017 at 12:10:56PM +, Xudong Sun wrote: >I think it has nothing to do with display, since if the save the file and >close and open it again, the displayed line are the same. >in my .tmux.conf file, A I found out two lines that is not supported by >tmux 2.4 >" >bind -t vi-copy v begin-selection # `v` begins a selection A A A A A >A A A A A A bind -t vi-copy V rectangle-toggle # `V` toggle line- >and columnwise selection A A >" >After commented them out, the yank for multiple lines in tmux vim still >does not work, but yank one line works nowA >On Fri, 21 Apr 2017 at 13:59 Nicholas Marriott >wrote: > > If you are copying and pasting entirely within vim, tmux has very little > to do with it. Are you sure the actual paste is wrong and it isn't just > being displaying the wrong thing? > > On Fri, Apr 21, 2017 at 11:37:23AM +, Xudong Sun wrote: > >A A Hi,A > >A A AA A Thanks for the response. > >A A AA A Ok, the process isA > >A A AA A I logged into a cluster, then I type tmux, then I type vim, > then I > >A A press F1 to open nerdtree and useA > >A A "t" to open a tab for a file I want to edit. In this file, I > select a line > >A A using "v" and type "y" or "yy", then I type "p" in another line > of the > >A A same file.AA Something else will be pasted rather than the line > I > >A A selected. > >A A On Fri, 21 Apr 2017 at 12:43 Nelo-Thara Wallus > wrote: > > > >A A A Please explain your problem _exactly_, including which buttons > you're > >A A A using and if you mean another vim instance by 'paste them in > another > >A A A place'. > > > >A A A Without specific information on your problem we cannot give > you educated > >A A A guesses. > > > >A A A - Nelo > > > >A A A On 2017-04-21 10:37, Xudong Sun wrote: > >A A A > Hi, > >A A A >AA AA A I updated tmux from 1.8 to 2.4 and now the problem > is if I open > >A A A a R > >A A A > file and try to copy one existing line and paste them in > another > >A A A place, the > >A A A > paste result is something else. But yank and paste does work > if I > >A A A input > >A A A > something new to the file. > >A A A >AA AA A Anyone has an idea if this is because the tmux > version ? > >A A A > > >A A A > Thanks > >A A A > > >A A A > -- > >A A A > You received this message because you are subscribed to the > Google > >A A A Groups "tmux-users" group. > >A A A > To unsubscribe from this group and stop receiving emails > from it, send > >A A A an email to tmux-users+unsubscr...@googlegroups.com. > >A A A > To post to this group, send an email to > tmux-users@googlegroups.com. > >A A A > For more options, visit https://groups.google.com/d/optout. > > > >A A A -- > >A A A /"\AA ASCII Ribbon Campaign > >A A A \ /AA - against HTML emails > >A A A A XAA A - against proprietory attachments > >A A A / \AA http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign > > > >A A -- > >A A You received this message because you are subscribed to the > Google Groups > >A A "tmux-users" group. > >A A To unsubscribe from this group and stop receiving emails from it, > send an > >A A email to tmux-users+unsubscr...@googlegroups.com. > >A A To post to this group, send email to tmux-users@googlegroups.com. > >A A For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: tmux 2.4 does not support vim yank and paste?
Hi, Thanks for the response. Ok, the process is I logged into a cluster, then I type tmux, then I type vim, then I press F1 to open nerdtree and use "t" to open a tab for a file I want to edit. In this file, I select a line using "v" and type "y" or "yy", then I type "p" in another line of the same file. Something else will be pasted rather than the line I selected. On Fri, 21 Apr 2017 at 12:43 Nelo-Thara Walluswrote: > Please explain your problem _exactly_, including which buttons you're > using and if you mean another vim instance by 'paste them in another > place'. > > Without specific information on your problem we cannot give you educated > guesses. > > - Nelo > > On 2017-04-21 10:37, Xudong Sun wrote: > > Hi, > > I updated tmux from 1.8 to 2.4 and now the problem is if I open a R > > file and try to copy one existing line and paste them in another place, > the > > paste result is something else. But yank and paste does work if I input > > something new to the file. > > Anyone has an idea if this is because the tmux version ? > > > > Thanks > > > > -- > > You received this message because you are subscribed to the Google > Groups "tmux-users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to tmux-users+unsubscr...@googlegroups.com. > > To post to this group, send an email to tmux-users@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > /"\ ASCII Ribbon Campaign > \ / - against HTML emails > X - against proprietory attachments > / \ http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign > > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
tmux 2.4 does not support vim yank and paste?
Hi, I updated tmux from 1.8 to 2.4 and now the problem is if I open a R file and try to copy one existing line and paste them in another place, the paste result is something else. But yank and paste does work if I input something new to the file. Anyone has an idea if this is because the tmux version ? Thanks -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
regression in/with bind-key?
Hi Nicholas, I used to bind keys to switch/move windows/panes to the root-table. Until 2.3 these worked, even within copy-mode. In 2.4 they stopped working (when in copy-mode). Would it be possible to have a fallback from "copy-mode[-vi]" to "root", in case there is no matching binding in the first table? Or would it be better/easier to allow the argument to -T to be a list, so one could define equal bindings to multiple key-tables at once, like these: bind-key -T root,copy-mode,copy-mode-vi C-PPage previous-window bind-key -T root,copy-mode,copy-mode-vi C-NPage next-window Thomas -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To post to this group, send an email to tmux-users@googlegroups.com. For more options, visit https://groups.google.com/d/optout.