From d002540b6c3a6235787484a779c311c6733752c9 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 23 Jun 2014 19:34:00 -0700 Subject: [PATCH] Stop enabling shiftround; it breaks indent/outdent The shiftround setting breaks many common cases of multi-line indent and outdent for continuation lines. For example, suppose I have the following code, in a buffer with 8-space indentation: foo(x, y) With the default settings, I can > those two lines, and end up with this: foo(x, y); But with shiftround, I instead end up with: foo(x, y); Thus, revert to the vim default of noshiftround. --- plugin/sensible.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 32f117f..4b87094 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -23,7 +23,6 @@ set complete-=i set smarttab set nrformats-=octal -set shiftround set ttimeout set ttimeoutlen=100