SpaceEmacs Rock Day3 学习笔记

<?xml version="1.0" encoding="utf-8"?> SpaceEmacs Rock Day3 学习笔记

SpaceEmacs Rock Day3 学习笔记

1 Spaceemacs Emacs Day3

1.1 auto move the help window(popwin)

(require 'popwin)
(popwin-mode t)

1.2 Split your configuration into multiple files

  1. load-file, load-path and load
  2. feature, provide and require, autoload
  3. naming conventions
    • all of names should have a prefix, such that the naming conflicts could be minimal.
  4. define your abbrevs, alias of long string
(abbrev-mode)
(define-abbrev-table 'global-abbrev-table '(
                                            ;; signature
                                            ("8dk" "devinkin")
                                            ;; emacs regex
                                            ))
  1. how to origanie your configs
    • init-package.el
    • init-ui.el
    • init-better-default.el
    • init-keybindings.el
    • custom.el
(setq custom-file (expand-file-name "lisp/custom.el" user-emacs-directory))
  1. use `conunsel-git` to find file in git managed project.
(global-set-key (kbd "C-c p f") 'counsel-git)

1.3 Major mode and minjor in details

  1. Major mode
    • text-mode:edit text files
    • special-mode:edit special files
    • prog-mode:edit programming files
  2. mode key map and mode key

Date: 2018-10-23 16:50

Author: devinkin

Created: 2018-10-23 二 16:50

Validate

转载于:https://www.cnblogs.com/devinkin/p/9837627.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值