linux toy 上说 

emacs 只有 undo ,没有 redo ……或者说它有 redo,但是相当的诡异,套用一句经典台词就是: 猥琐,非常的猥琐。

的确。。。emacs的redo的确是够猥琐的 一直没搞明白是怎么算的,好在有undo-tree.el这么个好东东

下载 https://raw.github.com/pylemon/emacs/master/lisps/undo-tree.el

在.emacs 中加入

;; undo-tree
(require 'undo-tree)
(global-undo-tree-mode)
(defadvice undo-tree-visualizer-mode (after undo-tree-face activate)
))

 

常用到使用方法:

 

C-x u 进入 undo-tree-visualizer-mode ,

p n   上下移动,

b f    在分支左右切换,

t 显示时间戳,选定需要的状态后,

q 退出。

相关文章:

  • 2021-10-21
  • 2021-12-11
  • 2022-03-10
  • 2021-11-06
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
相关资源
相似解决方案