(require 'winner)
(winner-mode 1)
+(run-with-idle-timer 0.1 nil #'require 'windmove)
+(with-eval-after-load 'windmove
+ (csetq windmove-wrap-around t)
+ (global-set-key (kbd "M-H") #'windmove-left)
+ (global-set-key (kbd "M-L") #'windmove-right)
+ (global-set-key (kbd "M-K") #'windmove-up)
+ (global-set-key (kbd "M-J") #'windmove-down))
+
(with-eval-after-load 'compile
;; don't display *compilation* buffer on success. based on
;; https://stackoverflow.com/a/17788551, with changes to use `cl-letf'