Remove undo-tree.
This commit is contained in:
parent
558bb8f33c
commit
fb2876c397
@ -231,36 +231,23 @@
|
||||
(telephone-line-mode t)
|
||||
)
|
||||
|
||||
;; Control más "natural" a la hora de hacer/deshacer.
|
||||
(use-package undo-tree
|
||||
:init
|
||||
(global-undo-tree-mode 1)
|
||||
:config
|
||||
(global-set-key (kbd "C-z") 'undo-tree-undo)
|
||||
(global-set-key (kbd "C-y") 'undo-tree-redo)
|
||||
)
|
||||
|
||||
;; Hacer uso de Emacs con las ventajas de vim.
|
||||
(use-package evil
|
||||
:defer t
|
||||
:init
|
||||
(evil-mode 1)
|
||||
:config
|
||||
(setq evil-want-integration t)
|
||||
(setq evil-want-keybinding nil)
|
||||
(setq evil-want-C-u-scroll t)
|
||||
(setq evil-want-C-i-jump nil)
|
||||
(setq evil-want-fine-undo t)
|
||||
(setq evil-respect-visual-line-mode t)
|
||||
(setq evil-undo-system 'undo-tree)
|
||||
(setq evil-undo-system 'undo-redo)
|
||||
(setq evil-toggle-key "C-'") ; Cambiar toggle-key cambiar entre evil states y emacs.
|
||||
;; (setq evil-default-state 'emacs) ; Modo por defecto en emacs mode
|
||||
:config
|
||||
(define-key evil-normal-state-map (kbd "g b") 'evil-jump-backward)
|
||||
;; Hacer que funcione C-v en modo insert y replace
|
||||
;;(evil-global-set-key 'insert (kbd "C-v") 'cua-paste)
|
||||
;;(evil-global-set-key 'replace (kbd "C-v") 'cua-paste)
|
||||
;; Cortar es C-x 2 veces en modo insert y replace
|
||||
;;(evil-global-set-key 'insert (kbd "C-x C-x") 'cua-cut-region)
|
||||
;;(evil-global-set-key 'replace (kbd "C-x C-x") 'cua-cut-region)
|
||||
|
||||
;; Seleccionar todo con C-a en insert mode
|
||||
(evil-global-set-key 'insert (kbd "C-a") 'mark-whole-buffer)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user