Posts with the tag emacs:
emacs在org模式画图 org模式画简单的图,可以用ditaa这种工具,小巧够用,可以满足大部分的需求。 配合emacs的picture-mode和artis-mode,可以实现文本画大部分的图。生成
ditaa ditaa 是 DIagrams Through Ascii Art,作者是 Stathis Sideris。是一 种基于java的类似plantuml但是更轻量级的绘图工具。ditaa使用符号| - + / > < V ^符号渲染不同的字符画出来,在文本格式下,字符画本身方便存储
git blame 排查问题的时候,为了查找是谁改得某个文件或者某一行,可以用git blame这 个命令,用法最常用的就是 git blame <filename> git blame -L start,end <filename> 或者 git blame myfile.py git blame -L 5,20 myfile.py //查看5-20行的修改历史 git blame -L 5,+20 myfile.py //表示查看5行及后面
my .config ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. ;; C-x C-+会增加字体大小 ;; C-+ 或 C-- 会增加/缩小字体大小 ;; C-x C-0会恢复字体大小 ;;================org======================== ;;-------------------org----------------- ;; #+ATTR_ORG: :width 100 ~ ;; #+ATTR_HTML: :width 100 ~ ;; C-c C-q 为
这篇文章记录平时使用emacs的一些技巧和插件,基本的操作可以参考emacs自带 的教程TUTORIAL。emacs 自带的教程有英文版和繁体中文版,在emacs 中按下 Ctrl-h t 或者F1 t即可打开自带的此文档 基