feat: Use ace-window for jumping between windows

This commit is contained in:
Vincent Ambo 2017-11-15 18:56:23 +01:00
parent b7a5dd0c1b
commit eb67c739b2
4 changed files with 8 additions and 1 deletions

View file

@ -22,6 +22,7 @@
;; editor packages
ace-jump-mode
ace-window
ag
browse-kill-ring
cargo

View file

@ -16,6 +16,9 @@
(global-set-key (kbd "M-j") 'ace-jump-word-mode)
(global-set-key (kbd "M-p") 'ace-jump-mode-pop-mark)
(global-set-key (kbd "C-x o") ; Yes, I went there!
'ace-window)
;; Window switching. (C-x o goes to the next window)
(windmove-default-keybindings) ;; Shift+direction

View file

@ -18,7 +18,7 @@
'(ns-right-command-modifier (quote meta))
'(package-selected-packages
(quote
(exwm which-key pandoc elnode fish-mode nix-mode yaml-mode undo-tree terraform-mode switch-window smart-mode-line rust-mode rainbow-mode rainbow-delimiters puppet-mode pkgbuild-mode password-store paredit multi-term multiple-cursors markdown-mode+ magit iy-go-to-char idle-highlight-mode hi2 helm haskell-mode gruber-darker-theme go-mode flycheck erlang dockerfile-mode confluence browse-kill-ring ag ace-jump-mode)))
(ace-window exwm which-key pandoc elnode fish-mode nix-mode yaml-mode undo-tree terraform-mode switch-window smart-mode-line rust-mode rainbow-mode rainbow-delimiters puppet-mode pkgbuild-mode password-store paredit multi-term multiple-cursors markdown-mode+ magit iy-go-to-char idle-highlight-mode hi2 helm haskell-mode gruber-darker-theme go-mode flycheck erlang dockerfile-mode confluence browse-kill-ring ag ace-jump-mode)))
'(require-final-newline (quote visit-save)))
(custom-set-faces
;; custom-set-faces was added by Custom.

View file

@ -58,4 +58,7 @@
;; Show available key chord completions
(which-key-mode t)
;; Show previews of ace-window numbers in the mode line for each window.
(ace-window-display-mode)
(provide 'modes)