Update programming hydra with some more aligned layout
This commit is contained in:
parent
e81308b2ce
commit
d01b5194d2
2 changed files with 15 additions and 10 deletions
1
01mac.el
1
01mac.el
|
|
@ -16,7 +16,6 @@
|
||||||
(global-set-key (kbd "C-c \\") 'split-window-right) ;; Split window to the right
|
(global-set-key (kbd "C-c \\") 'split-window-right) ;; Split window to the right
|
||||||
(global-set-key (kbd "C-c /") 'split-window-below) ;; Split window to the bottom
|
(global-set-key (kbd "C-c /") 'split-window-below) ;; Split window to the bottom
|
||||||
|
|
||||||
|
|
||||||
;; Move between windows key bindings
|
;; Move between windows key bindings
|
||||||
(global-set-key (kbd "C-c <left>") 'windmove-left)
|
(global-set-key (kbd "C-c <left>") 'windmove-left)
|
||||||
(global-set-key (kbd "C-c <right>") 'windmove-right)
|
(global-set-key (kbd "C-c <right>") 'windmove-right)
|
||||||
|
|
|
||||||
14
03hydra.el
14
03hydra.el
|
|
@ -26,21 +26,27 @@ _t_: Find file _g_: ag in current project
|
||||||
"
|
"
|
||||||
Programming actions
|
Programming actions
|
||||||
|
|
||||||
^Windows^ ^Code Manipulation^
|
^Windows^ ^Code Manipulation^ ^Code Completion^
|
||||||
^^^^^^^^-----------------------------------------------------------------------
|
^^^^^^^^-----------------------------------------------------------------------
|
||||||
_k_: kill buffer and window _c_: comment line
|
_k_: kill buffer and window _c_: comment line _y_: yasnippet
|
||||||
_sh_: split horizontally _r_: regex replace
|
_sh_: split horizontally _r_: regex replace _m_: company
|
||||||
_sv_: split vertically _i_: indent region
|
_sv_: split vertically _i_: indent region
|
||||||
^^ _a_: align regexp
|
^^ _a_: align regexp
|
||||||
|
^^ _e_: eval region
|
||||||
"
|
"
|
||||||
("q" nil "cancel" :color pink)
|
("q" nil "cancel" :color pink)
|
||||||
|
|
||||||
("k" kill-buffer-and-window)
|
("k" kill-buffer-and-window)
|
||||||
("sh" split-window-below)
|
("sh" split-window-below)
|
||||||
("sv" split-window-right)
|
("sv" split-window-right)
|
||||||
|
|
||||||
("c" comment-line)
|
("c" comment-line)
|
||||||
("r" vr/replace)
|
("r" vr/replace)
|
||||||
("i" indent-region)
|
("i" indent-region)
|
||||||
("a" align-regexp))
|
("a" align-regexp)
|
||||||
|
("e" eval-region)
|
||||||
|
|
||||||
|
("y" company-yasnippet)
|
||||||
|
("m" company-complete))
|
||||||
|
|
||||||
(define-key prog-mode-map (kbd "C-c c") 'hydra-programming-actions/body)
|
(define-key prog-mode-map (kbd "C-c c") 'hydra-programming-actions/body)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue