I like beverages.
ryanpcmcquen / fix-vim-pasting Goto Github PK
View Code? Open in Web Editor NEWBecause it should work.
Home Page: http://www.vim.org/scripts/script.php?script_id=5602
License: Mozilla Public License 2.0
Because it should work.
Home Page: http://www.vim.org/scripts/script.php?script_id=5602
License: Mozilla Public License 2.0
Hi, thanks for this. I got to your repo from your coderwall comment which said this works in tmux. I'm seeing it work fine in vim
, but not vim
inside of tmux
. I'm using tmux
2.2
For this plugin to work, it appears that all types of automatic indenting must be off, i.e.,
set noautoindent
set nosmartindent
set nocindent
must be in your .vimrc
. (Not sure if any type of automatic indenting affects the other.)1 Checked both in and out of tmux.
I realize this was addressed in #2, but I'm hoping it's possible to add an "automatic indentation toggle" to the plugin. I like some automatic indenting, and it doesn't really save any time if I have to call set noautoindent
and set autoindent
every time I paste.
1. I did a bit of experimentation with set paste
and noted that set paste
followed by set autoindent
(or either of the other two automatic indenting settings) still broke pasting, with or without this plugin, even though I was still in paste insert mode. So it seems that set paste
may just do the above disabling of automatic indenting (among other things) and we can break it be re-enabling them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.