Vim reads the vimrc, but e $MYVIMRC opens a new file
up vote
0
down vote
favorite
I installed vim end pasted my vimrc file in /home/user, vim reads the vimrc file perfectly fine, but when I type :e $MYVIMRC
it opens a new file named $MYVIMRC, why?
linux vim
add a comment |
up vote
0
down vote
favorite
I installed vim end pasted my vimrc file in /home/user, vim reads the vimrc file perfectly fine, but when I type :e $MYVIMRC
it opens a new file named $MYVIMRC, why?
linux vim
What does:echo $MYVIMRC
give you?
– Ingo Karkat
Nov 7 at 14:34
Both Vim 8 and neovim support:e $MYVIMRC
.
– Jim Stewart
Nov 7 at 15:50
:echo $MYVIMRC
doesn't give any output, nothing happens.
– KeyboardDestroyer
Nov 8 at 15:16
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed vim end pasted my vimrc file in /home/user, vim reads the vimrc file perfectly fine, but when I type :e $MYVIMRC
it opens a new file named $MYVIMRC, why?
linux vim
I installed vim end pasted my vimrc file in /home/user, vim reads the vimrc file perfectly fine, but when I type :e $MYVIMRC
it opens a new file named $MYVIMRC, why?
linux vim
linux vim
asked Nov 7 at 14:22
KeyboardDestroyer
62
62
What does:echo $MYVIMRC
give you?
– Ingo Karkat
Nov 7 at 14:34
Both Vim 8 and neovim support:e $MYVIMRC
.
– Jim Stewart
Nov 7 at 15:50
:echo $MYVIMRC
doesn't give any output, nothing happens.
– KeyboardDestroyer
Nov 8 at 15:16
add a comment |
What does:echo $MYVIMRC
give you?
– Ingo Karkat
Nov 7 at 14:34
Both Vim 8 and neovim support:e $MYVIMRC
.
– Jim Stewart
Nov 7 at 15:50
:echo $MYVIMRC
doesn't give any output, nothing happens.
– KeyboardDestroyer
Nov 8 at 15:16
What does
:echo $MYVIMRC
give you?– Ingo Karkat
Nov 7 at 14:34
What does
:echo $MYVIMRC
give you?– Ingo Karkat
Nov 7 at 14:34
Both Vim 8 and neovim support
:e $MYVIMRC
.– Jim Stewart
Nov 7 at 15:50
Both Vim 8 and neovim support
:e $MYVIMRC
.– Jim Stewart
Nov 7 at 15:50
:echo $MYVIMRC
doesn't give any output, nothing happens.– KeyboardDestroyer
Nov 8 at 15:16
:echo $MYVIMRC
doesn't give any output, nothing happens.– KeyboardDestroyer
Nov 8 at 15:16
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53191351%2fvim-reads-the-vimrc-but-e-myvimrc-opens-a-new-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What does
:echo $MYVIMRC
give you?– Ingo Karkat
Nov 7 at 14:34
Both Vim 8 and neovim support
:e $MYVIMRC
.– Jim Stewart
Nov 7 at 15:50
:echo $MYVIMRC
doesn't give any output, nothing happens.– KeyboardDestroyer
Nov 8 at 15:16