タグ

undoに関するnsyeeのブックマーク (6)

  • Announcing Unco - undo changes to files made by any command

    Being sick of myself occasionally wiping off the changes made to files by running wrong commands, I have started writing a program called "Unco" (pronunciation: an-ko) - a command that records the changes to the file system, and let the users undo the changes afterwards if necessary. Unlike existing command-level solutions like aliasing rm to trash-cli, Unco is designed to be capable of undoing ch

  • undo-tree.el の導入 - とりあえず暇だったし何となくはじめたブログ

    今更ながら、一時期 gnu-emacs-sources で話題になっていた undo-tree.el を導入してみました。 undo の履歴を木構造としてもって、それを辿る事ができる elisp です。かなり便利です。 ダウンロード git リポジトリから undo-tree.el を取得します。 git clone http://www.dr-qubit.org/git/undo-tree.git undo-treeundo-tree.el が取得できるだけなので、時間は全然かかりません。 設定 undo-tree.el を load-path の通った場所に置き、以下の設定をするだけで完了です。 (require 'undo-tree) (global-undo-tree-mode) 使う 普通に undo (C-/ や C-_) をして、C-g を押した後に undo をして red

    undo-tree.el の導入 - とりあえず暇だったし何となくはじめたブログ
  • Emacsのundoとredoを使いやすくする:Linuxとは日記

    Emacsには1つ前のテキスト編集をやり直すundo(アンドゥ)という機能があります。WindowsなどではCtrl + zで実行できるあれです。 デフォルトでは、C-_とC-/、そしてC-x uにundoが割り当てられています。2つ分取り消したい場合は、C-_を2回実行するといったように、戻りたい分だけundoコマンドを実行します。 デフォルトのEmacsでは、undoの取消を行うredoができないので、undoをし過ぎた状況になってしまうと非常に困難な状況になってしまいます。 そこで、undoをさらに使いやすくするEmacsプラグインundo-treeを導入します。undo-treeは、新しいバッファに枝のような形の図を表示することによって、簡単にundo、redoができるプラグインです。 通常のundo-treeでも充分に便利なのですが、枝が描画されたバッファとウィンドウがそのまま表

    Emacsのundoとredoを使いやすくする:Linuxとは日記
  • redo in Emacs

    Emacs超入門[1]:Emacsの基的な使い方とショートカットキー - SourceForge.JP Magazine こういう記事っていつまで経っても読めると嬉しい。大歓迎。続きが楽しみです。 Emacs は学習曲線がなかなか落ち着かないエディタだと思う。かなり基的な編集機能においても、使っている日々に新しい発見があったりする。Emacs Lisp を読んだり書いたり、様々なモードを使いはじめたりしたら、それこそもう天井が見える気がしない。初めて UNIX で Emacs に触れてから #x10 年くらいを経てもなお、です。ま、学習の方法が間違っていた可能性は否定しないけど。 Editors - The Random Musings of Maulkin この曲線はネタですけど、他のエディタはともかく、Emacs については特徴を良くあらわしてるなぁと思う。 最近気づいて、調べてみ

    redo in Emacs
  • [Home] Undo Tree | Emacs Wiki

    AboutEmacs’s undo system allows you to recover any past state of a buffer. To do this, Emacs treats “undo” itself as just another editing action that can be undone. This can be confusing and difficult to use. If you make an edit while undoing multiple changes, you “break the undo chain”. To get back to where you were, you have to undo all the undos you just did, then undo all the changes you’d alr

  • EmacsWiki: Redo Mode

    Emacs treats ‘undo’ as just another command. Therefore you can undo the undo. This is powerful and confusing, because if you are doing several undos and miss the “correct spot”, and do anything at all which is not an undo command, you will be stuck: You broke the chain of undos. When you realize your mistake and try to undo some more, you will first undo your previous undos, then undo the dos, and

  • 1