Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defhydra hydra-window-stuff (:hint nil)
- "
- Split: _v_ert _s_:horz
- Delete: _c_lose _o_nly
- Switch Window: _h_:left _j_:down _k_:up _l_:right
- Buffers: _p_revious _n_ext _b_:select _f_ind-file _F_projectile
- Winner: _u_ndo _r_edo
- Resize: _H_:splitter left _J_:splitter down _K_:splitter up _L_:splitter right
- Move: _a_:up _z_:down _i_menu"
- ("z" scroll-up-line)
- ("a" scroll-down-line)
- ("i" idomenu)
- ("u" winner-undo)
- ("r" winner-redo)
- ("h" windmove-left)
- ("j" windmove-down)
- ("k" windmove-up)
- ("l" windmove-right)
- ("p" previous-buffer)
- ("n" next-buffer)
- ("b" ido-switch-buffer)
- ("f" ido-find-file)
- ("F" projectile-find-file)
- ("s" split-window-below)
- ("v" split-window-right)
- ("c" delete-window)
- ("o" delete-other-windows)
- ("H" hydra-move-splitter-left)
- ("J" hydra-move-splitter-down)
- ("K" hydra-move-splitter-up)
- ("L" hydra-move-splitter-right)
- ("q" nil))
- (global-set-key (kbd "C-S-c C-S-c") 'mc/edit-lines)
- (global-set-key (kbd "C->") 'mc/mark-next-like-this)
- (global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
- (global-set-key (kbd "C-c C-<") 'mc/mark-all-like-this)
- (defhydra cqql-multiple-cursors-hydra (:hint nil)
- "
- ^Up^ ^Down^ ^Miscellaneous^
- ----------------------------------------------
- [_p_] Next [_n_] Next [_l_] Edit lines
- [_P_] Skip [_N_] Skip [_a_] Mark all
- [_M-p_] Unmark [_M-n_] Unmark [_q_] Quit"
- ("l" mc/edit-lines :exit t)
- ("a" mc/mark-all-like-this :exit t)
- ("n" mc/mark-next-like-this)
- ("N" mc/skip-to-next-like-this)
- ("M-n" mc/unmark-next-like-this)
- ("p" mc/mark-previous-like-this)
- ("P" mc/skip-to-previous-like-this)
- ("M-p" mc/unmark-previous-like-this)
- ("q" nil))
- (defhydra hydra-org (:color red :hint nil)
- "
- Navigation^
- ---------------------------------------------------------
- _j_ next heading
- _k_ prev heading
- _h_ next heading (same level)
- _l_ prev heading (same level)
- _u_p higher heading
- _g_o to
- "
- ("j" outline-next-visible-heading)
- ("k" outline-previous-visible-heading)
- ("h" org-forward-heading-same-level)
- ("l" org-backward-heading-same-level)
- ("u" outline-up-heading)
- ("g" org-goto :exit t))
- (defhydra hydra-help (:exit t)
- ;; Better to exit after any command because otherwise helm gets in a
- ;; mess, set hint to nil: written out manually.
- "
- Describe ^^Keys ^^Search ^^Documentation
- ---------------------------------------------------------------------------------------
- _f_unction _k_eybinding _a_propros _i_nfo
- _p_ackage _w_here-is _d_oc strings _n_: man
- _m_ode _b_: show all bindings _s_: info by symbol _h_elm-dash
- _v_ariable
- "
- ;; Boring help commands...
- ("e" view-echo-area-messages "messages")
- ("l" view-lossage "lossage")
- ("C" describe-coding-system "coding-system")
- ("I" describe-input-method "input-method")
- ;; Documentation
- ("i" info nil)
- ("n" helm-man-woman nil)
- ("h" helm-dash)
- ;; Keybinds
- ("b" describe-bindings nil)
- ("c" describe-key-briefly nil)
- ("k" describe-key nil)
- ("w" where-is nil)
- ;; Search
- ("a" apropos-command nil)
- ("d" apropos-documentation nil)
- ("s" info-lookup-symbol nil)
- ;; Describe
- ("f" describe-function nil)
- ("p" describe-package nil)
- ("m" describe-mode nil)
- ("v" describe-variable nil)
- ("y" describe-syntax nil)
- ;; quit
- ("q" help-quit "quit"))
- (global-set-key (kbd "<f1>") #'hydra-help/body)
- (defhydra goto (:color blue :hint nil)
- "
- Goto:
- ^Char^ ^Word^ ^org^ ^search^
- ^^^^^^^^---------------------------------------------------------------------------
- _c_: 2 chars _w_: word by char _h_: headline in buffer _o_: helm-occur
- _C_: char _W_: some word _a_: heading in agenda _p_: helm-swiper
- _L_: char in line _s_: subword by char _q_: swoop org buffers _f_: search forward
- ^ ^ _S_: some subword ^ ^ _b_: search backward
- -----------------------------------------------------------------------------------
- _B_: helm-buffers _l_: avy-goto-line
- _m_: helm-mini _i_: ace-window
- _R_: helm-recentf
- _n_: Navigate _._: mark position _/_: jump to mark
- "
- ("c" avy-goto-char-2)
- ("C" avy-goto-char)
- ("L" avy-goto-char-in-line)
- ("w" avy-goto-word-1)
- ;; jump to beginning of some word
- ("W" avy-goto-word-0)
- ;; jump to subword starting with a char
- ("s" avy-goto-subword-1)
- ;; jump to some subword
- ("S" avy-goto-subword-0)
- ("l" avy-goto-line)
- ("i" ace-window)
- ("h" helm-org-headlines)
- ("a" helm-org-agenda-files-headings)
- ("q" helm-multi-swoop-org)
- ("o" helm-occur)
- ("p" swiper-helm)
- ("f" isearch-forward)
- ("b" isearch-backward)
- ("." org-mark-ring-push :color red)
- ("/" org-mark-ring-goto :color blue)
- ("B" helm-buffers-list)
- ("m" helm-mini)
- ("R" helm-recentf)
- ("n" hydra-navigate/body))
- (global-set-key (kbd "s-g") 'goto/body)
Advertisement
Add Comment
Please, Sign In to add comment