emacs elpa安装orgmode

emacs elpa安装orgmode

官方网站:

环境:
CentOS7.2
emcase24.3.1


1.emacs 添加orgmode源
cat ~/.emacs.d/init.el

;; -*- emacs-lisp -*-

(package-initialize)                ;; Initialize & Install Package

(unless package-archive-contents    ;; Refresh the packages descriptions

    (package-refresh-contents))

(setq package-load-list '(all))     ;; List of packages to load

(unless (package-installed-p 'org)  ;; Make sure the Org package is

    (package-install 'org))           ;; installed, install it if not

(package-initialize)                ;; Initialize & Install Package

;; (setq org-...)                   ;; Your custom settings

(require 'package)

(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)


2.安装orgmode
M-x list-packages 回车后会列出可用的包

h #帮助
n,p #上,下
i,d #标记为待安装,待删除
x #执行安装删除动作
空格 #翻页


File Edit Options Buffers Tools Package Help                                                        

  Package            Version     Status [v] Description                                            

  vlf                1.7          available  View Large Files

  w3                 4.0.49       available  Fully customizable, largely undocumented web browser f$

  wcheck-mode        2016.1.30    available  General interface for text checkers

  wconf              0.2.0        available  Minimal window layout manager

  web-server         0.1.1        available  Emacs Web Server

  websocket          1.6          available  Emacs WebSocket client and server

  windresize         0.1          available  Resize windows interactively

  wisi               1.1.4        available  Utilities for implementing an indentation/navigation e$

  wpuzzle            1.1          available  find as many word in a given time

  xclip              1.3          available  use xclip to copy&paste

  xelb               0.12         available  X protocol Emacs Lisp Binding

  xpm                1.0.4        available  edit XPM images

  yasnippet          0.11.0       available  Yet another snippet extension for Emacs.

I ztree              1.0.5        available  Text mode directory tree

  nlinum             1.6          installed  Show line numbers in the margin

D org                20170210     installed  Outline-based notes management and organizer

  python             0.25.2       installed  Python's flying circus support for Emacs

  5x5                             built-in   simple little puzzle game

  ada-mode                        built-in   major-mode for editing Ada sources

  add-log                         built-in   change log maintenance commands for Emacs

  align                           built-in   align text to a specific column, by regexp

  allout             2.3          built-in   extensive outline mode for use alone and with other mo$

  allout-widgets     1.0          built-in   Visually highlight allout outline structure.

  ange-ftp                        built-in   transparent FTP support for GNU Emacs

  animate                         built-in   make text dance

  ansi-color         3.4.2        built-in   translate ANSI escape sequences into faces

-UUU:%*--F1 *Packages*     26% L164   (Package Menu) ----------------------------------------------



3.激活orgmode
安装好后,默认的几个热键绑定

(global-set-key "\C-cl" 'org-store-link)

(global-set-key "\C-ca" 'org-agenda)

(global-set-key "\C-cc" 'org-capture)

(global-set-key "\C-cb" 'org-iswitchb)

(add-hook 'org-mode-hook 'turn-on-font-lock)

转载于:https://www.cnblogs.com/lixuebin/p/10813982.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值