302 Commits

Author SHA1 Message Date
Kovid Goyal
9c9d68561e
When calling the active tab idx setter do not re-record the current tab in the active tab history if the current tab will not actually change. Fixes #3871 2021-07-27 09:12:35 +05:30
Kovid Goyal
4b889750db
Add a new variable `{num_window_groups}` for tab_title_template
See #3837
2021-07-16 19:25:24 +05:30
Kovid Goyal
c6938c9039
Add some missed actions 2021-07-02 21:43:18 +05:30
Kovid Goyal
050c31094b
toggle_layout action to zoom/unzoom active window 2021-07-01 17:57:00 +05:30
Kovid Goyal
6a4668974b
Forgot to mark layout actions 2021-07-01 17:38:26 +05:30
Kovid Goyal
64810e0e0b
Add some missing blank lines before code blocks 2021-07-01 07:22:49 +05:30
Kovid Goyal
b0edbf2857
Mark more actions 2021-06-29 22:21:01 +05:30
Kovid Goyal
91f0da9dcd
Document actions in the tab object 2021-06-29 20:12:39 +05:30
Kovid Goyal
ec31a36fd9
Fix reloading of various settings 2021-06-07 08:27:58 +05:30
Kovid Goyal
c827a29a7b
Use the new get_options() function
Nicer than carrying around opts objects everywhere
2021-05-24 12:29:11 +05:30
Kovid Goyal
02fb020dfd
Better fix for minimal border layout issue
Keep _set_dimensions() private
2021-05-17 15:30:03 +05:30
Kovid Goyal
bac6ebdf95
Fix incorrect border drawing when multiple tabs and multiple OS Windows are present and some of the OS Windows have tab bars and some dont
Fixes #3634
2021-05-17 15:04:33 +05:30
Kovid Goyal
4dcccc553c
... 2021-05-05 14:02:58 +05:30
Kovid Goyal
7e53db8aac
DRYer 2021-05-05 13:58:10 +05:30
Kovid Goyal
4a83584934
Fix #3576 2021-05-05 13:55:46 +05:30
Kovid Goyal
237fd73702
Fix removal of inactive tab that is before the currently active tab causing the highlighted tab to be incorrect
Fixes #3516
2021-04-22 22:28:05 +05:30
Kovid Goyal
518057489c
Also output layout state in kitty @ ls 2021-04-17 12:11:56 +05:30
Kovid Goyal
8d743e9511
Fix is_self 2021-04-13 08:54:45 +05:30
Kovid Goyal
ba2efaacd8
Fix regression in launching executables as command line arguments without full paths 2021-03-17 14:32:43 +05:30
Kovid Goyal
f3e2a42c29
Fix #3400 2021-03-16 20:59:54 +05:30
Kovid Goyal
b063c8cda1
Fix inactive tab closing causing active tab to change
Fixes #3398
2021-03-16 18:06:01 +05:30
Kovid Goyal
0f020d5b37
When passing a directory or a non-executable file as the program to run to kitty open it with the shell, instead of just failing.
Allows using kitty as the program to open directories or shell scripts
from desktop environments.
2021-03-10 14:27:07 +05:30
Kovid Goyal
35517d3e6f
Allow using the full launch command in session files
Note this is slightly backward incompatible.
2021-01-31 11:37:00 +05:30
Kovid Goyal
9ae198ef8f
Double clicking on empty tab bar area now opens a new tab
Fixes #3201
2021-01-02 11:45:18 +05:30
Kovid Goyal
85bc8b61df
Make wm_class/wm_name available in @ ls output 2020-12-26 10:46:07 +05:30
Margaret K. Geiger
2b3e2ea6f8 Add tab_switch_strategy option 'right' 2020-12-08 16:55:27 -08:00
Kovid Goyal
9a54da84dc
Add a setting tab_activity_symbol
Fixes #2515
2020-09-08 21:54:56 +05:30
Kovid Goyal
77c9124a3d
Merge branch 'gwl/fix-move_window_to_top-183' of https://github.com/gregorlarson/kitty into master 2020-09-08 08:38:18 +05:30
Gregor Larson
0321f9bddf tabs.py::move_window_to_top fix 2020-09-07 14:01:56 -04:00
Kovid Goyal
f65914599b
Remove unreachable code 2020-08-23 10:53:47 +05:30
Kovid Goyal
392c31f5fe
Allow specifying watchers in session files and via a command line argument 2020-08-23 10:41:36 +05:30
Kovid Goyal
ace152d8a3
DRYer 2020-07-24 08:41:55 +05:30
Jason Felice
1fd338cc6c Set Cocoa window number 2020-07-23 18:36:32 -04:00
Kovid Goyal
48631c4ea6
Add changelog entry for previous merge
Also clean up use of typing.cast
2020-07-12 14:47:14 +05:30
Juho Peltonen
d4c2b13dda Prefer most recently activated window when selecting neighbors
This affects both activating and moving neighbor windows.
2020-07-11 23:52:33 +03:00
Kovid Goyal
98625e9c36
Add an option confirm_on_os_window_close to ask for confirmation when closing an OS window with multiple kitty windows. 2020-05-15 13:39:58 +05:30
Kovid Goyal
01c0e8da93
Tall and Fat layouts ported to new groups API 2020-05-12 22:43:54 +05:30
Kovid Goyal
79a780004f
Remove references to overlay_for from boss 2020-05-12 22:43:54 +05:30
Kovid Goyal
81b28bc1bd
More work on refactoring window groups, stack layout works 2020-05-12 22:43:54 +05:30
Kovid Goyal
e9c4d540b1
More work on refactoring window groups 2020-05-12 22:43:54 +05:30
Kovid Goyal
50d9718c68
Start work on refactoring management of windows 2020-05-12 22:43:53 +05:30
Kovid Goyal
28fc9c69da
Allow showing the name of the current layout and the number of windows in tab titles
Fixes #2634
2020-05-09 08:00:17 +05:30
Kovid Goyal
6edf00e699
Wayland: Fix OS window title not updating for hidden windows
Fixes #2629
2020-05-05 17:51:36 +05:30
Kovid Goyal
c69b8870d2
Allow individually setting margins and padding for each edge (left, right, top, bottom) 2020-04-19 09:36:26 +05:30
Kovid Goyal
63307cb1d8
Code to serialize state 2020-04-17 08:42:45 +05:30
Kovid Goyal
41ffd58e26
A bit of cleanup 2020-04-11 21:22:17 +05:30
Franco Sebregondi
75c8ffd715 Add flag to Layout to enforce drawing a border
Layout.must_draw_borders = True enforces drawing of a border even
though only a single window is visible. See #2531.
2020-04-11 17:01:44 +02:00
Kovid Goyal
747ac85e7c
Add an :option:launch --watcher option that allows defining callbacks that are called for various events in the window's life-cycle
Fixes #2440
2020-03-28 12:13:42 +05:30
Kovid Goyal
93a281c7e3
Add a new mappable action `close_other_windows_in_tab` to close all but the active window
Fixes #2484
2020-03-26 22:05:00 +05:30
Kovid Goyal
382c31ddf2
Use a stub rather than TYPE_CHECKING 2020-03-15 13:27:40 +05:30