731 lines
28 KiB
VimL
731 lines
28 KiB
VimL
let SessionLoad = 1
|
|||
|
|
if &cp | set nocp | endif
|
||
|
|
let s:cpo_save=&cpo
|
||
|
|
set cpo&vim
|
||
|
|
inoremap <silent> <Plug>(table-mode-tableize) |:call tablemode#TableizeInsertMode()
|
||
|
|
a
|
||
|
|
inoremap <silent> <expr> <PageUp> coc#pum#visible() ? coc#pum#scroll(0) : "\<PageUp>"
|
||
|
|
inoremap <silent> <expr> <PageDown> coc#pum#visible() ? coc#pum#scroll(1) : "\<PageDown>"
|
||
|
|
inoremap <silent> <expr> <C-Y> coc#pum#visible() ? coc#pum#confirm() : coc#inline#visible() ? coc#inline#accept() :"\"
|
||
|
|
inoremap <silent> <expr> <C-E> coc#pum#visible() ? coc#pum#cancel() : coc#inline#visible() ? coc#inline#cancel() : "\"
|
||
|
|
inoremap <silent> <expr> <Up> coc#pum#visible() ? coc#pum#prev(0) : coc#inline#visible() ? coc#inline#prev() :"\<Up>"
|
||
|
|
inoremap <silent> <expr> <Down> coc#pum#visible() ? coc#pum#next(0) : coc#inline#visible() ? coc#inline#next() :"\<Down>"
|
||
|
|
inoremap <silent> <expr> <C-P> coc#pum#visible() ? coc#pum#prev(1) : coc#inline#visible() ? coc#inline#prev() : "\"
|
||
|
|
inoremap <silent> <expr> <C-N> coc#pum#visible() ? coc#pum#next(1) : coc#inline#visible() ? coc#inline#next() : "\"
|
||
|
|
nnoremap :NERDTreeFind
|
||
|
|
snoremap <silent> c
|
||
|
|
nnoremap :NERDTree
|
||
|
|
nmap <Plug>(ctrlp)
|
||
|
|
snoremap "_c
|
||
|
|
nnoremap :NERDTreeToggle
|
||
|
|
xmap \T <Plug>(table-mode-tableize-delimiter)
|
||
|
|
xmap \tt <Plug>(table-mode-tableize)
|
||
|
|
nmap \tt <Plug>(table-mode-tableize)
|
||
|
|
nnoremap <silent> \tm :call tablemode#Toggle()
|
||
|
|
nnoremap \4 :call SN("4")
|
||
|
|
nnoremap \3 :call SN("3")
|
||
|
|
nnoremap \2 :call SN("2")
|
||
|
|
nnoremap \1 :call SN("1")
|
||
|
|
nmap \rn <Plug>(coc-rename)
|
||
|
|
xmap gx <Plug>NetrwBrowseXVis
|
||
|
|
nmap gx <Plug>NetrwBrowseX
|
||
|
|
snoremap <silent> <BS> c
|
||
|
|
snoremap <silent> <Del> c
|
||
|
|
snoremap <silent> <C-H> c
|
||
|
|
snoremap <C-R> "_c
|
||
|
|
nnoremap <silent> <Plug>GitGutterPreviewHunk :call gitgutter#utility#warn('Please change your map <Plug>GitGutterPreviewHunk to <Plug>(GitGutterPreviewHunk)')
|
||
|
|
nnoremap <silent> <Plug>(GitGutterPreviewHunk) :GitGutterPreviewHunk
|
||
|
|
nnoremap <silent> <Plug>GitGutterUndoHunk :call gitgutter#utility#warn('Please change your map <Plug>GitGutterUndoHunk to <Plug>(GitGutterUndoHunk)')
|
||
|
|
nnoremap <silent> <Plug>(GitGutterUndoHunk) :GitGutterUndoHunk
|
||
|
|
nnoremap <silent> <Plug>GitGutterStageHunk :call gitgutter#utility#warn('Please change your map <Plug>GitGutterStageHunk to <Plug>(GitGutterStageHunk)')
|
||
|
|
nnoremap <silent> <Plug>(GitGutterStageHunk) :GitGutterStageHunk
|
||
|
|
xnoremap <silent> <Plug>GitGutterStageHunk :call gitgutter#utility#warn('Please change your map <Plug>GitGutterStageHunk to <Plug>(GitGutterStageHunk)')
|
||
|
|
xnoremap <silent> <Plug>(GitGutterStageHunk) :GitGutterStageHunk
|
||
|
|
nnoremap <silent> <expr> <Plug>GitGutterPrevHunk &diff ? '[c' : ":\call gitgutter#utility#warn('Please change your map \<Plug>GitGutterPrevHunk to \<Plug>(GitGutterPrevHunk)')\
|
||
|
|
"
|
||
|
|
nnoremap <silent> <expr> <Plug>(GitGutterPrevHunk) &diff ? '[c' : ":\execute v:count1 . 'GitGutterPrevHunk'\
|
||
|
|
"
|
||
|
|
nnoremap <silent> <expr> <Plug>GitGutterNextHunk &diff ? ']c' : ":\call gitgutter#utility#warn('Please change your map \<Plug>GitGutterNextHunk to \<Plug>(GitGutterNextHunk)')\
|
||
|
|
"
|
||
|
|
nnoremap <silent> <expr> <Plug>(GitGutterNextHunk) &diff ? ']c' : ":\execute v:count1 . 'GitGutterNextHunk'\
|
||
|
|
"
|
||
|
|
xnoremap <silent> <Plug>(GitGutterTextObjectOuterVisual) :call gitgutter#hunk#text_object(0)
|
||
|
|
xnoremap <silent> <Plug>(GitGutterTextObjectInnerVisual) :call gitgutter#hunk#text_object(1)
|
||
|
|
onoremap <silent> <Plug>(GitGutterTextObjectOuterPending) :call gitgutter#hunk#text_object(0)
|
||
|
|
onoremap <silent> <Plug>(GitGutterTextObjectInnerPending) :call gitgutter#hunk#text_object(1)
|
||
|
|
xnoremap <silent> <Plug>NetrwBrowseXVis :call netrw#BrowseXVis()
|
||
|
|
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))
|
||
|
|
nmap <C-P> <Plug>(ctrlp)
|
||
|
|
nnoremap <silent> <Plug>(ctrlp) :CtrlP
|
||
|
|
nnoremap <silent> <Plug>(table-mode-sort) :call tablemode#spreadsheet#Sort('')
|
||
|
|
nnoremap <silent> <Plug>(table-mode-echo-cell) :call tablemode#spreadsheet#EchoCell()
|
||
|
|
nnoremap <silent> <Plug>(table-mode-eval-formula) :call tablemode#spreadsheet#formula#EvaluateFormulaLine()
|
||
|
|
nnoremap <silent> <Plug>(table-mode-add-formula) :call tablemode#spreadsheet#formula#Add()
|
||
|
|
nnoremap <silent> <Plug>(table-mode-insert-column-after) :call tablemode#spreadsheet#InsertColumn(1)
|
||
|
|
nnoremap <silent> <Plug>(table-mode-insert-column-before) :call tablemode#spreadsheet#InsertColumn(0)
|
||
|
|
nnoremap <silent> <Plug>(table-mode-delete-column) :call tablemode#spreadsheet#DeleteColumn()
|
||
|
|
nnoremap <silent> <Plug>(table-mode-delete-row) :call tablemode#spreadsheet#DeleteRow()
|
||
|
|
xnoremap <silent> <Plug>(table-mode-cell-text-object-i) :call tablemode#spreadsheet#cell#TextObject(1)
|
||
|
|
xnoremap <silent> <Plug>(table-mode-cell-text-object-a) :call tablemode#spreadsheet#cell#TextObject(0)
|
||
|
|
onoremap <silent> <Plug>(table-mode-cell-text-object-i) :call tablemode#spreadsheet#cell#TextObject(1)
|
||
|
|
onoremap <silent> <Plug>(table-mode-cell-text-object-a) :call tablemode#spreadsheet#cell#TextObject(0)
|
||
|
|
nnoremap <silent> <Plug>(table-mode-motion-right) :call tablemode#spreadsheet#cell#Motion('l')
|
||
|
|
nnoremap <silent> <Plug>(table-mode-motion-left) :call tablemode#spreadsheet#cell#Motion('h')
|
||
|
|
nnoremap <silent> <Plug>(table-mode-motion-down) :call tablemode#spreadsheet#cell#Motion('j')
|
||
|
|
nnoremap <silent> <Plug>(table-mode-motion-up) :call tablemode#spreadsheet#cell#Motion('k')
|
||
|
|
nnoremap <silent> <Plug>(table-mode-realign) :call tablemode#table#Realign('.')
|
||
|
|
xnoremap <silent> <Plug>(table-mode-tableize-delimiter) :call tablemode#TableizeByDelimiter()
|
||
|
|
xnoremap <silent> <Plug>(table-mode-tableize) :Tableize
|
||
|
|
nnoremap <silent> <Plug>(table-mode-tableize) :Tableize
|
||
|
|
onoremap <silent> <Plug>(coc-classobj-a) :call CocAction('selectSymbolRange', v:false, '', ['Interface', 'Struct', 'Class'])
|
||
|
|
onoremap <silent> <Plug>(coc-classobj-i) :call CocAction('selectSymbolRange', v:true, '', ['Interface', 'Struct', 'Class'])
|
||
|
|
vnoremap <silent> <Plug>(coc-classobj-a) :call CocAction('selectSymbolRange', v:false, visualmode(), ['Interface', 'Struct', 'Class'])
|
||
|
|
vnoremap <silent> <Plug>(coc-classobj-i) :call CocAction('selectSymbolRange', v:true, visualmode(), ['Interface', 'Struct', 'Class'])
|
||
|
|
onoremap <silent> <Plug>(coc-funcobj-a) :call CocAction('selectSymbolRange', v:false, '', ['Method', 'Function'])
|
||
|
|
onoremap <silent> <Plug>(coc-funcobj-i) :call CocAction('selectSymbolRange', v:true, '', ['Method', 'Function'])
|
||
|
|
vnoremap <silent> <Plug>(coc-funcobj-a) :call CocAction('selectSymbolRange', v:false, visualmode(), ['Method', 'Function'])
|
||
|
|
vnoremap <silent> <Plug>(coc-funcobj-i) :call CocAction('selectSymbolRange', v:true, visualmode(), ['Method', 'Function'])
|
||
|
|
nnoremap <silent> <Plug>(coc-cursors-position) :call CocAction('cursorsSelect', bufnr('%'), 'position', 'n')
|
||
|
|
nnoremap <silent> <Plug>(coc-cursors-word) :call CocAction('cursorsSelect', bufnr('%'), 'word', 'n')
|
||
|
|
vnoremap <silent> <Plug>(coc-cursors-range) :call CocAction('cursorsSelect', bufnr('%'), 'range', visualmode())
|
||
|
|
nnoremap <silent> <Plug>(coc-refactor) :call CocActionAsync('refactor')
|
||
|
|
nnoremap <silent> <Plug>(coc-command-repeat) :call CocAction('repeatCommand')
|
||
|
|
nnoremap <silent> <Plug>(coc-float-jump) :call coc#float#jump()
|
||
|
|
nnoremap <silent> <Plug>(coc-float-hide) :call coc#float#close_all()
|
||
|
|
nnoremap <silent> <Plug>(coc-fix-current) :call CocActionAsync('doQuickfix')
|
||
|
|
nnoremap <silent> <Plug>(coc-openlink) :call CocActionAsync('openLink')
|
||
|
|
nnoremap <silent> <Plug>(coc-references-used) :call CocActionAsync('jumpUsed')
|
||
|
|
nnoremap <silent> <Plug>(coc-references) :call CocActionAsync('jumpReferences')
|
||
|
|
nnoremap <silent> <Plug>(coc-type-definition) :call CocActionAsync('jumpTypeDefinition')
|
||
|
|
nnoremap <silent> <Plug>(coc-implementation) :call CocActionAsync('jumpImplementation')
|
||
|
|
nnoremap <silent> <Plug>(coc-declaration) :call CocActionAsync('jumpDeclaration')
|
||
|
|
nnoremap <silent> <Plug>(coc-definition) :call CocActionAsync('jumpDefinition')
|
||
|
|
nnoremap <silent> <Plug>(coc-diagnostic-prev-error) :call CocActionAsync('diagnosticPrevious', 'error')
|
||
|
|
nnoremap <silent> <Plug>(coc-diagnostic-next-error) :call CocActionAsync('diagnosticNext', 'error')
|
||
|
|
nnoremap <silent> <Plug>(coc-diagnostic-prev) :call CocActionAsync('diagnosticPrevious')
|
||
|
|
nnoremap <silent> <Plug>(coc-diagnostic-next) :call CocActionAsync('diagnosticNext')
|
||
|
|
nnoremap <silent> <Plug>(coc-diagnostic-info) :call CocActionAsync('diagnosticInfo')
|
||
|
|
nnoremap <silent> <Plug>(coc-format) :call CocActionAsync('format')
|
||
|
|
nnoremap <silent> <Plug>(coc-rename) :call CocActionAsync('rename')
|
||
|
|
nnoremap <Plug>(coc-codeaction-source) :call CocActionAsync('codeAction', '', ['source'], v:true)
|
||
|
|
nnoremap <Plug>(coc-codeaction-refactor) :call CocActionAsync('codeAction', 'cursor', ['refactor'], v:true)
|
||
|
|
nnoremap <Plug>(coc-codeaction-cursor) :call CocActionAsync('codeAction', 'cursor')
|
||
|
|
nnoremap <Plug>(coc-codeaction-line) :call CocActionAsync('codeAction', 'currline')
|
||
|
|
nnoremap <Plug>(coc-codeaction) :call CocActionAsync('codeAction', '')
|
||
|
|
vnoremap <Plug>(coc-codeaction-refactor-selected) :call CocActionAsync('codeAction', visualmode(), ['refactor'], v:true)
|
||
|
|
vnoremap <silent> <Plug>(coc-codeaction-selected) :call CocActionAsync('codeAction', visualmode())
|
||
|
|
vnoremap <silent> <Plug>(coc-format-selected) :call CocActionAsync('formatSelected', visualmode())
|
||
|
|
nnoremap <Plug>(coc-codelens-action) :call CocActionAsync('codeLensAction')
|
||
|
|
nnoremap <Plug>(coc-range-select) :call CocActionAsync('rangeSelect', '', v:true)
|
||
|
|
vnoremap <silent> <Plug>(coc-range-select-backward) :call CocActionAsync('rangeSelect', visualmode(), v:false)
|
||
|
|
vnoremap <silent> <Plug>(coc-range-select) :call CocActionAsync('rangeSelect', visualmode(), v:true)
|
||
|
|
nnoremap <C-F> :NERDTreeFind
|
||
|
|
nnoremap <C-T> :NERDTreeToggle
|
||
|
|
nnoremap <C-N> :NERDTree
|
||
|
|
inoremap <silent> <expr> coc#pum#visible() ? coc#pum#cancel() : coc#inline#visible() ? coc#inline#cancel() : "\"
|
||
|
|
inoremap <nowait> <silent> <expr>
|
||
|
|
coc#pum#visible() ? coc#pum#confirm() : "\
|
||
|
|
"
|
||
|
|
inoremap <silent> <expr> coc#pum#visible() ? coc#pum#next(1) : coc#inline#visible() ? coc#inline#next() : "\"
|
||
|
|
inoremap <silent> <expr> coc#pum#visible() ? coc#pum#prev(1) : coc#inline#visible() ? coc#inline#prev() : "\"
|
||
|
|
inoremap <silent> <expr> coc#pum#visible() ? coc#pum#confirm() : coc#inline#visible() ? coc#inline#accept() :"\"
|
||
|
|
let &cpo=s:cpo_save
|
||
|
|
unlet s:cpo_save
|
||
|
|
set autoread
|
||
|
|
set background=dark
|
||
|
|
set backspace=indent,eol,start
|
||
|
|
set encoding=utf-8
|
||
|
|
set fileencodings=ucs-bom,utf-8,default,latin1
|
||
|
|
set nomodeline
|
||
|
|
set mouse=a
|
||
|
|
set printoptions=paper:a4
|
||
|
|
set ruler
|
||
|
|
set runtimepath=~/.vim,~/.vim/pack/airblade/start/vim-gitgutter,~/.vim/plugged/coc.nvim,~/.vim/plugged/emmet-vim,~/.vim/plugged/nerdtree,~/.vim/plugged/typescript-vim,~/.vim/plugged/vim-jsx-typescript,~/.vim/plugged/vim-table-mode,~/.vim/plugged/ctrlp.vim,/var/lib/vim/addons,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim90,/usr/share/vim/vimfiles/after,/etc/vim/after,/var/lib/vim/addons/after,~/.vim/plugged/vim-jsx-typescript/after,~/.vim/after
|
||
|
|
set shiftwidth=4
|
||
|
|
set smarttab
|
||
|
|
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.snap
|
||
|
|
set updatetime=500
|
||
|
|
set winminheight=0
|
||
|
|
set winminwidth=0
|
||
|
|
let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
|
||
|
|
let v:this_session=expand("<sfile>:p")
|
||
|
|
silent only
|
||
|
|
silent tabonly
|
||
|
|
cd ~/storage/VDMDI/Comms
|
||
|
|
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
||
|
|
let s:wipebuf = bufnr('%')
|
||
|
|
endif
|
||
|
|
if &shortmess =~ 'A'
|
||
|
|
set shortmess=aoOA
|
||
|
|
else
|
||
|
|
set shortmess=aoO
|
||
|
|
endif
|
||
|
|
badd +132 build/styles.css
|
||
|
|
badd +27 src/base.css
|
||
|
|
badd +16 package.json
|
||
|
|
badd +1 build/version.txt
|
||
|
|
badd +6 src/ViewModel/Global/coreViewModel.ts
|
||
|
|
badd +194 src/View/Modals/settingsModal.tsx
|
||
|
|
badd +8 dist/sw.js
|
||
|
|
badd +1 build/sw.js
|
||
|
|
badd +80 src/index.tsx
|
||
|
|
badd +25 src/react.ts
|
||
|
|
badd +175 src/Model/Utility/utility.ts
|
||
|
|
badd +683 src/View/translations.ts
|
||
|
|
badd +133 src/View/homePage.tsx
|
||
|
|
badd +18 build/index.html
|
||
|
|
badd +178 src/Model/Global/storageModel.ts
|
||
|
|
badd +25 src/Model/Global/settingsModel.ts
|
||
|
|
badd +14 src/ViewModel/Global/storageViewModel.ts
|
||
|
|
badd +1 src/View/Components/replyLink.tsx
|
||
|
|
badd +22 src/View/Components/usageBar.tsx
|
||
|
|
badd +1 src/View/Components/messageReactionButtonRow.tsx
|
||
|
|
badd +1 src/View/Components/messageReactionButton.tsx
|
||
|
|
badd +1 src/View/Components/messageReactionEntry.tsx
|
||
|
|
badd +1 src/View/Components/messageReactionFilterButton.tsx
|
||
|
|
badd +15 src/View/homePage.css
|
||
|
|
badd +133 dist/styles.css
|
||
|
|
badd +24 src/View/Modals/storageModal.tsx
|
||
|
|
argglobal
|
||
|
|
%argdel
|
||
|
|
edit build/sw.js
|
||
|
|
let s:save_splitbelow = &splitbelow
|
||
|
|
let s:save_splitright = &splitright
|
||
|
|
set splitbelow splitright
|
||
|
|
wincmd _ | wincmd |
|
||
|
|
vsplit
|
||
|
|
wincmd _ | wincmd |
|
||
|
|
vsplit
|
||
|
|
2wincmd h
|
||
|
|
wincmd w
|
||
|
|
wincmd w
|
||
|
|
let &splitbelow = s:save_splitbelow
|
||
|
|
let &splitright = s:save_splitright
|
||
|
|
wincmd t
|
||
|
|
let s:save_winminheight = &winminheight
|
||
|
|
let s:save_winminwidth = &winminwidth
|
||
|
|
set winminheight=0
|
||
|
|
set winheight=1
|
||
|
|
set winminwidth=0
|
||
|
|
set winwidth=1
|
||
|
|
exe 'vert 1resize ' . ((&columns * 31 + 106) / 213)
|
||
|
|
exe 'vert 2resize ' . ((&columns * 90 + 106) / 213)
|
||
|
|
exe 'vert 3resize ' . ((&columns * 90 + 106) / 213)
|
||
|
|
argglobal
|
||
|
|
enew
|
||
|
|
file NERD_tree_tab_2
|
||
|
|
let s:cpo_save=&cpo
|
||
|
|
set cpo&vim
|
||
|
|
nnoremap <buffer> <silent> <NL> :call nerdtree#ui_glue#invokeKeyMap("<C-j>")
|
||
|
|
nnoremap <buffer> <silent> :call nerdtree#ui_glue#invokeKeyMap("<C-k>")
|
||
|
|
nnoremap <buffer> <silent>
|
||
|
|
:call nerdtree#ui_glue#invokeKeyMap("<CR>")
|
||
|
|
nnoremap <buffer> <silent> ? :call nerdtree#ui_glue#invokeKeyMap("?")
|
||
|
|
nnoremap <buffer> <silent> A :call nerdtree#ui_glue#invokeKeyMap("A")
|
||
|
|
nnoremap <buffer> <silent> B :call nerdtree#ui_glue#invokeKeyMap("B")
|
||
|
|
nnoremap <buffer> <silent> C :call nerdtree#ui_glue#invokeKeyMap("C")
|
||
|
|
nnoremap <buffer> <silent> CD :call nerdtree#ui_glue#invokeKeyMap("CD")
|
||
|
|
nnoremap <buffer> <silent> D :call nerdtree#ui_glue#invokeKeyMap("D")
|
||
|
|
nnoremap <buffer> <silent> FL :call nerdtree#ui_glue#invokeKeyMap("FL")
|
||
|
|
nnoremap <buffer> <silent> F :call nerdtree#ui_glue#invokeKeyMap("F")
|
||
|
|
nnoremap <buffer> <silent> I :call nerdtree#ui_glue#invokeKeyMap("I")
|
||
|
|
nnoremap <buffer> <silent> J :call nerdtree#ui_glue#invokeKeyMap("J")
|
||
|
|
nnoremap <buffer> <silent> K :call nerdtree#ui_glue#invokeKeyMap("K")
|
||
|
|
nnoremap <buffer> <silent> O :call nerdtree#ui_glue#invokeKeyMap("O")
|
||
|
|
nnoremap <buffer> <silent> P :call nerdtree#ui_glue#invokeKeyMap("P")
|
||
|
|
nnoremap <buffer> <silent> R :call nerdtree#ui_glue#invokeKeyMap("R")
|
||
|
|
nnoremap <buffer> <silent> T :call nerdtree#ui_glue#invokeKeyMap("T")
|
||
|
|
nnoremap <buffer> <silent> U :call nerdtree#ui_glue#invokeKeyMap("U")
|
||
|
|
nnoremap <buffer> <silent> X :call nerdtree#ui_glue#invokeKeyMap("X")
|
||
|
|
nmap <buffer> [c <Plug>(GitGutterPrevHunk)
|
||
|
|
nmap <buffer> \hp <Plug>(GitGutterPreviewHunk)
|
||
|
|
nmap <buffer> \hu <Plug>(GitGutterUndoHunk)
|
||
|
|
nmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
xmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
nmap <buffer> ]c <Plug>(GitGutterNextHunk)
|
||
|
|
xmap <buffer> ac <Plug>(GitGutterTextObjectOuterVisual)
|
||
|
|
omap <buffer> ac <Plug>(GitGutterTextObjectOuterPending)
|
||
|
|
nnoremap <buffer> <silent> cd :call nerdtree#ui_glue#invokeKeyMap("cd")
|
||
|
|
nnoremap <buffer> <silent> e :call nerdtree#ui_glue#invokeKeyMap("e")
|
||
|
|
nnoremap <buffer> <silent> f :call nerdtree#ui_glue#invokeKeyMap("f")
|
||
|
|
nnoremap <buffer> <silent> go :call nerdtree#ui_glue#invokeKeyMap("go")
|
||
|
|
nnoremap <buffer> <silent> gb :call nerdtree#ui_glue#invokeKeyMap("gb")
|
||
|
|
nnoremap <buffer> <silent> gi :call nerdtree#ui_glue#invokeKeyMap("gi")
|
||
|
|
nnoremap <buffer> <silent> gs :call nerdtree#ui_glue#invokeKeyMap("gs")
|
||
|
|
xmap <buffer> ic <Plug>(GitGutterTextObjectInnerVisual)
|
||
|
|
omap <buffer> ic <Plug>(GitGutterTextObjectInnerPending)
|
||
|
|
nnoremap <buffer> <silent> i :call nerdtree#ui_glue#invokeKeyMap("i")
|
||
|
|
nnoremap <buffer> <silent> m :call nerdtree#ui_glue#invokeKeyMap("m")
|
||
|
|
nnoremap <buffer> <silent> o :call nerdtree#ui_glue#invokeKeyMap("o")
|
||
|
|
nnoremap <buffer> <silent> p :call nerdtree#ui_glue#invokeKeyMap("p")
|
||
|
|
nnoremap <buffer> <silent> q :call nerdtree#ui_glue#invokeKeyMap("q")
|
||
|
|
nnoremap <buffer> <silent> r :call nerdtree#ui_glue#invokeKeyMap("r")
|
||
|
|
nnoremap <buffer> <silent> s :call nerdtree#ui_glue#invokeKeyMap("s")
|
||
|
|
nnoremap <buffer> <silent> t :call nerdtree#ui_glue#invokeKeyMap("t")
|
||
|
|
nnoremap <buffer> <silent> u :call nerdtree#ui_glue#invokeKeyMap("u")
|
||
|
|
nnoremap <buffer> <silent> x :call nerdtree#ui_glue#invokeKeyMap("x")
|
||
|
|
nnoremap <buffer> <silent> <MiddleMouse> :call nerdtree#ui_glue#invokeKeyMap("<MiddleMouse>")
|
||
|
|
nnoremap <buffer> <silent> <2-LeftMouse> :call nerdtree#ui_glue#invokeKeyMap("<2-LeftMouse>")
|
||
|
|
nnoremap <buffer> <silent> <C-K> :call nerdtree#ui_glue#invokeKeyMap("<C-k>")
|
||
|
|
nnoremap <buffer> <silent> <C-J> :call nerdtree#ui_glue#invokeKeyMap("<C-j>")
|
||
|
|
nnoremap <buffer> <silent> <LeftRelease> <LeftRelease>:call nerdtree#ui_glue#invokeKeyMap("<LeftRelease>")
|
||
|
|
let &cpo=s:cpo_save
|
||
|
|
unlet s:cpo_save
|
||
|
|
setlocal keymap=
|
||
|
|
setlocal noarabic
|
||
|
|
setlocal noautoindent
|
||
|
|
setlocal backupcopy=
|
||
|
|
setlocal balloonexpr=
|
||
|
|
setlocal nobinary
|
||
|
|
setlocal nobreakindent
|
||
|
|
setlocal breakindentopt=
|
||
|
|
setlocal bufhidden=hide
|
||
|
|
setlocal nobuflisted
|
||
|
|
setlocal buftype=nofile
|
||
|
|
setlocal nocindent
|
||
|
|
setlocal cinkeys=0{,0},0),0],:,0#,!^F,o,O,e
|
||
|
|
setlocal cinoptions=
|
||
|
|
setlocal cinscopedecls=public,protected,private
|
||
|
|
setlocal cinwords=if,else,while,do,for,switch
|
||
|
|
setlocal colorcolumn=
|
||
|
|
setlocal comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
|
||
|
|
setlocal commentstring=/*%s*/
|
||
|
|
setlocal complete=.,w,b,u,t,i
|
||
|
|
setlocal concealcursor=nvic
|
||
|
|
setlocal conceallevel=2
|
||
|
|
setlocal completefunc=
|
||
|
|
setlocal nocopyindent
|
||
|
|
setlocal cryptmethod=
|
||
|
|
setlocal nocursorbind
|
||
|
|
setlocal nocursorcolumn
|
||
|
|
setlocal cursorline
|
||
|
|
setlocal cursorlineopt=both
|
||
|
|
setlocal define=
|
||
|
|
setlocal dictionary=
|
||
|
|
setlocal nodiff
|
||
|
|
setlocal equalprg=
|
||
|
|
setlocal errorformat=
|
||
|
|
setlocal noexpandtab
|
||
|
|
if &filetype != 'nerdtree'
|
||
|
|
setlocal filetype=nerdtree
|
||
|
|
endif
|
||
|
|
setlocal fillchars=
|
||
|
|
setlocal fixendofline
|
||
|
|
setlocal foldcolumn=0
|
||
|
|
setlocal nofoldenable
|
||
|
|
setlocal foldexpr=0
|
||
|
|
setlocal foldignore=#
|
||
|
|
setlocal foldlevel=0
|
||
|
|
setlocal foldmarker={{{,}}}
|
||
|
|
setlocal foldmethod=manual
|
||
|
|
setlocal foldminlines=1
|
||
|
|
setlocal foldnestmax=20
|
||
|
|
setlocal foldtext=foldtext()
|
||
|
|
setlocal formatexpr=
|
||
|
|
setlocal formatoptions=tcq
|
||
|
|
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
||
|
|
setlocal formatprg=
|
||
|
|
setlocal grepprg=
|
||
|
|
setlocal iminsert=0
|
||
|
|
setlocal imsearch=-1
|
||
|
|
setlocal include=
|
||
|
|
setlocal includeexpr=
|
||
|
|
setlocal indentexpr=
|
||
|
|
setlocal indentkeys=0{,0},0),0],:,0#,!^F,o,O,e
|
||
|
|
setlocal noinfercase
|
||
|
|
setlocal iskeyword=@,48-57,_,192-255
|
||
|
|
setlocal keywordprg=
|
||
|
|
setlocal nolinebreak
|
||
|
|
setlocal nolisp
|
||
|
|
setlocal lispoptions=
|
||
|
|
setlocal lispwords=
|
||
|
|
setlocal nolist
|
||
|
|
setlocal listchars=
|
||
|
|
setlocal makeencoding=
|
||
|
|
setlocal makeprg=
|
||
|
|
setlocal matchpairs=(:),{:},[:]
|
||
|
|
setlocal nomodeline
|
||
|
|
setlocal nomodifiable
|
||
|
|
setlocal nrformats=bin,octal,hex
|
||
|
|
set number
|
||
|
|
setlocal nonumber
|
||
|
|
setlocal numberwidth=4
|
||
|
|
setlocal omnifunc=
|
||
|
|
setlocal path=
|
||
|
|
setlocal nopreserveindent
|
||
|
|
setlocal nopreviewwindow
|
||
|
|
setlocal quoteescape=\\
|
||
|
|
setlocal readonly
|
||
|
|
setlocal norelativenumber
|
||
|
|
setlocal norightleft
|
||
|
|
setlocal rightleftcmd=search
|
||
|
|
setlocal noscrollbind
|
||
|
|
setlocal scrolloff=-1
|
||
|
|
setlocal shiftwidth=4
|
||
|
|
setlocal noshortname
|
||
|
|
setlocal showbreak=
|
||
|
|
setlocal sidescrolloff=-1
|
||
|
|
set signcolumn=yes
|
||
|
|
setlocal signcolumn=yes
|
||
|
|
setlocal nosmartindent
|
||
|
|
setlocal nosmoothscroll
|
||
|
|
setlocal softtabstop=0
|
||
|
|
setlocal nospell
|
||
|
|
setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
|
||
|
|
setlocal spellfile=
|
||
|
|
setlocal spelllang=en
|
||
|
|
setlocal spelloptions=
|
||
|
|
setlocal statusline=%{exists('b:NERDTree')?b:NERDTree.root.path.str():''}
|
||
|
|
setlocal suffixesadd=
|
||
|
|
setlocal noswapfile
|
||
|
|
setlocal synmaxcol=3000
|
||
|
|
if &syntax != 'nerdtree'
|
||
|
|
setlocal syntax=nerdtree
|
||
|
|
endif
|
||
|
|
setlocal tabstop=8
|
||
|
|
setlocal tagcase=
|
||
|
|
setlocal tagfunc=
|
||
|
|
setlocal tags=
|
||
|
|
setlocal termwinkey=
|
||
|
|
setlocal termwinscroll=10000
|
||
|
|
setlocal termwinsize=
|
||
|
|
setlocal textwidth=0
|
||
|
|
setlocal thesaurus=
|
||
|
|
setlocal thesaurusfunc=
|
||
|
|
setlocal noundofile
|
||
|
|
setlocal undolevels=-123456
|
||
|
|
setlocal varsofttabstop=
|
||
|
|
setlocal vartabstop=
|
||
|
|
setlocal virtualedit=
|
||
|
|
setlocal wincolor=
|
||
|
|
setlocal nowinfixheight
|
||
|
|
setlocal winfixwidth
|
||
|
|
setlocal nowrap
|
||
|
|
setlocal wrapmargin=0
|
||
|
|
wincmd w
|
||
|
|
argglobal
|
||
|
|
balt dist/sw.js
|
||
|
|
let s:cpo_save=&cpo
|
||
|
|
set cpo&vim
|
||
|
|
nmap <buffer> [c <Plug>(GitGutterPrevHunk)
|
||
|
|
nmap <buffer> \hp <Plug>(GitGutterPreviewHunk)
|
||
|
|
nmap <buffer> \hu <Plug>(GitGutterUndoHunk)
|
||
|
|
nmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
xmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
nmap <buffer> ]c <Plug>(GitGutterNextHunk)
|
||
|
|
xmap <buffer> ac <Plug>(GitGutterTextObjectOuterVisual)
|
||
|
|
omap <buffer> ac <Plug>(GitGutterTextObjectOuterPending)
|
||
|
|
xmap <buffer> ic <Plug>(GitGutterTextObjectInnerVisual)
|
||
|
|
omap <buffer> ic <Plug>(GitGutterTextObjectInnerPending)
|
||
|
|
let &cpo=s:cpo_save
|
||
|
|
unlet s:cpo_save
|
||
|
|
setlocal keymap=
|
||
|
|
setlocal noarabic
|
||
|
|
setlocal autoindent
|
||
|
|
setlocal backupcopy=
|
||
|
|
setlocal balloonexpr=
|
||
|
|
setlocal nobinary
|
||
|
|
setlocal nobreakindent
|
||
|
|
setlocal breakindentopt=
|
||
|
|
setlocal bufhidden=
|
||
|
|
setlocal buflisted
|
||
|
|
setlocal buftype=
|
||
|
|
setlocal nocindent
|
||
|
|
setlocal cinkeys=0{,0},0),0],:,0#,!^F,o,O,e
|
||
|
|
setlocal cinoptions=
|
||
|
|
setlocal cinscopedecls=public,protected,private
|
||
|
|
setlocal cinwords=if,else,while,do,for,switch
|
||
|
|
setlocal colorcolumn=
|
||
|
|
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
|
||
|
|
setlocal commentstring=//%s
|
||
|
|
setlocal complete=.,w,b,u,t,i
|
||
|
|
setlocal concealcursor=
|
||
|
|
setlocal conceallevel=0
|
||
|
|
setlocal completefunc=
|
||
|
|
setlocal nocopyindent
|
||
|
|
setlocal cryptmethod=
|
||
|
|
setlocal nocursorbind
|
||
|
|
setlocal nocursorcolumn
|
||
|
|
setlocal nocursorline
|
||
|
|
setlocal cursorlineopt=both
|
||
|
|
setlocal define=\\(^\\s*(*async\\s\\+function\\|(*function\\)\\|^\\s*\\(\\*\\|static\\|async\\|get\\|set\\|\\i\\+\\.\\)\\|^\\s*\\(\\ze\\i\\+\\)\\(([^)]*).*{$\\|\\s*[:=,]\\)\\|^\\s*\\(export\\s\\+\\|export\\s\\+default\\s\\+\\)*\\(var\\|let\\|const\\|function\\|class\\)\\|\\<as\\>
|
||
|
|
setlocal dictionary=
|
||
|
|
setlocal nodiff
|
||
|
|
setlocal equalprg=
|
||
|
|
setlocal errorformat=
|
||
|
|
setlocal noexpandtab
|
||
|
|
if &filetype != 'javascript'
|
||
|
|
setlocal filetype=javascript
|
||
|
|
endif
|
||
|
|
setlocal fillchars=
|
||
|
|
setlocal fixendofline
|
||
|
|
setlocal foldcolumn=0
|
||
|
|
setlocal foldenable
|
||
|
|
setlocal foldexpr=0
|
||
|
|
setlocal foldignore=#
|
||
|
|
setlocal foldlevel=0
|
||
|
|
setlocal foldmarker={{{,}}}
|
||
|
|
setlocal foldmethod=manual
|
||
|
|
setlocal foldminlines=1
|
||
|
|
setlocal foldnestmax=20
|
||
|
|
setlocal foldtext=foldtext()
|
||
|
|
setlocal formatexpr=
|
||
|
|
setlocal formatoptions=croql
|
||
|
|
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
||
|
|
setlocal formatprg=
|
||
|
|
setlocal grepprg=
|
||
|
|
setlocal iminsert=0
|
||
|
|
setlocal imsearch=-1
|
||
|
|
setlocal include=
|
||
|
|
setlocal includeexpr=
|
||
|
|
setlocal indentexpr=GetJavascriptIndent()
|
||
|
|
setlocal indentkeys=0{,0},0),0],:,0#,!^F,o,O,e,0],0)
|
||
|
|
setlocal noinfercase
|
||
|
|
setlocal iskeyword=@,48-57,_,192-255
|
||
|
|
setlocal keywordprg=
|
||
|
|
setlocal nolinebreak
|
||
|
|
setlocal nolisp
|
||
|
|
setlocal lispoptions=
|
||
|
|
setlocal lispwords=
|
||
|
|
setlocal nolist
|
||
|
|
setlocal listchars=
|
||
|
|
setlocal makeencoding=
|
||
|
|
setlocal makeprg=
|
||
|
|
setlocal matchpairs=(:),{:},[:]
|
||
|
|
setlocal nomodeline
|
||
|
|
setlocal modifiable
|
||
|
|
setlocal nrformats=bin,octal,hex
|
||
|
|
set number
|
||
|
|
setlocal number
|
||
|
|
setlocal numberwidth=4
|
||
|
|
setlocal omnifunc=javascriptcomplete#CompleteJS
|
||
|
|
setlocal path=.,,
|
||
|
|
setlocal nopreserveindent
|
||
|
|
setlocal nopreviewwindow
|
||
|
|
setlocal quoteescape=\\
|
||
|
|
setlocal noreadonly
|
||
|
|
setlocal norelativenumber
|
||
|
|
setlocal norightleft
|
||
|
|
setlocal rightleftcmd=search
|
||
|
|
setlocal noscrollbind
|
||
|
|
setlocal scrolloff=-1
|
||
|
|
setlocal shiftwidth=4
|
||
|
|
setlocal noshortname
|
||
|
|
setlocal showbreak=
|
||
|
|
setlocal sidescrolloff=-1
|
||
|
|
set signcolumn=yes
|
||
|
|
setlocal signcolumn=yes
|
||
|
|
setlocal nosmartindent
|
||
|
|
setlocal nosmoothscroll
|
||
|
|
setlocal softtabstop=0
|
||
|
|
setlocal nospell
|
||
|
|
setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
|
||
|
|
setlocal spellfile=
|
||
|
|
setlocal spelllang=en
|
||
|
|
setlocal spelloptions=
|
||
|
|
setlocal statusline=
|
||
|
|
setlocal suffixesadd=.js,.jsx,.es,.es6,.cjs,.mjs,.jsm,.vue,.json
|
||
|
|
setlocal swapfile
|
||
|
|
setlocal synmaxcol=3000
|
||
|
|
if &syntax != 'javascript'
|
||
|
|
setlocal syntax=javascript
|
||
|
|
endif
|
||
|
|
setlocal tabstop=8
|
||
|
|
setlocal tagcase=
|
||
|
|
setlocal tagfunc=
|
||
|
|
setlocal tags=
|
||
|
|
setlocal termwinkey=
|
||
|
|
setlocal termwinscroll=10000
|
||
|
|
setlocal termwinsize=
|
||
|
|
setlocal textwidth=0
|
||
|
|
setlocal thesaurus=
|
||
|
|
setlocal thesaurusfunc=
|
||
|
|
setlocal noundofile
|
||
|
|
setlocal undolevels=-123456
|
||
|
|
setlocal varsofttabstop=
|
||
|
|
setlocal vartabstop=
|
||
|
|
setlocal virtualedit=
|
||
|
|
setlocal wincolor=
|
||
|
|
setlocal nowinfixheight
|
||
|
|
setlocal nowinfixwidth
|
||
|
|
setlocal wrap
|
||
|
|
setlocal wrapmargin=0
|
||
|
|
silent! normal! zE
|
||
|
|
let &fdl = &fdl
|
||
|
|
let s:l = 21 - ((20 * winheight(0) + 19) / 38)
|
||
|
|
if s:l < 1 | let s:l = 1 | endif
|
||
|
|
keepjumps exe s:l
|
||
|
|
normal! zt
|
||
|
|
keepjumps 21
|
||
|
|
normal! $
|
||
|
|
wincmd w
|
||
|
|
argglobal
|
||
|
|
if bufexists(fnamemodify("build/version.txt", ":p")) | buffer build/version.txt | else | edit build/version.txt | endif
|
||
|
|
let s:cpo_save=&cpo
|
||
|
|
set cpo&vim
|
||
|
|
nmap <buffer> [c <Plug>(GitGutterPrevHunk)
|
||
|
|
nmap <buffer> \hp <Plug>(GitGutterPreviewHunk)
|
||
|
|
nmap <buffer> \hu <Plug>(GitGutterUndoHunk)
|
||
|
|
nmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
xmap <buffer> \hs <Plug>(GitGutterStageHunk)
|
||
|
|
nmap <buffer> ]c <Plug>(GitGutterNextHunk)
|
||
|
|
xmap <buffer> ac <Plug>(GitGutterTextObjectOuterVisual)
|
||
|
|
omap <buffer> ac <Plug>(GitGutterTextObjectOuterPending)
|
||
|
|
xmap <buffer> ic <Plug>(GitGutterTextObjectInnerVisual)
|
||
|
|
omap <buffer> ic <Plug>(GitGutterTextObjectInnerPending)
|
||
|
|
let &cpo=s:cpo_save
|
||
|
|
unlet s:cpo_save
|
||
|
|
setlocal keymap=
|
||
|
|
setlocal noarabic
|
||
|
|
setlocal noautoindent
|
||
|
|
setlocal backupcopy=
|
||
|
|
setlocal balloonexpr=
|
||
|
|
setlocal nobinary
|
||
|
|
setlocal nobreakindent
|
||
|
|
setlocal breakindentopt=
|
||
|
|
setlocal bufhidden=
|
||
|
|
setlocal buflisted
|
||
|
|
setlocal buftype=
|
||
|
|
setlocal nocindent
|
||
|
|
setlocal cinkeys=0{,0},0),0],:,0#,!^F,o,O,e
|
||
|
|
setlocal cinoptions=
|
||
|
|
setlocal cinscopedecls=public,protected,private
|
||
|
|
setlocal cinwords=if,else,while,do,for,switch
|
||
|
|
setlocal colorcolumn=
|
||
|
|
setlocal comments=fb:-,fb:*,n:>
|
||
|
|
setlocal commentstring=
|
||
|
|
setlocal complete=.,w,b,u,t,i
|
||
|
|
setlocal concealcursor=
|
||
|
|
setlocal conceallevel=0
|
||
|
|
setlocal completefunc=
|
||
|
|
setlocal nocopyindent
|
||
|
|
setlocal cryptmethod=
|
||
|
|
setlocal nocursorbind
|
||
|
|
setlocal nocursorcolumn
|
||
|
|
setlocal nocursorline
|
||
|
|
setlocal cursorlineopt=both
|
||
|
|
setlocal define=
|
||
|
|
setlocal dictionary=
|
||
|
|
setlocal nodiff
|
||
|
|
setlocal equalprg=
|
||
|
|
setlocal errorformat=
|
||
|
|
setlocal noexpandtab
|
||
|
|
if &filetype != 'text'
|
||
|
|
setlocal filetype=text
|
||
|
|
endif
|
||
|
|
setlocal fillchars=
|
||
|
|
setlocal fixendofline
|
||
|
|
setlocal foldcolumn=0
|
||
|
|
setlocal foldenable
|
||
|
|
setlocal foldexpr=0
|
||
|
|
setlocal foldignore=#
|
||
|
|
setlocal foldlevel=0
|
||
|
|
setlocal foldmarker={{{,}}}
|
||
|
|
setlocal foldmethod=manual
|
||
|
|
setlocal foldminlines=1
|
||
|
|
setlocal foldnestmax=20
|
||
|
|
setlocal foldtext=foldtext()
|
||
|
|
setlocal formatexpr=
|
||
|
|
setlocal formatoptions=tcq
|
||
|
|
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
|
||
|
|
setlocal formatprg=
|
||
|
|
setlocal grepprg=
|
||
|
|
setlocal iminsert=0
|
||
|
|
setlocal imsearch=-1
|
||
|
|
setlocal include=
|
||
|
|
setlocal includeexpr=
|
||
|
|
setlocal indentexpr=
|
||
|
|
setlocal indentkeys=0{,0},0),0],:,0#,!^F,o,O,e
|
||
|
|
setlocal noinfercase
|
||
|
|
setlocal iskeyword=@,48-57,_,192-255
|
||
|
|
setlocal keywordprg=
|
||
|
|
setlocal nolinebreak
|
||
|
|
setlocal nolisp
|
||
|
|
setlocal lispoptions=
|
||
|
|
setlocal lispwords=
|
||
|
|
setlocal nolist
|
||
|
|
setlocal listchars=
|
||
|
|
setlocal makeencoding=
|
||
|
|
setlocal makeprg=
|
||
|
|
setlocal matchpairs=(:),{:},[:]
|
||
|
|
setlocal nomodeline
|
||
|
|
setlocal modifiable
|
||
|
|
setlocal nrformats=bin,octal,hex
|
||
|
|
set number
|
||
|
|
setlocal number
|
||
|
|
setlocal numberwidth=4
|
||
|
|
setlocal omnifunc=
|
||
|
|
setlocal path=
|
||
|
|
setlocal nopreserveindent
|
||
|
|
setlocal nopreviewwindow
|
||
|
|
setlocal quoteescape=\\
|
||
|
|
setlocal noreadonly
|
||
|
|
setlocal norelativenumber
|
||
|
|
setlocal norightleft
|
||
|
|
setlocal rightleftcmd=search
|
||
|
|
setlocal noscrollbind
|
||
|
|
setlocal scrolloff=-1
|
||
|
|
setlocal shiftwidth=4
|
||
|
|
setlocal noshortname
|
||
|
|
setlocal showbreak=
|
||
|
|
setlocal sidescrolloff=-1
|
||
|
|
set signcolumn=yes
|
||
|
|
setlocal signcolumn=yes
|
||
|
|
setlocal nosmartindent
|
||
|
|
setlocal nosmoothscroll
|
||
|
|
setlocal softtabstop=0
|
||
|
|
setlocal nospell
|
||
|
|
setlocal spellcapcheck=[.?!]\\_[\\])'\"\ \ ]\\+
|
||
|
|
setlocal spellfile=
|
||
|
|
setlocal spelllang=en
|
||
|
|
setlocal spelloptions=
|
||
|
|
setlocal statusline=
|
||
|
|
setlocal suffixesadd=
|
||
|
|
setlocal swapfile
|
||
|
|
setlocal synmaxcol=3000
|
||
|
|
if &syntax != 'text'
|
||
|
|
setlocal syntax=text
|
||
|
|
endif
|
||
|
|
setlocal tabstop=8
|
||
|
|
setlocal tagcase=
|
||
|
|
setlocal tagfunc=
|
||
|
|
setlocal tags=
|
||
|
|
setlocal termwinkey=
|
||
|
|
setlocal termwinscroll=10000
|
||
|
|
setlocal termwinsize=
|
||
|
|
setlocal textwidth=0
|
||
|
|
setlocal thesaurus=
|
||
|
|
setlocal thesaurusfunc=
|
||
|
|
setlocal noundofile
|
||
|
|
setlocal undolevels=-123456
|
||
|
|
setlocal varsofttabstop=
|
||
|
|
setlocal vartabstop=
|
||
|
|
setlocal virtualedit=
|
||
|
|
setlocal wincolor=
|
||
|
|
setlocal nowinfixheight
|
||
|
|
setlocal nowinfixwidth
|
||
|
|
setlocal wrap
|
||
|
|
setlocal wrapmargin=0
|
||
|
|
silent! normal! zE
|
||
|
|
let &fdl = &fdl
|
||
|
|
let s:l = 1 - ((0 * winheight(0) + 19) / 38)
|
||
|
|
if s:l < 1 | let s:l = 1 | endif
|
||
|
|
keepjumps exe s:l
|
||
|
|
normal! zt
|
||
|
|
keepjumps 1
|
||
|
|
normal! 011|
|
||
|
|
wincmd w
|
||
|
|
2wincmd w
|
||
|
|
exe 'vert 1resize ' . ((&columns * 31 + 106) / 213)
|
||
|
|
exe 'vert 2resize ' . ((&columns * 90 + 106) / 213)
|
||
|
|
exe 'vert 3resize ' . ((&columns * 90 + 106) / 213)
|
||
|
|
tabnext 1
|
||
|
|
if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0
|
||
|
|
silent exe 'bwipe ' . s:wipebuf
|
||
|
|
endif
|
||
|
|
unlet! s:wipebuf
|
||
|
|
set winheight=1 winwidth=20
|
||
|
|
set shortmess=filnxtToOS
|
||
|
|
let &winminheight = s:save_winminheight
|
||
|
|
let &winminwidth = s:save_winminwidth
|