New answers tagged

0

Thanks for the comments; the problem was that I had ~/.config/git/config as a directory, not as a file. To fix it, I made it a regular file and copied the contents of ~/.config/git/config/.gitconfig.


0

I would just stick to pathogen until you get familiarized with how things work. I started moving things to the 'pack/yourname/start' one day and things started breaking. That being said I am working on a plugin and 'pack/myname/start' seems to work fine. Pack is a great way to separate your plugins. If you notice tpope plugins usually go in there.


0

I couldn't deal with the hassle. So I just installed neovim and installed standalone vim. I figured most online articles and documentation will refer to standalone vim too. Things worked straight away.


0

This works for my python files. zM folds the file to the lowest number of lines, then zo unfolds the line that is folded to show functions in classes which can be searched, then when you want to look at a function content, goto its folded lines and unfold all with zO. :help fold


1

You shouldn't alter the base vim configuration. Instead, you should put this in your user's vim configuration directory, which on macOS would be ~/.vim i.e. ~/.vim/autoload/plug.vim. To answer you actual question as to why it is removed as soon as it is downloaded, how are you trying to write to that directory? As you mention "save file as" I can ...


0

oh, I have found the solution. This is for others reference. vim probably can not expand ~/ to $HOME. In my .bashrc, I had PATH="${PATH}:~/bin" PATH="$PATH:~/.local/bin" changing that to PATH="${PATH}:${HOME}/bin" PATH="$PATH:${HOME}/.local/bin" solved the problem.


Top 50 recent answers are included