diff --git a/docs/faq.rst b/docs/faq.rst index d2109e224..6b0fca208 100644 --- a/docs/faq.rst +++ b/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`` +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 ` is very powerful, +explore :doc:`its documentation `. + I am using tmux and have a problem --------------------------------------