In certain situations emacsEmacs doesn't properly paste text. Apparently this only happens if the current buffer isn't saved and both web-mode and evil-mode are loaded. I was able to reproduce this behavior with the following config:
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(require 'evil)
(evil-mode 1)
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode))
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(require 'evil)
(evil-mode 1)
(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode))
function test() {
console.log('hello world');
}
function test() {
console.log('hello world');
}
function test() {
tes
console.log('hello world');
}
function test() {
console.log('hello world');
}
function test() {
tes
console.log('hello world');
}
function test() {
console.log('hello world');
}
function ttestest() {
console.log('hello world');
}
function test() {
console.log('hello world');
}
function ttestest() {
console.log('hello world');
}
function test() {
console.log('hello world');
}