qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu: add .exrc
@ 2012-07-19 14:29 Michael S. Tsirkin
  2012-07-19 15:11 ` Peter Maydell
  0 siblings, 1 reply; 7+ messages in thread
From: Michael S. Tsirkin @ 2012-07-19 14:29 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori; +Cc: Michael S. Tsirkin

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 <mst@redhat.com>
---
 .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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-20 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 14:29 [Qemu-devel] [PATCH] qemu: add .exrc Michael S. Tsirkin
2012-07-19 15:11 ` Peter Maydell
2012-07-19 15:24   ` Michael S. Tsirkin
2012-07-20 10:26     ` Stefan Hajnoczi
2012-07-20 10:34       ` Peter Maydell
2012-07-20 10:37         ` 陳韋任 (Wei-Ren Chen)
2012-07-20 11:02         ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).