File tree Expand file tree Collapse file tree 4 files changed +15
-11
lines changed
Expand file tree Collapse file tree 4 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Manage as many sessions files as you want.
55
66Load & store all sessions from a session directory.
77
8+ Default session file has changed :
9+
10+ - vim : '~ /.vim/wheel/session/default.vim'
11+ - nvim : '~ /.local/share/nvim/wheel/session/default.vim'
12+
813# 2023 may 26
914
1015Little change in config :
Original file line number Diff line number Diff line change @@ -559,7 +559,6 @@ fun! wheel#disc#write_session (...)
559559 endif
560560 endif
561561 let arglist = [session_file] + a: 000 [1 :]
562- echomsg arglist
563562 return call (' wheel#disc#write_session_file' , arglist)
564563 endif
565564 " ---- session dir
Original file line number Diff line number Diff line change @@ -214,16 +214,16 @@ fun! wheel#void#config ()
214214 endif
215215 if ! has_key (g: wheel_config , ' session_file' )
216216 if has (' nvim' )
217- let g: wheel_config .session_file = ' ~/.local/share/nvim/wheel/session.vim'
217+ let g: wheel_config .session_file = ' ~/.local/share/nvim/wheel/session/default .vim'
218218 else
219- let g: wheel_config .session_file = ' ~/.vim/wheel/session.vim'
219+ let g: wheel_config .session_file = ' ~/.vim/wheel/session/default .vim'
220220 endif
221221 endif
222222 if ! has_key (g: wheel_config , ' session_dir' )
223223 if has (' nvim' )
224- let g: wheel_config .session_dir = ' ~/.local/share/nvim/wheel'
224+ let g: wheel_config .session_dir = ' ~/.local/share/nvim/wheel/session '
225225 else
226- let g: wheel_config .session_dir = ' ~/.vim/wheel'
226+ let g: wheel_config .session_dir = ' ~/.vim/wheel/session '
227227 endif
228228 endif
229229 if ! has_key (g: wheel_config , ' autowrite_session' )
Original file line number Diff line number Diff line change @@ -2497,29 +2497,29 @@ a session directory.
24972497
24982498Directory where your sessions will be saved : >
24992499
2500- let g:wheel_config.session_dir = '~/.local/share/wheel'
2500+ let g:wheel_config.session_dir = '~/.local/share/wheel/session '
25012501<
25022502
25032503Default~
25042504
2505- - vim : '~/.vim/wheel'
2506- - nvim : '~/.local/share/nvim/wheel'
2505+ - vim : '~/.vim/wheel/session '
2506+ - nvim : '~/.local/share/nvim/wheel/session '
25072507
25082508------------------------------------------------------------------------------
25092509SESSION FILE *wheel-config-session-file*
25102510
25112511File to save or load the default session : >
25122512
2513- let g:wheel_config.session_file = '~/.local/share/wheel/session.vim'
2513+ let g:wheel_config.session_file = '~/.local/share/wheel/session/layout .vim'
25142514<
25152515
25162516You can define this file and regularly save it, either manually or
25172517automatically, using the autowrite_session config.
25182518
25192519Default~
25202520
2521- - vim : '~/.vim/wheel/session.vim'
2522- - nvim : '~/.local/share/nvim/wheel/session.vim'
2521+ - vim : '~/.vim/wheel/session/default .vim'
2522+ - nvim : '~/.local/share/nvim/wheel/session/default .vim'
25232523
25242524------------------------------------------------------------------------------
25252525AUTOREAD SESSION *wheel-config-autoread-session*
You can’t perform that action at this time.
0 commit comments