adding window resize keybinds
This commit is contained in:
parent
01bffe0db5
commit
e562febb34
2 changed files with 37 additions and 8 deletions
17
README.org
17
README.org
|
@ -354,7 +354,8 @@ There are two major packages we need to get the functionality I desire. Evil and
|
||||||
hscroll-margin 2
|
hscroll-margin 2
|
||||||
scroll-margin 0
|
scroll-margin 0
|
||||||
scroll-preserve-screen-position t
|
scroll-preserve-screen-position t
|
||||||
hscroll-step 1)
|
hscroll-step 1
|
||||||
|
evil-vsplit-window-right t)
|
||||||
:config
|
:config
|
||||||
(evil-mode +1))
|
(evil-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -405,6 +406,7 @@ This evil-collection package includes a lot of other evil based things.
|
||||||
"hF" '(describe-face :which-key "describe-face")
|
"hF" '(describe-face :which-key "describe-face")
|
||||||
"hb" '(general-describe-keybindings :which-key "describe-bindings")
|
"hb" '(general-describe-keybindings :which-key "describe-bindings")
|
||||||
"hi" '(info :which-key "info manual")
|
"hi" '(info :which-key "info manual")
|
||||||
|
"ht" '(which-key-show-top-level :which-key "show top-level keybindings")
|
||||||
"ss" '(consult-line :which-key "consult search")
|
"ss" '(consult-line :which-key "consult search")
|
||||||
"sr" '(consult-ripgrep :which-key "consult ripgrep")
|
"sr" '(consult-ripgrep :which-key "consult ripgrep")
|
||||||
"wo" '(other-window :which-key "other window")
|
"wo" '(other-window :which-key "other window")
|
||||||
|
@ -421,7 +423,9 @@ This evil-collection package includes a lot of other evil based things.
|
||||||
"C-v" 'evil-paste-after)
|
"C-v" 'evil-paste-after)
|
||||||
(general-def 'normal
|
(general-def 'normal
|
||||||
"gcc" 'comment-line
|
"gcc" 'comment-line
|
||||||
"K" 'helpful-at-point)
|
"K" 'helpful-at-point
|
||||||
|
"C-S-l" 'evil-window-increase-width
|
||||||
|
"C-S-h" 'evil-window-decrease-width)
|
||||||
(general-def 'normal Info-mode-map
|
(general-def 'normal Info-mode-map
|
||||||
"RET" 'Info-follow-nearest-node
|
"RET" 'Info-follow-nearest-node
|
||||||
"p" 'Info-prev
|
"p" 'Info-prev
|
||||||
|
@ -1008,7 +1012,8 @@ I'm going to use projectile to keep my projects inline.
|
||||||
"op" 'projectile-switch-open-project
|
"op" 'projectile-switch-open-project
|
||||||
"gc" 'projectile-compile-project
|
"gc" 'projectile-compile-project
|
||||||
"gr" 'projectile-run-project
|
"gr" 'projectile-run-project
|
||||||
"fp" 'project-find-file))
|
"fp" 'project-find-file
|
||||||
|
"fP" 'project-switch-project))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** HTTPD
|
** HTTPD
|
||||||
|
@ -1409,7 +1414,7 @@ Let's try using dirvish as a kind of ranger
|
||||||
"quit a fullscreen dirvish if it's open, else do a normal kill buffer"
|
"quit a fullscreen dirvish if it's open, else do a normal kill buffer"
|
||||||
(interactive)
|
(interactive)
|
||||||
(if (dirvish-dired-p)
|
(if (dirvish-dired-p)
|
||||||
(kill-this-buffer)
|
(dirvish-quit-h)
|
||||||
(with-current-buffer
|
(with-current-buffer
|
||||||
(current-buffer)
|
(current-buffer)
|
||||||
(dirvish-toggle-fullscreen))
|
(dirvish-toggle-fullscreen))
|
||||||
|
@ -1418,7 +1423,7 @@ Let's try using dirvish as a kind of ranger
|
||||||
(kill-this-buffer))))
|
(kill-this-buffer))))
|
||||||
:general
|
:general
|
||||||
(chris/leader-keys 'normal 'override
|
(chris/leader-keys 'normal 'override
|
||||||
"od" 'dirvish :which-key "open dirvish here")
|
"od" 'dirvish-dired :which-key "open dirvish here")
|
||||||
('normal 'dirvish-mode-map
|
('normal 'dirvish-mode-map
|
||||||
"gf" 'dirvish-toggle-fullscreen
|
"gf" 'dirvish-toggle-fullscreen
|
||||||
"RET" 'dirvish-find-file
|
"RET" 'dirvish-find-file
|
||||||
|
@ -1428,6 +1433,7 @@ Let's try using dirvish as a kind of ranger
|
||||||
"?" 'dirvish-top-level-menu
|
"?" 'dirvish-top-level-menu
|
||||||
"a" 'dirvish-file-info-menu
|
"a" 'dirvish-file-info-menu
|
||||||
"A" 'dirvish-mark-actions-menu
|
"A" 'dirvish-mark-actions-menu
|
||||||
|
"M" 'dirvish-marking-menu
|
||||||
"q" 'chris/dirvish-quit))
|
"q" 'chris/dirvish-quit))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -2648,6 +2654,7 @@ Matrix.el is a decent enough matrix client built in emacs. Like it.
|
||||||
"q" 'bury-buffer
|
"q" 'bury-buffer
|
||||||
"RET" 'ement-room-send-message
|
"RET" 'ement-room-send-message
|
||||||
"r" 'ement-room-send-reply
|
"r" 'ement-room-send-reply
|
||||||
|
"gr" 'ement-room-sync
|
||||||
"R" 'ement-room-send-reaction)
|
"R" 'ement-room-send-reaction)
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
"oM" 'ement-list-rooms))
|
"oM" 'ement-list-rooms))
|
||||||
|
|
28
init.el
28
init.el
|
@ -192,7 +192,8 @@
|
||||||
hscroll-margin 2
|
hscroll-margin 2
|
||||||
scroll-margin 0
|
scroll-margin 0
|
||||||
scroll-preserve-screen-position t
|
scroll-preserve-screen-position t
|
||||||
hscroll-step 1)
|
hscroll-step 1
|
||||||
|
evil-vsplit-window-right t)
|
||||||
:config
|
:config
|
||||||
(evil-mode +1))
|
(evil-mode +1))
|
||||||
|
|
||||||
|
@ -238,6 +239,7 @@
|
||||||
"hF" '(describe-face :which-key "describe-face")
|
"hF" '(describe-face :which-key "describe-face")
|
||||||
"hb" '(general-describe-keybindings :which-key "describe-bindings")
|
"hb" '(general-describe-keybindings :which-key "describe-bindings")
|
||||||
"hi" '(info :which-key "info manual")
|
"hi" '(info :which-key "info manual")
|
||||||
|
"ht" '(which-key-show-top-level :which-key "show top-level keybindings")
|
||||||
"ss" '(consult-line :which-key "consult search")
|
"ss" '(consult-line :which-key "consult search")
|
||||||
"sr" '(consult-ripgrep :which-key "consult ripgrep")
|
"sr" '(consult-ripgrep :which-key "consult ripgrep")
|
||||||
"wo" '(other-window :which-key "other window")
|
"wo" '(other-window :which-key "other window")
|
||||||
|
@ -254,7 +256,9 @@
|
||||||
"C-v" 'evil-paste-after)
|
"C-v" 'evil-paste-after)
|
||||||
(general-def 'normal
|
(general-def 'normal
|
||||||
"gcc" 'comment-line
|
"gcc" 'comment-line
|
||||||
"K" 'helpful-at-point)
|
"K" 'helpful-at-point
|
||||||
|
"C-S-l" 'evil-window-increase-width
|
||||||
|
"C-S-h" 'evil-window-decrease-width)
|
||||||
(general-def 'normal Info-mode-map
|
(general-def 'normal Info-mode-map
|
||||||
"RET" 'Info-follow-nearest-node
|
"RET" 'Info-follow-nearest-node
|
||||||
"p" 'Info-prev
|
"p" 'Info-prev
|
||||||
|
@ -611,7 +615,8 @@ targets."
|
||||||
"op" 'projectile-switch-open-project
|
"op" 'projectile-switch-open-project
|
||||||
"gc" 'projectile-compile-project
|
"gc" 'projectile-compile-project
|
||||||
"gr" 'projectile-run-project
|
"gr" 'projectile-run-project
|
||||||
"fp" 'project-find-file))
|
"fp" 'project-find-file
|
||||||
|
"fP" 'project-switch-project))
|
||||||
|
|
||||||
(use-package simple-httpd
|
(use-package simple-httpd
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
@ -1943,6 +1948,7 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
"q" 'bury-buffer
|
"q" 'bury-buffer
|
||||||
"RET" 'ement-room-send-message
|
"RET" 'ement-room-send-message
|
||||||
"r" 'ement-room-send-reply
|
"r" 'ement-room-send-reply
|
||||||
|
"gr" 'ement-room-sync
|
||||||
"R" 'ement-room-send-reaction)
|
"R" 'ement-room-send-reaction)
|
||||||
(chris/leader-keys
|
(chris/leader-keys
|
||||||
"oM" 'ement-list-rooms))
|
"oM" 'ement-list-rooms))
|
||||||
|
@ -1987,3 +1993,19 @@ interfere with the default `bongo-playlist-buffer'."
|
||||||
gcmh-verbose nil))
|
gcmh-verbose nil))
|
||||||
|
|
||||||
(setq warning-suppress-types '((comp)))
|
(setq warning-suppress-types '((comp)))
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(pdf-misc-print-program "/usr/bin/lpr" t)
|
||||||
|
'(pdf-misc-print-program-args '("-o media=Letter" "-o fitplot") t)
|
||||||
|
'(safe-local-variable-values
|
||||||
|
'((projectile-project-run-cmd . "./build/bin/presenter")
|
||||||
|
(projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make --dir build/"))))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue