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/739102e06df4fe5bca752d1163b954603912bc98 below:

Make editing same file in multiple vim instances seamless · sheerun/vim-polyglot@739102e · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+15

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+15

-0

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

@@ -8,6 +8,7 @@ if exists("did_load_polyglot")

8 8

finish

9 9

endif

10 10 11 + 11 12

let did_load_polyglot = 1

12 13 13 14

" Switch to compatible mode for the time being

@@ -3496,6 +3497,15 @@ if !has_key(s:disabled_packages, 'sensible')

3496 3497

" Reload unchanged files automatically.

3497 3498

set autoread

3498 3499 3500 +

" Disable swap, it doesn't play well with autoread

3501 +

set noswapfile

3502 + 3503 +

" Auto reload if file was changed somewhere else (for autoread)

3504 +

augroup polyglot-sensible

3505 +

au!

3506 +

au CursorHold * checktime

3507 +

augroup END

3508 + 3499 3509

" Enable highlighted case-insensitive incremential search.

3500 3510

set incsearch

3501 3511 Original file line number Diff line number Diff line change

@@ -62,6 +62,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -

62 62

set tabpagemax=50

63 63

endif

64 64 65 +

" Reduce updatetime from 4000 to 300 to avoid issues with coc.nvim

66 +

if &updatetime == 4000

67 +

set updatetime=300

68 +

endif

69 + 65 70

" Always save upper case variables to viminfo file.

66 71

if !empty(&viminfo)

67 72

set viminfo^=!

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