mataki/emacsdotfile

语言: Emacs Lisp

git: https://github.com/mataki/emacsdotfile

我的emacs点文件
my emacs dot file
README.md (中文)

!目标环境Mac OS X 10.5 Carbon Emacs

!安装 !!!!得到点文件 $ git clone git://github.com/mataki/emacsdotfile.git $ cd emacsdotfile $ git submodule init $ git子模块更新 $ cd .emacs.d / rinari $ git submodule init $ git子模块更新

!!!!安装宝石

宝石安装rcodetools

!!!!将点文件设置为符号链接 $ ln -s /path/to/emacsdotfile/.emacs~ / .emacs $ ln -s /path/to/emacsdotfile/.emacs.d~ / .emacs.d

!!!!启动emacs 让我们开始Emacs

!!!!发动什么 推控制和“;”在同一时间。

!!!!搜索命令 同时按“d”和“f”,这样就可以在任何视图中查看命令列表。

! UPDATE $ cd / path / to / emacsdotfile 如果您的存储库中没有任何差异。 $ git pull

!!!!更新子模块 如果你的存储库在git子模块上有diff $ git status(在emacsdotfile目录中) 然后输出这个结果

修改了.emacs.d / org-mode   diff --git a / .emacs.d / org-mode b / .emacs.d / org-mode   index ef57d7b..d27d3e5 160000   --- a / .emacs.d / org-mode   +++ b / .emacs.d / org-mode   @@ -1 +1 @@   -Subproject commit ef57d7b90cd4aaf70d6943434f180fd577822702   +子项目提交d27d3e5fa6ba2de93e9cc9068cc481a22fb9d5ce

$ cd .emacs.d / org-mode $ git pull

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

!!! TARGET ENVIROMENT
Mac OS X 10.5
Carbon Emacs

!!! INSTALL
!!!! get dot file
$ git clone git://github.com/mataki/emacsdotfile.git
$ cd emacsdotfile
$ git submodule init
$ git submodule update
$ cd .emacs.d/rinari
$ git submodule init
$ git submodule update

!!!! install gems

gem install rcodetools

!!!! set dot file as symlink
$ ln -s /path/to/emacsdotfile/.emacs ~/.emacs
$ ln -s /path/to/emacsdotfile/.emacs.d ~/.emacs.d

!!!! start emacs
Let's start Emacs

!!!! lanch anything
push Control and ";" in same time.

!!!! search command
push "d" and "f" in same time, so you can view command list in anything view.

!!! UPDATE
$ cd /path/to/emacsdotfile
if you don't have any diff on your repository.
$ git pull

!!!! UPDATE Submodule
if your repository have diff on git submodule
$ git status (in emacsdotfile directory)
then output this result

Modified .emacs.d/org-mode
diff --git a/.emacs.d/org-mode b/.emacs.d/org-mode
index ef57d7b..d27d3e5 160000
--- a/.emacs.d/org-mode
+++ b/.emacs.d/org-mode
@@ -1 +1 @@
-Subproject commit ef57d7b90cd4aaf70d6943434f180fd577822702
+Subproject commit d27d3e5fa6ba2de93e9cc9068cc481a22fb9d5ce

$ cd .emacs.d/org-mode
$ git pull