@@ -18,11 +18,10 @@ endif
18
18
"
19
19
" Only settings that matter for proper editing are left
20
20
if ! exists (' g:polyglot_disabled' ) || index (g: polyglot_disabled , ' sensible' ) == -1
21
- " Autoindent when starting new line, or using `o` or `O`.
22
- set autoindent
23
-
24
21
" Allow backspace in insert mode.
25
- set backspace = indent ,eol ,start
22
+ if &backspace == " "
23
+ set backspace = indent ,eol ,start
24
+ endif
26
25
27
26
" Allow for mappings including `Esc`, while preserving
28
27
" zero timeout after pressing it manually.
@@ -32,12 +31,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -
32
31
set ttimeoutlen = 100
33
32
endif
34
33
35
- " Enable highlighted case-insensitive incremential search.
36
- set incsearch
37
-
38
- " Use utf-8 encoding by default
39
- set encoding = utf- 8
40
-
41
34
" Set default whitespace characters when using `:set list`
42
35
if &listchars == # ' eol:$'
43
36
set listchars = tab :>\ ,trail: - ,extends: >,precedes: <,nbsp:+
@@ -59,9 +52,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -
59
52
set shell = /usr/ bin /env\ bash
60
53
endif
61
54
62
- " Reload unchanged files automatically.
63
- set autoread
64
-
65
55
" Increase history size to 1000 items.
66
56
if &history < 1000
67
57
set history = 1000
0 commit comments