You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" Vim Session" Settings to get it to work like vim-obsession (save session in current directory)letg:session_autosave_silent=1letg:session_autoload='no'letg:session_autosave='yes'letg:session_lock_enabled=0letg:session_directory='./'letg:session_default_name='Session'letg:session_autosave_periodic=0letg:session_autosave_only_with_explicit_session=1" Win Tabsletg:wintabs_ui_vimtab_name_format='%t'letg:wintabs_autoclose_vim=1letg:wintabs_autoclose_vimtab=1letg:wintabs_autoclose=2if!has('idea')
" Change tabsnnoremap<Leader>gh gTnnoremap<Leader>g<Left> gTnnoremap<Leader>gl gtnnoremap<Leader>g<Right> gt" Change buffersnmapgh<Plug>(wintabs_previous)nmapg<Left><Plug>(wintabs_previous)nmapgl<Plug>(wintabs_next)nmapg<Right><Plug>(wintabs_next)" Other buffer stuffnmap<Leader>wu <Plug>(wintabs_undo)nmap<Leader>wm :WintabsMove<Space>nmap<Leader>wo <Plug>(wintabs_only)nnoremap<Leader>wO :tabonly<Bar>call<Space>wintabs#only()<Bar>only" Override q,q!,wq to avoid accidentally closing all of the buffers in the" tabfunction!SaveAndCloseCurrentBuffer()
:upcallwintabs#close()
endfunctioncallCommandCabbr('q', 'call wintabs#close()')
callCommandCabbr('q!', 'call wintabs#close()')
callCommandCabbr('wq', 'call SaveAndCloseCurrentBuffer()')
endif" Show git commit file in tablineletg:wintabs_ignored_filetypes= []
autocmdFileTypegitcommitsetbuflisted" Fix this plugin overriding the styling for vim-airlinecallg:Base16hi(
\ 'TablineSel',
\ g:base16_gui00,
\ g:base16_gui0D,
\ g:base16_cterm00,
\ g:base16_cterm0D,
\ 'bold',
\ ''\ )
callg:Base16hi(
\ 'Tabline',
\ g:base16_gui04,
\ g:base16_gui02,
\ g:base16_cterm04,
\ g:base16_cterm02,
\ '',
\ ''\ )
letg:wintabs_powerline_sep_buffer=''letg:wintabs_powerline_sep_tab=''" Reinitialise when reloading vimrc to make it look rightcallwintabs_powerline#init()
Steps to reproduce the bug:
Add the above code to your vimrc
Run touch a b c; vim
Inside Vim run :e a then :tabe b then :tabe c
Save the session with :SaveSession
:wqa
Reopen Vim with the session vim -S
The session will load with the current files/configuration:
tab1
- a
tab2
- b
tab3
- c (active)
- a
- b
In the third tab, files a and b should not be there
The text was updated successfully, but these errors were encountered:
On 6/01/2019, at 8:34 PM, Zefei Xuan ***@***.***> wrote:
Should be fixed in the latest commit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Steps to reproduce the bug:
touch a b c; vim
:e a
then:tabe b
then:tabe c
:SaveSession
:wqa
vim -S
The session will load with the current files/configuration:
In the third tab, files a and b should not be there
The text was updated successfully, but these errors were encountered: