I'm using vim with some plugins, such as Nerdtree, YCM, to build an coding environment.
Now I want to achieve this:
When I execute the command
vim, a file containing some ASCII image, will be loaded automatically.
Well, this is only for good looking.
What I've done is to add a line in the file
alias vim=vim -o ~/.vim/ascii_img.
It works but I want to make the buffer of
ascii_img read only to prevent the file
ascii_img getting changed accidently.
Then I changed the line above in
alias vim=vim -ro ~/.vim/ascii_img.
However, now all of files become read only.
Is it possible to make only the specific buffer read only?