Coder Social home page Coder Social logo

lujianmei / .emacs.d Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.81 MB

My own emacs configuration files, modified version from magnar. Do not use anymore.

Emacs Lisp 90.17% Clojure 0.01% Gherkin 1.70% Shell 0.08% Ruby 0.08% JavaScript 2.97% Perl 0.05% Smarty 0.01% Makefile 0.12% HTML 1.08% CSS 0.04% Groff 1.85% C 0.01% Self 0.01% TeX 1.83% R 0.01%

.emacs.d's Introduction

My emacs settings

An ever-changing set of emacs settings.

Setup

To grab all the dependencies:

git clone --recursive git://github.com/lujianmei/.emacs.d.git

The first time you start emacs, it will install some additional packages that are best handled by the package manager.

Shot key gathering

CAPTION: 快捷键收集

| 分类 | 快捷键 | 说明 | |-----------------+----------------+--------------------------------------------------------------------------------| | org-mode | C-RET | 加入同级别索引 | | | M-RET | 加入同级别的列表 | | | C-c C-t | 设置TODO标签 | | | C-c . | 设置时间 | | | S-left/S-right | 在日历中选择时间 | | | M-n/M-p | 设置任务的优先级 | | | C-c C-s | 设置任务开始时间 | | | C-c C-d | 设置任务结束时间 | | | M-left/M-right | 修改任务等级 | | | C-c - | 更换列表标记(循环) | | | M-S-RET | 新增一个子项 | | | M-up/M-down | 调整此任务节点的顺序 | |-----------------+----------------+--------------------------------------------------------------------------------| | Tables | C-c - | 在下面添加水平线 | | | C-c RET | 添加水平线并跳转到下一行 | | | C-m | 在本列下面添加一行 | | | M-S-Right | 在本列后面添加一列 | | | M-S-Down | 在本行上面添加一行 | | | M-S-Left | 删除本列 | | | M-S-UP | 删除本行 | | | M-left/right | 移动列 | | | M-Up/Down | 移动行 | |-----------------+----------------+--------------------------------------------------------------------------------| | Emacs-edit | C-c d | 复制当前行 | | | C-c c | 注释/取消注释 | | | M-RET | 下面新建一行并自动缩进 | | | C-o | 新建一行并自动缩进,但光标不变化 | | | C-S-down | 往下移动行 | | | M-% | 查找替换, y替换,n不替换,q退出,!替换后面所有 | | | C-k | 删除光标后面的内容,html模式中可直接删除整个tag集 | | | C-S-k | 不管光标在哪,删除此行且光标移动到缩进首 | | | | | | | C-h | 删除已经选择的内容,删除内容 | | | C-c h | 全选 | | | C-S-i | 缩进已经选择的或当前行 | | | C-S n/p/b/f | 一次性移动5格 | | | C-c b | 切换Buffer | | | C-s | 往后搜索 | | | C-r | 往前搜索 | | | C-e | 去到行尾 | | | | | | | C-a | 返回到行首 | | | M-i | 返回到本行的缩进位置 | | | C-l | 调整当前光标所在行为屏幕最上面或中间或最下面 | | | C-; | 当前系统剪贴版 | | | C-> | 向下选择多个光标 | | | C-< | 向上选择多个光标 | | | M-> | 跳转到页面最后 | | | M-u | 大写转换 | | | M-q | 对长的行进行自动折行处理 | | | M-< | 跳转到文件最头 | | | M-n/p | 跳转块,跳转到下一个空行; | | | C-S 鼠标点击 | 通过鼠标点击选择多个光标 | | | | | |-----------------+----------------+--------------------------------------------------------------------------------| | Emacs operation | C-x r q | 快速退出emacs | | | C-x C-c | 退出emacs标准版 | | | C-c C-s | 保存当前文件 | | | | | | | | | | | | | |-----------------+----------------+--------------------------------------------------------------------------------| | Smart selection | C-' | 智能选择区域,适用于如csc, js, html等代码模式,org模式则为打开另一个org模式文件 | | | | | |-----------------+----------------+--------------------------------------------------------------------------------| | HTML-edit | M-up/down | Tags成对移动 | |-----------------+----------------+--------------------------------------------------------------------------------| | Shell | C-z | 打开shell-mode | | | | | | | | | | | | | | | | |

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.