<p>There are a few things. First of why is there a <code>/home/vagrant/.vimrc</code> in the first place? Second why does it contain <code>^M</code> (that's effectively <code>\r</code>), in there? <code>dos2unix</code> on <code>/home/vagrant/.vimrc</code> should fix that.</p>
<p>Are you using WSL by any chance? I'm unsure how windows line endings could end up in your <code>.vimrc</code> otherwise.</p>

CC BY-SA 4.0
2022-01-16T19:37:11.277Z
I'm not using WSL, just using Windows 10 command prompt.

To your first two questions I don't really have an answer, I haven't done anything beyond installing Vagrant & Oracle VM and then the followed the steps indicated in that post.

I tried what you suggested but still doesn't work, I'm getting a new error now I believe ?

Error detected while processing function <SNR>8_install[1]..<SNR>8_update_impl[
    plutus-node-1: 114]..<SNR>8_update_vim[4]..<SNR>8_tick:
    plutus-node-1: line   17:
    plutus-node-1: E117: Unknown function: coc#status
dibrickishaw
CC BY-SA 4.0
2022-01-16T13:41:42.787Z
2022-01-16T13:41:42.787Z
angerman
<p>I'm following <a href="https://docs.plutus-community.com/docs/setup/Vagrant.html" rel="nofollow noreferrer">this</a> guide for setting up my Plutus Environment which uses Vagrant &amp; VirtualBox.</p>
<p>At the step:</p>
<blockquote>
<p>In the Vagrantfile directory run &amp; wait for provisioning to finish:
<code>vagrant up</code></p>
</blockquote>
<p>I run into multiple Vim errors-</p>
<pre><code>plutus-node-1: Vim: Warning: Output is not to a terminal
plutus-node-1: Vim: Warning: Input is not from a terminal
plutus-node-1: Error detected while processing /home/vagrant/.vimrc:
plutus-node-1: line    1:
plutus-node-1: E488: Trailing characters
plutus-node-1: line    2:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    3:
plutus-node-1: E116: Invalid arguments for function plug#
plutus-node-1: line    4:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    5:
plutus-node-1: E488: Trailing characters
plutus-node-1: line    6:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    7:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line   10:
plutus-node-1: E474: Invalid argument: encoding=utf-8^M
plutus-node-1: line   11:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line   13:
plutus-node-1: E488: Trailing characters: hidden^M
plutus-node-1: line   14:
plutus-node-1: E492: Not an editor command: ^M

Vim: Error reading input, exiting...d/j: screen/page/line down, b/u/k: up, q: quit
plutus-node-1: Vim: Finished.
plutus-node-1: Press ENTER or type command to continueVim: Error reading input, exiting...
plutus-node-1: Vim: Finished.
</code></pre>
<p>Any ideas?</p>

CC BY-SA 4.0
2022-01-16T03:51:36.470Z
Welcome to Cardano SE! As a new user be sure to take the [Tour].
gRebel
<plutus-pioneer-program><error>
Vim errors when setting up Plutus Environment
# Vim errors when setting up Plutus Environment

(Asked by: username_0 on 2022-01-16)

I'm following this guide for setting up my Plutus Environment which uses Vagrant & VirtualBox.
At the step:

In the Vagrantfile directory run & wait for provisioning to finish:
vagrant up

I run into multiple Vim errors-
plutus-node-1: Vim: Warning: Output is not to a terminal
plutus-node-1: Vim: Warning: Input is not from a terminal
plutus-node-1: Error detected while processing /home/vagrant/.vimrc:
plutus-node-1: line    1:
plutus-node-1: E488: Trailing characters
plutus-node-1: line    2:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    3:
plutus-node-1: E116: Invalid arguments for function plug#
plutus-node-1: line    4:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    5:
plutus-node-1: E488: Trailing characters
plutus-node-1: line    6:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line    7:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line   10:
plutus-node-1: E474: Invalid argument: encoding=utf-8^M
plutus-node-1: line   11:
plutus-node-1: E492: Not an editor command: ^M
plutus-node-1: line   13:
plutus-node-1: E488: Trailing characters: hidden^M
plutus-node-1: line   14:
plutus-node-1: E492: Not an editor command: ^M

Vim: Error reading input, exiting...d/j: screen/page/line down, b/u/k: up, q: quit
plutus-node-1: Vim: Finished.
plutus-node-1: Press ENTER or type command to continueVim: Error reading input, exiting...
plutus-node-1: Vim: Finished.

Any ideas?

**Tags:** plutus-pioneer-program, error
> **Comments:**
> **username_1**: Welcome to Cardano SE! As a new user be sure to take the [Tour].  

---

## 1 answers

### Answer by username_2 on 2022-01-16. Score: 1

There are a few things. First of why is there a `/home/vagrant/.vimrc` in the first place? Second why does it contain `^M` (that's effectively `\r`), in there? `dos2unix` on `/home/vagrant/.vimrc` should fix that.

Are you using WSL by any chance? I'm unsure how windows line endings could end up in your `.vimrc` otherwise.

> **Comments:**
> **username_0**: I'm not using WSL, just using Windows 10 command prompt.  To your first two questions I don't really have an answer, I haven't done anything beyond installing Vagrant & Oracle VM and then the followed the steps indicated in that post.  I tried what you suggested but still doesn't work, I'm getting a new error now I believe ?  Error detected while processing function <SNR>8_install[1]..<SNR>8_update_impl[     plutus-node-1: 114]..<SNR>8_update_vim[4]..<SNR>8_tick:     plutus-node-1: line   17:     plutus-node-1: E117: Unknown function: coc#status  

---

