Update programming hydra with some more aligned layout

This commit is contained in:
Maciej 2018-09-11 19:41:39 +03:00
parent e81308b2ce
commit d01b5194d2
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
2 changed files with 15 additions and 10 deletions

View file

@ -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-below) ;; Split window to the bottom
;; Move between windows key bindings
(global-set-key (kbd "C-c <left>") 'windmove-left)
(global-set-key (kbd "C-c <right>") 'windmove-right)

View file

@ -26,21 +26,27 @@ _t_: Find file _g_: ag in current project
"
Programming actions
^Windows^ ^Code Manipulation^
^Windows^ ^Code Manipulation^ ^Code Completion^
^^^^^^^^-----------------------------------------------------------------------
_k_: kill buffer and window _c_: comment line
_sh_: split horizontally _r_: regex replace
_k_: kill buffer and window _c_: comment line _y_: yasnippet
_sh_: split horizontally _r_: regex replace _m_: company
_sv_: split vertically _i_: indent region
^^ _a_: align regexp
^^ _a_: align regexp
^^ _e_: eval region
"
("q" nil "cancel" :color pink)
("k" kill-buffer-and-window)
("k" kill-buffer-and-window)
("sh" split-window-below)
("sv" split-window-right)
("c" comment-line)
("r" vr/replace)
("i" indent-region)
("a" align-regexp))
("c" comment-line)
("r" vr/replace)
("i" indent-region)
("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)