Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I store and restore manually created folds across different Vim invocations?

0
Posted

How do I store and restore manually created folds across different Vim invocations?

0

:mkview” command to store manually created folds. Later, you can use the “:loadview” command to restore the folds. For this to work, the ‘viewoptions’ must contain “folds”. For more information, read :help 28.4 :help :mkview :help :loadview :help ‘viewoptions’ :help ‘viewdir’ :help :mksession :help ‘sessionoptions’ ============================================================================= SECTION 30 – VIM WITH EXTERNAL APPLICATIONS 30.1. Can I run a shell inside a Vim window? Currently Vim doesn’t have support for running shell and other external commands inside a Vim window. For more information, read :help shell-window Alternatively, you can try using the Unix “screen” utility or the ‘splitvt’ program. You can also use the vimsh plugin by Brian Sturk to run a shell in a Vim window. To use this you need to have Vim built with python support. For more information visit the following URL: http://vim.sourceforge.net/scripts/script.php?script_id=165 30.2.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123