summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-05 02:10:18 +0000
committerjao <jao@gnu.org>2021-03-05 02:10:18 +0000
commit6171826508978d59ae39491b892a927aa414495e (patch)
treee890a69a48589bf3cfcda2e68f28e46781ae8219 /init.org
parent8d226e04e8381506149765d71dbe008516e6568b (diff)
downloadelibs-6171826508978d59ae39491b892a927aa414495e.tar.gz
elibs-6171826508978d59ae39491b892a927aa414495e.tar.bz2
a few keybinding adjustments
Diffstat (limited to 'init.org')
-rw-r--r--init.org47
1 files changed, 12 insertions, 35 deletions
diff --git a/init.org b/init.org
index 0276752..e1b3347 100644
--- a/init.org
+++ b/init.org
@@ -1271,27 +1271,6 @@
("M-O" . ace-swap-window)
("C-x p" . ace-window)))
#+end_src
-*** Switch window
- An alternative for this one is ace-window, but it has the problem
- of not displaying its overlay over org buffers (sometimes) and
- introducing a dependency (avy).
- #+begin_src emacs-lisp :load no
- (use-package switch-window
- :ensure t
- :demand t
- :custom ((switch-window-minibuffer-shortcut ?z)
- (switch-window-background t)
- (switch-window-shortcut-style 'qwerty)
- (switch-window-timeout 7)
- (switch-window-threshold 3))
- :bind (("M-o" . switch-window)
- ("M-O" . switch-window-then-swap-buffer)
- ("H-s-o" . switch-window)
- ("H-s-O" . switch-window-then-swap-buffer)
- ("C-x 4 d" . switch-window-then-dired)
- ("C-x 4 f" . switch-window-then-find-file)
- ("C-x 4 b" . switch-window-then-display-buffer)))
- #+end_src
*** first window and transient other window
#+begin_src emacs-lisp
@@ -3860,20 +3839,18 @@
;; (signel-start))
(jao-circe p))
- (global-set-key
- (kbd "s-c")
- (pretty-hydra-define jao-hydra-chats (global-map "s-c" :color blue :quit-key "q")
- ("Connect"
- (("A" (jao-chats t) "all chats -y")
- ("a" jao-chats "all chats")
- ("S" slack-start "slack")
- ("C" (jao-circe t) "circe -y")
- ("s-c" jao-hydra-chats/body nil))
- "Go"
- (("c" (jao-buffer-same-mode 'circe-channel-mode) "circe buffer")
- ("s" (jao-buffer-same-mode 'slack-message-buffer-mode) "slack buffer")
- ("t" (jao-buffer-same-mode 'telega-chat-mode) "telega buffer")
- ("T" telega "telega rooster")))))
+ (pretty-hydra-define jao-hydra-chats (global-map "s-q" :color blue :quit-key "q")
+ ("Connect"
+ (("A" (jao-chats t) "all chats -y")
+ ("a" jao-chats "all chats")
+ ("S" slack-start "slack")
+ ("C" (jao-circe t) "circe -y")
+ ("s-q" jao-hydra-chats/body nil))
+ "Go"
+ (("c" (jao-buffer-same-mode 'circe-channel-mode) "circe buffer")
+ ("s" (jao-buffer-same-mode 'slack-message-buffer-mode) "slack buffer")
+ ("t" (jao-buffer-same-mode 'telega-chat-mode) "telega buffer")
+ ("T" telega "telega rooster"))))
#+end_src
* Multimedia