feat: Add more window bindings

Diff is simple — go check it. }:)
This commit is contained in:
Madeleine Sydney
2025-01-16 12:17:11 -07:00
parent c61c939f6c
commit 0aecbd42cc

View File

@@ -83,8 +83,8 @@ are active.")
"D" `("Delete file" . ,#'syd/delete-this-file)
"R" `("Move file" . ,#'syd/move-this-file)
"C" `("Copy file" . ,#'syd/copy-this-file)
"F" `("Find file under current" . ,#'syd/find-file-under-here)
"p" `("Find under Emacs config" . ,#'syd/find-file-under-emacs-user-directory)
;; "F" `("Find file under current" . ,#'syd/find-file-under-here)
;; "p" `("Find under Emacs config" . ,#'syd/find-file-under-emacs-user-directory)
"P" `("Browse Emacs config" . ,#'syd/find-file-in-emacs-user-directory)
"u" `("Find file as root" . ,#'syd/find-file-as-root)
"U" `("Open this file as root" . ,#'syd/open-this-file-as-root)
@@ -107,6 +107,13 @@ are active.")
"L" `("Swap window right" . ,#'syd/window-swap-right)
"T" `("Tear off window" . ,#'tear-off-window)
"=" `("Balance windows" . ,#'balance-windows)
"v" `("Vertical split" . ,#'evil-window-vsplit)
"s" `("Horizontal split" . ,#'evil-window-split)
"F" `("Fit window to contents" . ,#'fit-window-to-buffer)
"r" `("Rotate window downwards" . ,#'evil-window-rotate-downwards)
"R" `("Rotate window upwards" . ,#'evil-window-rotate-upwards)
"u" `("Undo window change" . ,#'winner-undo)
"C-r" `("Redo window change" . ,#'winner-redo)
"m" `("Maximise" . ,syd-leader-window-maximise-map))
;;; Leader