From 0aecbd42cc19b1eeb54070e75498ccb665ee755c Mon Sep 17 00:00:00 2001 From: Madeleine Sydney Date: Thu, 16 Jan 2025 12:17:11 -0700 Subject: [PATCH] feat: Add more window bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Diff is simple — go check it. }:) --- users/crumb/programs/emacs/modules/syd-keybinds.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/users/crumb/programs/emacs/modules/syd-keybinds.el b/users/crumb/programs/emacs/modules/syd-keybinds.el index 6ee7346..536e823 100644 --- a/users/crumb/programs/emacs/modules/syd-keybinds.el +++ b/users/crumb/programs/emacs/modules/syd-keybinds.el @@ -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