{"id":2705,"date":"2021-11-28T13:11:46","date_gmt":"2021-11-28T12:11:46","guid":{"rendered":"https:\/\/blog.datentraeger.li\/?p=2705"},"modified":"2021-11-28T13:13:30","modified_gmt":"2021-11-28T12:13:30","slug":"vim-copy-und-paste","status":"publish","type":"post","link":"https:\/\/blog.datentraeger.li\/?p=2705","title":{"rendered":"vim copy und paste"},"content":{"rendered":"\n<p>Wenn man in vim z.B. aus dem Browser was reinkopiert, macht er automatisch autoindent, was in dem Fall meist l\u00e4stigt ist&#8230; darum nur so zur Dokumentation&#8230;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>line\n  line\n    line<\/code><\/pre>\n\n\n\n<p>Das l\u00e4sst sich aber ganz einfach <a href=\"https:\/\/stackoverflow.com\/questions\/2514445\/turning-off-auto-indent-when-pasting-text-into-vim\" data-type=\"URL\" data-id=\"https:\/\/stackoverflow.com\/questions\/2514445\/turning-off-auto-indent-when-pasting-text-into-vim\" target=\"_blank\" rel=\"noreferrer noopener\">ausschalten<\/a>: vor dem Einf\u00fcgen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>:set paste<\/code><\/pre>\n\n\n\n<p>Wenn man fertig mit kopieren ist, einfach wieder nopaste aktivieren, fertig..<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>:set nopaste<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"Wenn man in vim z.B. aus dem Browser was reinkopiert, macht er automatisch autoindent, was in dem Fall meist l\u00e4stigt ist&#8230; darum nur so zur Dokumentation&#8230;. Das l\u00e4sst sich aber ganz einfach ausschalten: vor dem Einf\u00fcgen: Wenn man fertig mit kopieren ist, einfach wieder nopaste aktivieren, fertig..\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,51],"tags":[],"class_list":["post-2705","post","type-post","status-publish","format-standard","hentry","category-cli","category-vim"],"_links":{"self":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/2705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2705"}],"version-history":[{"count":4,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/2705\/revisions"}],"predecessor-version":[{"id":2710,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/2705\/revisions\/2710"}],"wp:attachment":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}