Hi There, I've added some folds in c file and used the command :mkview. Earlier I got the error... for that path ($Home/.vim/view/~..........~) view could not be stored , or something like could not write. When I checked my home directory I find that there is no directory with the name .vim/view. I created the directory structure for the same, and I could sore the view. Now when I open the same file for which I stored the view I get error message at command prompt "E490: No fold found" with line numbers. Followed by message press enter to continue. But I'm unable to view the file the way I stored. However after giving the command :loadview I can view the same. I added the line loadview in my .vimrc but results the same.
My queries are is it possible to view the file the way I stored. i.e. with the folds closed. I checked the command zC to closed all the foleds recursively under the cursor. I guess it is for the multi-level folds. Is it possible to close all the folds(defaults) with just one command. Regards Jagpreet
