diff --git a/chapter2_installation.md b/chapter2_installation.md
index 4005bc2..bc1610a 100644
--- a/chapter2_installation.md
+++ b/chapter2_installation.md
@@ -449,6 +449,35 @@ System is shutting down with exit code -1.
 
 如果能看到以上输出,riscv-pke的代码获取(和验证)就已经完成,可以开始实验了。
 
+#### 添加编辑器配置文件
+
+PKE实验涉及到了多种编程语言,每种的缩进方式都不尽相同,建议使用各大编辑器通用的editorconfig来配置。可以在PKE目录下添加一个名为`.editorconfig`的文件,内容为:
+
+```editorconfig
+; https://editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+
+[*.{c,h}]
+indent_size = 2
+
+[*.S]
+indent_size = 4
+
+[*.ld]
+indent_size = 2
+
+[Makefile]
+indent_style = tab
+indent_size = 8
+```
+
 <a name="pke_experiemnts"></a>
 
 ## 2.3 PKE实验的组成