Browse Source

qemu: add .exrc

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>
tags/v1.3.0-rc0
Michael S. Tsirkin 7 years ago
parent
commit
692e587fc6
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      .exrc

+ 7
- 0
.exrc View File

@@ -0,0 +1,7 @@
1
+"VIM settings to match QEMU coding style.  They are activated by adding the
2
+"following settings (without the " symbol) as last two lines in $HOME/.vimrc:
3
+"set secure
4
+"set exrc
5
+set expandtab
6
+set shiftwidth=4
7
+set smarttab

Loading…
Cancel
Save