xolox / vim-session

Extended session management for Vim (:mksession on steroids)
http://peterodding.com/code/vim/session/
961 stars 80 forks source link

Error on session autosave, in Command-Line history window (q:) #173

Open christianfriedl opened 6 years ago

christianfriedl commented 6 years ago

When you do q: to access the command history, then session autosave will give the following error message:

Error detected while processing function xolox#misc#cursorhold#autocmd[17]..xolox#session#auto_save_periodic[23]..xolox#session#save_cmd[13]..xolox#session#save_session[44]..xolox#session#save_state:
line   17:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits: mksession /tmp/nvimO5IITt/158
Press ENTER or type command to continue
Error detected while processing function xolox#misc#cursorhold#autocmd[17]..xolox#session#auto_save_periodic[23]..xolox#session#save_cmd:
line   13:
E171: Missing :endif