diff --git a/01mac.el b/01mac.el index e4ba818..748863d 100644 --- a/01mac.el +++ b/01mac.el @@ -30,8 +30,8 @@ (global-set-key (kbd "C-c ") 'windmove-down) ;; Switch to previous and next buffer -(global-set-key (kbd "C-c w ") 'previous-buffer) -(global-set-key (kbd "C-c w ") 'next-buffer) +(global-set-key (kbd "C-c s ") 'previous-buffer) +(global-set-key (kbd "C-c s ") 'next-buffer) ;; Kill current buffer and window (global-set-key (kbd "C-c q") 'kill-buffer-and-window) diff --git a/03hydra.el b/03hydra.el index 8cf50df..5426266 100644 --- a/03hydra.el +++ b/03hydra.el @@ -57,6 +57,8 @@ _k_: kill buffer and window __: Move left _h_: split horizontally __: Move right _v_: split vertically __: Move up ^^ __: Move down +^^ _p_: Previous buffer +^^ _n_: Next buffer " ("q" nil "cancel" :color pink) @@ -67,6 +69,8 @@ _v_: split vertically __: Move up ("" windmove-left) ("" windmove-right) ("" windmove-up) - ("" windmove-down)) + ("" windmove-down) + ("p" previous-buffer) + ("n" next-buffer)) (global-set-key (kbd "C-c w") 'hydra-window-actions/body)