Re: Switching windows with added command

2016-11-25 Thread Neal Fultz
I would recommend switching to the new window using it's title rather then it's number. Here is an example of binding C-a M to switch to mutt, then sending a y to make it open the mailbox list: bind m eval "select mutt" "stuff y" On Fri, Nov 25, 2016 at 11:36 AM, ed wrote: > On Fri, Nov 25, 2

Re: Switching windows with added command

2016-11-25 Thread ed
On Fri, Nov 25, 2016 at 10:52:55AM -0500, Dan D. wrote: > For example if switching into a window holding a running program, > can a command be sent to that running program as the swittch is > underway? Why not switch to the window then bind a key with 'stuff' to send whatever you need? -- Best

Switching windows with added command

2016-11-25 Thread Dan D.
Hello, When switching between windows holding the metakey plus other possible keys is it possible to send an bash alias as an auto part of the switch. For example if switching into a window holding a running program, can a command be sent to that running program as the swittch is underway?