Add A FAQ entry about opening new windows with the cwd
This commit is contained in:
parent
3ed536ace1
commit
c89d861c0e
12
docs/faq.rst
12
docs/faq.rst
@ -236,6 +236,18 @@ available. The manual way to figure it out is:
|
|||||||
|
|
||||||
3. Use ``\x(hexval)`` in your ``send_text`` command in kitty. So in this example, ``\x13``
|
3. Use ``\x(hexval)`` in your ``send_text`` command in kitty. So in this example, ``\x13``
|
||||||
|
|
||||||
|
How do I open a new window or tab with the same working directory as the current window?
|
||||||
|
--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
In :file:`kitty.conf` add the following::
|
||||||
|
|
||||||
|
map f1 launch --cwd=current
|
||||||
|
map f2 launch --cwd=current --type=tab
|
||||||
|
|
||||||
|
Pressing :kbd:`F1` will open a new kitty window with the same working directory
|
||||||
|
as the current window. The :doc:`launch command <launch>` is very powerful,
|
||||||
|
explore :doc:`its documentation <launch>`.
|
||||||
|
|
||||||
|
|
||||||
I am using tmux and have a problem
|
I am using tmux and have a problem
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user