A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sheerun/vim-polyglot/commit/f52f6b9519f51faeeeae123a852a7bacc82089d5 below:

Allow to override incsearch, #603 · sheerun/vim-polyglot@f52f6b9 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+18

-13

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+18

-13

lines changed Original file line number Diff line number Diff line change

@@ -3491,6 +3491,21 @@ if exists("did_load_filetypes") && exists("g:polyglot_disabled")

3491 3491

runtime! extras/filetype.vim

3492 3492

endif

3493 3493 3494 + 3495 +

if !has_key(s:disabled_packages, 'sensible')

3496 +

" Reload unchanged files automatically.

3497 +

set autoread

3498 + 3499 +

" Enable highlighted case-insensitive incremential search.

3500 +

set incsearch

3501 + 3502 +

" Use utf-8 encoding by default

3503 +

set encoding=utf-8

3504 + 3505 +

" Autoindent when starting new line, or using `o` or `O`.

3506 +

set autoindent

3507 +

endif

3508 + 3494 3509

" Restore 'cpoptions'

3495 3510

let &cpo = s:cpo_save

3496 3511

unlet s:cpo_save

Original file line number Diff line number Diff line change

@@ -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

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4