R
R
ratkke2012-06-18 15:31:34
vim
ratkke, 2012-06-18 15:31:34

No traces of vim on mac'e?

Good day everyone, I just started learning vim, so I apologize for my question if it's stupid :)
I use vim from the terminal on my mac.
I decided to put myself a script - but that's not the task, I don't have a .vim folder, and I also don't have any vimrc, gvimrc files.
I decided to create a .vim folder, created a plugin folder there, shoved the script there - and nothing.
Tell me where can I find my vimrc and gvimrc and in which folder should I put vim scripts?
Thanks in advance :)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
bagyr, 2012-06-18
@bagyr

:version
There are paths to all configs.

E
Evgeny Yablokov, 2012-06-18
@Gular

Actually, it's very strange. .viminfo, .vimrc, .vim/ directory should be created after the first run /usr/bin/vim

whereis vi
whereis vim
ls -al /usr/bin/vi*

There are all symlinks on vim, right?
But in general,
ls -al ~ | grep vi
vim
:q
ls -al ~ | grep vi

… Show.

E
Evgeny Yablokov, 2012-06-18
@Gular

Have you tried putting .vimrc with any settings? Do they get picked up?

E
Evgeny Yablokov, 2012-06-19
@Gular

As I have seen, the .vimrc file is picked up when you start vim. It is very strange that the files with the directory were not created on the first run. Did you install things like macvim, or didn't you build from source?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question