1 Star 1 Fork 0

小灰笔记/speed_emacs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

speed emacs

After I got used to emacs , I found all the popular emacs configurations work slow on Windows. Yet Windows is my main work platform, so I want to find a set of useful packages which is still fast on Windows.

How to install

  • 1. backup your .emacs.d
  • 2. git clone https://github.com/GreyZhang/speed_emacs ~/.emacs.d
  • 3. run you emacs and wait for installation compelete.

Package list:

emacs

  • This is not a package, but emacs itself. I add this beacause there are still some configuration just for pure emacs.
  • Better support for Chinese word format.
  • explicitly set the prefered coding systems to avoid annoying prompt from emacs (especially on Microsoft Windows).

dired-mode

F5 -> the hot key for dired-jump

Add revert function to dired-mode hook so the files displayed in dired buffer can be refreshed automatically.

evil

  • This package is just make emacs act as vim.
  • key bindings

C-u -> ued for vim scroll up.

C-] -> jump to tag at point.

C-o -> jump backword.

smex

  • Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a convenient interface to your recently and most frequently used commands. And to all the other commands, too.
  • Refer to: smex
  • key bindings

M-x -> run smex

amx

Amx can provide same functions like smex, yet it is a package which is still alive.

Amx or smex should be installed because it can be the engine of counsel-M-x.

  • Refer to: Amx

recentf mode

  • Use “SPC fr” hot key to invoke recent opend files.
  • After recent opened files list is opened, n/p can be used to navigate the list.

evil-leader

  • This package support some function like the leader key in Vim.
  • Refer to: evil-leader
  • Key bindings(input leader-key first, SPC is my leader-key)
  • ff -> find file
  • fj -> dired-jump
  • fr -> recent opened files
  • <SPC> -> sounsel-M-x ;; this can be used to replace M-x which is just like spacemacs.
  • pf -> find file in project
  • jj -> evil-avy-goto-char
  • jJ -> evil-avy-goto-char-2
  • pg -> jump to tag defination.
  • ca -> search files with ag.
  • ss -> swiper ;; same as sapcemacs
  • xdw -> delete-trailing-whitespace
  • cl -> toggle function for comment-line

for windows navigation

  • 1 ‘winum-select-window-1
  • 2 ‘winum-select-window-2
  • 3 ‘winum-select-window-3
  • 4 ‘winum-select-window-4
  • 5 ‘winum-select-window-5
  • 6 ‘winum-select-window-6
  • 7 ‘winum-select-window-7
  • 8 ‘winum-select-window-8
  • 9 ‘winum-select-window-9

for org-mode

  • oit -> insert org-mode structure template
  • oas -> org-archive-subtree
  • ods ‘org-download-screenshot
  • orf ‘org-roam-node-file
  • ori ‘org-roam-node-insert
  • oru ‘org-roam-ui-mode

AutoPairs

Use electric-pair-mode which already supported by emacs 24.4+.

which-key

  • This package can give us some indication for key bindings.
  • Refer to: which-key

company

A good package which can help us auto complete anything.

find-file-in-project

Project files management which can be used to replace some functions in projectile.

counsel

This package is the base of counsel-etags, also provide some more enhancement. The new function for M-x is used counsel-M-x of this package instead.

counsel-etags

Create tags and navigation management.

org-pomodoro

A package used for Tomato working method (tomato clock time management)

key bouding

F2 for a org-clock to start.

org-mode

org-startup-truncated is set as nil by default.

hungry-delete

A package used to delet a whitespace character will delete all whitespace until the next non-whitespace character.

This function is enabled by default, can be disabled by comment out g-hungry-delete in g-config.el.

irony/company-irony/company-irony-c-headers

Use these packages to enhance c language development experience.

Refer to:

irony-mode

company-irony

company-c-headers

org-download

This package can help us to write a document includes pictures inserted with org-mode more prodcutively.

key boundings

F8 for org-download-clipboard

Refer to : org-download

空文件

简介

我自己的emacs配置 展开 收起
Emacs Lisp
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/greyzhang/speed_emacs.git
git@gitee.com:greyzhang/speed_emacs.git
greyzhang
speed_emacs
speed_emacs
master

搜索帮助

D1d26d21 1850385 D1bef801 1850385