Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-11 Thread Enan Ajmain
Hi, Thanks. That will work for me, just updated for bash. Until I get to add this functionality into ST directly, it will work. Thanks again, Enan Ajmain On Sat, May 11, 2019 at 3:17 PM Hadrien Lacour wrote: > > On Tue, Apr 23, 2019 at 04:54:17PM +0600, Enan Ajmain wrote: > > Hi, > > > > I want

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-11 Thread Hadrien Lacour
On Tue, Apr 23, 2019 at 04:54:17PM +0600, Enan Ajmain wrote: > Hi, > > I want to add a keybinding to ST to spawn a new ST window in the > current working directory. How do I do that? > > Thanks, > Enan > Hello, personally, I put bindkey -e -s '^[t' 'st >/dev/null 2>&1 &!\n' in my .zshrc

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory

2019-05-10 Thread Silvan Jegen
Hi Ian Remmler wrote: > On Thu, May 09, 2019 at 04:27:31PM -0500, Ian Remmler wrote: > > Then you just make a script to launch st from there and bind it to a > > window manager shortcut or whatever. > > ... And I missed the bit about you not wanting to rely on the window > manager. :) But you co

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-10 Thread Hiltjo Posthuma
On Thu, May 09, 2019 at 04:27:31PM -0500, Ian Remmler wrote: > On Thu, May 09, 2019 at 11:30:37AM +0600, Enan Ajmain wrote: > > So, could you help me how I can create a function to open a new ST > > terminal window on the cwd of the current ST terminal? > > I do something similar with my plumber t

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-09 Thread Ian Remmler
On Thu, May 09, 2019 at 11:30:37AM +0600, Enan Ajmain wrote: > So, could you help me how I can create a function to open a new ST > terminal window on the cwd of the current ST terminal? I do something similar with my plumber that could be adapted. I use zsh which (if interactive) will evaluate a

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-09 Thread Ian Remmler
On Thu, May 09, 2019 at 04:27:31PM -0500, Ian Remmler wrote: > Then you just make a script to launch st from there and bind it to a > window manager shortcut or whatever. ... And I missed the bit about you not wanting to rely on the window manager. :) But you could always have st run the script.

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-05-08 Thread Enan Ajmain
Hi, I looked at the patch you suggested, but I still don't have any idea how I should go about getting what I want. I mean I understood the code, but I lack any knowledge on actually coding on top of existing projects. If you didn't understand what I actually wanted, I will reiterate more clearly.

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Michael Buch
If you're on dwm you can try this patch: Am Di., 23. Apr. 2019 um 15:20 Uhr schrieb Alexander Krotov : > > On 23/04/2019 13:54, Enan Ajmain wrote: > > Hi, > > > > I want to add a keybinding to ST to spawn a new ST window in the > > current working directory. How do I do that? > > > > Thanks, > > E

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Michael Buch
>> If you're on dwm you can try this patch: https://dwm.suckless.org/patches/spawn_cwd/ Am Di., 23. Apr. 2019 um 20:18 Uhr schrieb Michael Buch : > > If you're on dwm you can try this patch: > > Am Di., 23. Apr. 2019 um 15:20 Uhr schrieb Alexander Krotov > : > > > > On 23/04/2019 13:54, Enan Ajma

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Alexander Krotov
On 23/04/2019 13:54, Enan Ajmain wrote: > Hi, > > I want to add a keybinding to ST to spawn a new ST window in the > current working directory. How do I do that? > > Thanks, > Enan > See https://st.suckless.org/patches/right_click_to_plumb/plumb_without_shell_OSC.diff for an example of how to g

Re: [dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Greg Reagle
On Tue, Apr 23, 2019, at 07:05, Enan Ajmain wrote: > I want to add a keybinding to ST to spawn a new ST window in the > current working directory. How do I do that? I don't really understand your question, but I'll give it a try anyway. Type st & at the shell prompt and you'll get a new st wi

[dev] [st] How do I add a keybinding to open a new ST window in the current working directory?

2019-04-23 Thread Enan Ajmain
Hi, I want to add a keybinding to ST to spawn a new ST window in the current working directory. How do I do that? Thanks, Enan