I'm trying to paste from Google Chrome into my terminal running vim but for some reason the code gets cut off.
For example I'll copy:
{% extends 'blog/base.html' %}
{% block content %}
<h1>New post</h1>
<form method="POST" class="post-form">{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="save btn btn-default">Save</button>
</form>
{% endblock %}
But then it will come out as:
g/base.html' %}
{% block content %}
<h1>New post</h1>
<form method="POST" class="post-form">{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="save btn btn-default">Save</button>
</form>
{% endblock %}
:set pastefirst), or use either"+por"*p(depending on the clipboard used to copy the text) in normal mode.