Instead of typing :sh and being taken to the shell prompt after temporarily quitting vi, is that possible to open a split screen which is shell? Because it is difficult to keep track of whether a vi is open if working a long time in shell.

Is there a way to autosave say after 10 minutes?

Instead of typing :sh and being taken to the shell prompt after temporarily quitting vi, is that possible to open a split screen which is shell? Because it is difficult to keep track of whether a vi is open if working a long time in shell.

If you run vi in gnu screen, you can open a split window with vi in one pane and a shell in another.

Is there a way to autosave say after 10 minutes?

Vim does not support auto-saving a file periodically.

For more information, read

:help 'updatetime'
:help CursorHold
:help swap-file

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.