-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cameron Motevasselani
committed
Feb 23, 2024
1 parent
94ea57d
commit 5441e86
Showing
2 changed files
with
2,456 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
|
||
|
||
|
||
# Remaps | ||
macos_option_as_alt yes | ||
map cmd+enter toggle_fullscreen | ||
map cmd+shift+enter toggle_layout stack | ||
|
||
######################## | ||
##### Cursor movement | ||
######################## | ||
map alt+f send_text all \x1b\x66 | ||
map alt+b send_text all \x1b\x62 | ||
|
||
|
||
######################## | ||
##### Windows - Splits layout | ||
##### from https://sw.kovidgoyal.net/kitty/layouts/#the-splits-layout | ||
######################## | ||
|
||
enabled_layouts splits:split_axis=horizontal, stack | ||
|
||
map cmd+minus no_op | ||
map cmd+minus launch --location=hsplit | ||
map cmd+0x2a launch --location=vsplit | ||
|
||
# Move the active window in the indicated direction | ||
map shift+up move_window up | ||
map shift+left move_window left | ||
map shift+right move_window right | ||
map shift+down move_window down | ||
|
||
# Move the active window to the indicated screen edge | ||
map ctrl+shift+up layout_action move_to_screen_edge top | ||
map ctrl+shift+left layout_action move_to_screen_edge left | ||
map ctrl+shift+right layout_action move_to_screen_edge right | ||
map ctrl+shift+down layout_action move_to_screen_edge bottom | ||
|
||
# Switch focus to the neighboring window in the indicated direction | ||
map cmd+h neighboring_window left | ||
map cmd+l neighboring_window right | ||
map cmd+k neighboring_window up | ||
map cmd+j neighboring_window down | ||
|
||
######################## | ||
###### Resizing Windows | ||
###### from https://sw.kovidgoyal.net/kitty/layouts/#window-resizing | ||
######################## | ||
|
||
map cmd+shift+h resize_window narrower | ||
map cmd+shift+l resize_window wider | ||
map cmd+shift+j resize_window shorter | ||
map cmd+shift+k resize_window taller |
Oops, something went wrong.