{"id":41,"date":"2024-10-30T12:13:44","date_gmt":"2024-10-30T12:13:44","guid":{"rendered":"https:\/\/www.gahome.net\/?p=41"},"modified":"2024-10-30T12:19:23","modified_gmt":"2024-10-30T12:19:23","slug":"copy-and-paste-with-vim-nox","status":"publish","type":"post","link":"https:\/\/www.gahome.net\/index.php\/2024\/10\/30\/copy-and-paste-with-vim-nox\/","title":{"rendered":"Copy and Paste with vim-nox"},"content":{"rendered":"\n<p>If you use a non-clipboard enabled vim<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>(  it is not enabled if &#8220;<strong><code>:echo has('clipboard')<\/code>&#8220;<\/strong> returns 0  )<\/p>\n\n\n\n<p>edit this file:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">\/etc\/vim\/vimrc.local<\/pre>\n\n\n\n<p>and add this:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">\"\" disable special mouse handling<br>au BufReadPost,BufNewFile * set mouse=<\/pre>\n\n\n\n<p>Here is a sample vimrc.local file with other useful options:<\/p>\n\n\n\n<pre class=\"wp-block-verse\">\"\" disable special mouse handling<br>au BufReadPost,BufNewFile * set mouse=<br>\"\" enable syntax highlighting<br>syntax on<br>\"\" Show (partial) command in status line.<br>set showcmd<br>\"\" Show matching brackets.<br>set showmatch<br>\"\" Do case insensitive matching<br>set ignorecase<br>\"\" Do smart case matching<br>set smartcase<br>\"\" Incremental search<br>set incsearch<br>\"\" Highlight search<br>set hlsearch<br>\"\" default colorscheme<br>colorscheme desert<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use a non-clipboard enabled vim<\/p>\n","protected":false},"author":1,"featured_media":43,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":2,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/posts\/41\/revisions\/45"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/media\/43"}],"wp:attachment":[{"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gahome.net\/index.php\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}