   (if (region-active-p)
       (call-interactively #'kill-region)
     (backward-kill-word arg)))
-(global-set-key (kbd "C-w") #'t/kill-word-backward-or-region)
-
+
+;; useful augments of default binds
+(global-set-key (kbd "M-SPC") #'cycle-spacing)
+(global-set-key (kbd "M-c") #'capitalize-dwim)
+(global-set-key (kbd "M-u") #'upcase-dwim)
+(global-set-key (kbd "M-l") #'downcase-dwim)
+(global-set-key (kbd "C-w") #'t/kill-word-backward-or-region) ; kill word backward
+;; built-in, unused commands
+(global-set-key (kbd "C-z") #'zap-up-to-char)
+(global-set-key (kbd "C-x C-b") #'ibuffer) ; list buffers
+(global-set-key (kbd "C-c h v") #'set-variable) ; set variable
 ;; Toggles
 (global-set-key (kbd "C-c t l") #'display-line-numbers-mode)
 (global-set-key (kbd "C-c t m") #'toggle-frame-maximized)
 (global-set-key (kbd "C-c t f") #'toggle-frame-fullscreen)
 (global-set-key (kbd "C-c t v") #'visual-line-mode)
-
+(global-set-key (kbd "C-c t w") #'window-toggle-side-windows)
 ;; Applications
 (global-set-key (kbd "C-c o c") #'calendar)
+
+;;;;; Text navigation and search
+
+;; isearch alternative across frame
+(use-package avy
+  :straight t
+  :bind
+  (("M-j" . #'avy-goto-char-timer)
+   :map isearch-mode-map
+   ("M-j" . #'avy-isearch)))
+
+;;;; Buffers --- Related to the display, navigation, or management of buffers and windows
 
 ;; set rules for displaying buffers
 (setq display-buffer-alist

        mac-command-modifier 'control
        mac-control-modifier 'super))

;; shortcut access to C-x binds
;; Super bindings are intended for quick, often-used global commands.
;; Prioritize adding smart commands that do thinking for me.
(global-set-key (kbd "s-1") #'delete-other-windows)
(global-set-key (kbd "s-2") #'split-window-below)
(global-set-key (kbd "s-3") #'split-window-right)
(global-set-key (kbd "s-4") ctl-x-4-map)
(global-set-key (kbd "s-5") ctl-x-5-map)
(global-set-key (kbd "s-0") #'delete-window)
(global-set-key (kbd "s-o") #'other-window)
(global-set-key (kbd "s-u") #'revert-buffer)
(global-set-key (kbd "s-g") #'keyboard-quit)

;; useful augments of default binds
(global-set-key (kbd "M-SPC") #'cycle-spacing)
(global-set-key (kbd "M-c") #'capitalize-dwim)
(global-set-key (kbd "M-u") #'upcase-dwim)
(global-set-key (kbd "M-l") #'downcase-dwim)

;; replaces unnecessary suspend command
(global-set-key (kbd "C-z") #'zap-up-to-char)

;; ibuffer for listing buffers
(global-set-key (kbd "C-x C-b") #'ibuffer)

;; Set Emacs variables interactively
(global-set-key (kbd "C-c h v") #'set-variable)

;; Edit emacs directory
(defun t/edit-emacs-dir ()

      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))

;; Macro for organized package configuration
(setq use-package-enable-imenu-support t)
(straight-use-package 'use-package)

