File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ " 'set exrc' in ~/.vimrc will read .vimrc from the current directory
2
+ " Warning: Enabling exrc is dangerous! You can do nearly everything from a
3
+ " vimrc configuration file, including write operations and shell execution.
4
+ " You should consider setting 'set secure' as well, which is highly
5
+ " recommended!
6
+
7
+ " Note that we set a line width of 109 for .c and XML files, but for everything
8
+ " else (such as journal catalog files, unit files, README files) we stick to a
9
+ " more conservative 79 characters.
10
+
11
+ " NOTE: If you update this file make sure to update .dir-locals.el and
12
+ " .editorconfig, too.
13
+
14
+ set tabstop = 8
15
+ set shiftwidth = 8
16
+ set expandtab
17
+ set makeprg = GCC_COLORS= \ make
18
+ set tw = 79
19
+ au BufRead ,BufNewFile *.xml set tw = 109 shiftwidth = 2 smarttab
20
+ au FileType sh set tw = 109 shiftwidth = 4 smarttab
21
+ au FileType c set tw = 109 shiftwidth = 8
You can’t perform that action at this time.
0 commit comments