Skip to content

Commit 8670b1e

Browse files
committed
Update screenshots of automatic session save/restore in README
I had already planned to update the screenshots after merging pull request #104 but Rory was quicker than me by creating issue #117 :-). Silly as it sounds it took me a while to take somewhat representative screenshots because I've been using a tiling window manager (Awesome) for the past couple of years which hides all window decorations ... One thing to note about this change: I used full URLs to the screenshots by choice (even though I know that in general this is not the recommended way) because README.md is used in more places than only GitHub (specifically I also use it to render the homepage on my website and I convert it to a Vim help file to be bundled with the Vim plug-in). See also issue 104 on GitHub: #104 See also issue 117 on GitHub: #117
1 parent fb6118b commit 8670b1e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ The vim-session plug-in improves upon [Vim](http://www.vim.org/)'s built-in [:mk
44

55
To persist your current editing session you can execute the `:SaveSession` command. If you don't provide a name for the session 'default' is used (you can change this name with an option). You're free to use whatever characters you like in session names. When you want to restore your session simply execute `:OpenSession`. Again the name 'default' is used if you don't provide one. When a session is active, has been changed and you quit Vim you'll be prompted whether you want to save the open session before quitting Vim:
66

7-
![Screenshot of auto-save prompt](http://peterodding.com/code/vim/session/autosave.png)
7+
![Screenshot of auto-save prompt](https://raw.githubusercontent.com/xolox/vim-session/master/screenshots/session-save-prompt.png)
88

99
If you want, the plug-in can also automatically save your session every few minutes (see the `g:session_autosave_periodic` option). When you start Vim without editing any files and the default session exists, you'll be prompted whether you want to restore the default session:
1010

11-
![Screenshot of auto-open prompt](http://peterodding.com/code/vim/session/autoopen.png)
11+
![Screenshot of auto-open prompt](https://raw.githubusercontent.com/xolox/vim-session/master/screenshots/session-restore-prompt.png)
1212

1313
When you start Vim with a custom [server name](http://vimdoc.sourceforge.net/htmldoc/remote.html#--servername) that matches one of the existing session names then the matching session will be automatically restored. For example I use several sessions to quickly edit my Vim plug-ins:
1414

@@ -271,7 +271,7 @@ Recently this plug-in switched from reimplementing [:mksession][mksession] to ac
271271
<!-- Start of generated documentation -->
272272

273273
The documentation of the 39 functions below was extracted from
274-
2 Vim scripts on March 15, 2015 at 13:37.
274+
2 Vim scripts on March 15, 2015 at 17:23.
275275

276276
### Public API for the vim-session plug-in
277277

doc/session.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ might take a while...)
544544
Function reference ~
545545

546546
The documentation of the 39 functions below was extracted from 2 Vim scripts on
547-
March 15, 2015 at 13:37.
547+
March 15, 2015 at 17:23.
548548

549549
-------------------------------------------------------------------------------
550550
*public-api-for-vim-session-plug-in*
@@ -913,8 +913,8 @@ was editing the plug-in itself in Vim:
913913
*session-references*
914914
References ~
915915

916-
[1] http://peterodding.com/code/vim/session/autosave.png
917-
[2] http://peterodding.com/code/vim/session/autoopen.png
916+
[1] https://raw.githubusercontent.com/xolox/vim-session/master/screenshots/session-save-prompt.png
917+
[2] https://raw.githubusercontent.com/xolox/vim-session/master/screenshots/session-restore-prompt.png
918918
[3] http://peterodding.com/code/vim/session/#sample_session_script
919919
[4] http://peterodding.com/code/vim/downloads/session.zip
920920
[5] http://peterodding.com/code/vim/downloads/misc.zip
21.8 KB
Loading
22.8 KB
Loading

0 commit comments

Comments
 (0)