qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qemu: add .exrc


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH] qemu: add .exrc
Date: Thu, 19 Jul 2012 17:29:49 +0300

I've been using this to get correct indenting with vim
in qemu for a while, but it's a bit easier if we
put the settings in the central place.
Note that
1. you still need to enable 'exrc' and 'secure'
   options in your vimrc for these settings to take effect.
2. you can create a .vimrc file if 'exrc' is on but there's
   need to bypass this configuration.

Signed-off-by: Michael S. Tsirkin <address@hidden>
---
 .exrc | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 .exrc

diff --git a/.exrc b/.exrc
new file mode 100644
index 0000000..1853616
--- /dev/null
+++ b/.exrc
@@ -0,0 +1,3 @@
+set expandtab
+set shiftwidth=4
+set smarttab
-- 
MST



reply via email to

[Prev in Thread] Current Thread [Next in Thread]