mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 03:33:03 +03:00
feat(emacs): winner-mode
This commit is contained in:
parent
fd5f3eb3ea
commit
42276738df
2 changed files with 4 additions and 8 deletions
|
|
@ -652,11 +652,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
#+end_src
|
||||
*** Winner mode
|
||||
#+begin_src emacs-lisp
|
||||
;; (general-define-key
|
||||
;; :maps 'evil-window-map
|
||||
;; "u" 'winner-undo
|
||||
;; "U" 'winner-redo)
|
||||
(winner-mode 1)
|
||||
(define-key evil-window-map (kbd "u") 'winner-undo)
|
||||
(define-key evil-window-map (kbd "U") 'winner-redo)
|
||||
#+end_src
|
||||
** Editorconfig
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
|||
|
|
@ -495,11 +495,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
(setq-default tab-width 4)
|
||||
(setq-default evil-shift-round nil)
|
||||
|
||||
;; (general-define-key
|
||||
;; :maps 'evil-window-map
|
||||
;; "u" 'winner-undo
|
||||
;; "U" 'winner-redo)
|
||||
(winner-mode 1)
|
||||
(define-key evil-window-map (kbd "u") 'winner-undo)
|
||||
(define-key evil-window-map (kbd "U") 'winner-redo)
|
||||
|
||||
(use-package editorconfig
|
||||
:straight t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue