![e138 can t write viminfo file e138 can t write viminfo file](https://img-blog.csdnimg.cn/20210517200610947.png)
- #E138 CAN T WRITE VIMINFO FILE INSTALL#
- #E138 CAN T WRITE VIMINFO FILE CODE#
- #E138 CAN T WRITE VIMINFO FILE DOWNLOAD#
" PHP Generated Code Highlights (HTML & SQL) let php_sql_query= 1 let php_htmlInStrings= 1 let g :php_folding= 2 set foldmethod= syntax " PHP Autocomplete autocmd FileType php set omnifunc=phpcomplete#CompletePHP autocmd FileType php set complete +=k ~/.vim / dict /PHP. " Enable completion dictionaries for PHP buffers. spl " compiled spelling word lists set wildignore += *. exe, *.dll, *.manifest " compiled object files set wildignore += *.pyc " Python byte code set wildignore += *. set wildignore += *.aux, *.out, *.toc " LaTeX intermediate files set wildignore += *.jpg, *.bmp, *.gif " binary images set wildignore += *.luac " Lua byte code set wildignore += *.o, *.obj, *. " Ignore these filenames during enhanced command line completion. " Enable enhanced command line completion. set foldmethod=marker foldopen=all, insert foldclose=all " do so myself and wouldn't use text folding at all if it wasn't automatic. " Make Vim open and close folded text as needed because I can't be bothered to " Do use the currently active spell checking for completion though! :autocmd FileType php noremap :!/usr/bin/php -l % :autocmd FileType php noremap :w!:!/usr/bin/php % : where to save the viminfo files set viminfo= '10, \"100,:5000,%,n~/.viminfo " :5000 : up to 5000 lines of command-line history will be remembered " '10 : marks will be remembered for up to 10 previously edited files " " 100 : will save up to 100 lines for each register
![e138 can t write viminfo file e138 can t write viminfo file](https://img-blog.csdnimg.cn/20210517201107563.png)
" Tell vim to remember certain things when we exit " Don't remember source of this, i think it was already in my. " Plugins and indentation based on the file type filetype plugin indent on vimrc file which is located in your home directory. You just need to paste the following content in your. Now that you have installed above scripts, you are almost all set to go.
#E138 CAN T WRITE VIMINFO FILE DOWNLOAD#
Download the following Vim scripts directly into your. Now we need to download few files in our.
![e138 can t write viminfo file e138 can t write viminfo file](https://img2020.cnblogs.com/blog/2175016/202012/2175016-20201201223704140-604539054.png)
vim directory which is located in your home directory. Installing them is easy just unzip them in you.
#E138 CAN T WRITE VIMINFO FILE INSTALL#
If you are a windows user then this guide should still work for you, but I might not be able to provide Windows related details where needed.įeatures that we will add or enable in Vim to make it a complete IDE.įirst we need to download following Vim scripts and extract them in our ~/.vim directory.ĭownload above scripts one by one and install them. For the sake of simplicity I am assuming you are using Vim on Linux or Linux like system. So, I hope this howto will be easy enough for everyone to follow and setup their Vim as their PHP IDE. Recently I posted a screenshot of my Vim editor and got a lot of emails that how did I setup Vim that way. But those IDEs are very heavy and slow to use, and I know many people like me who just can’t live without Vim and want to use Vim for all type of text editing they do, whether they are writing code, editing configuration files or may be creating simple text files. Some are graphical will built-in features like debugging, code completion, auto indentation, syntax highlighting, code checking and many more. As a PHP developer one has quiet a lot of choices of IDE.