{"id":476,"date":"2015-09-01T16:39:51","date_gmt":"2015-09-01T08:39:51","guid":{"rendered":"http:\/\/gnonstop.linkpc.net\/~gordon\/?p=476"},"modified":"2022-10-14T17:22:47","modified_gmt":"2022-10-14T09:22:47","slug":"nano-editor","status":"publish","type":"post","link":"https:\/\/guerilla.ddns.net\/wp\/?p=476","title":{"rendered":"nano editor"},"content":{"rendered":"<h2>Copy and Paste<\/h2>\n<p>cut current line: <kbd>Ctrl<\/kbd> + <kbd>K<\/kbd><br \/>\n&nbsp;<br \/>\ncopy a line: <kbd>ALT<\/kbd> + <kbd>6<\/kbd> (copy as many lines as you like, and they will be pasted in the order you copied them)<br \/>\n&nbsp;<br \/>\npaste the lines: <kbd>Ctrl<\/kbd> + <kbd>U<\/kbd><br \/>\n&nbsp;<br \/>\nor<br \/>\n&nbsp;<br \/>\nSelect: <kbd>ALT<\/kbd> + <kbd>M<\/kbd> + <kbd>A<\/kbd><br \/>\n&nbsp;<br \/>\nCopy: <kbd>ALT<\/kbd> + <kbd>6<\/kbd><br \/>\n&nbsp;<br \/>\nPaste: <kbd>CTRL<\/kbd> + <kbd>U<\/kbd><\/p>\n<h2>Search for text<\/h2>\n<p>Searching: <kbd>Ctrl<\/kbd> + <kbd>W<\/kbd><br \/>\n&nbsp;<br \/>\nRepeat the search: <kbd>Alt<\/kbd> + <kbd>W<\/kbd><br \/>\n&nbsp;<\/p>\n<h2>Delete lines<\/h2>\n<ol>\n<li>First, you need to press <kbd>CTRL<\/kbd> + <kbd>Shift<\/kbd> + <kbd>6<\/kbd> to mark the start of your block<\/li>\n<li>Now, shift the cursor to the end of the block with the arrow keys, and it will outline the text.<\/li>\n<li>Finally, press <kbd>CTRL<\/kbd> + <kbd>K<\/kbd> to cut\/delete a block and it will remove a line in nano.<\/li>\n<\/ol>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\nref: <a href=\"https:\/\/askubuntu.com\/questions\/47515\/any-way-to-search-for-text-within-nano\" target=\"_blank\" rel=\"noopener\">Any way to search for text within nano?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Copy and Paste cut current line: Ctrl + K &nbsp; copy a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[65,63,64,18],"class_list":["post-476","post","type-post","status-publish","format-standard","hentry","category-infotech","tag-editor","tag-linux","tag-nano","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=476"}],"version-history":[{"count":9,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions"}],"predecessor-version":[{"id":2705,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions\/2705"}],"wp:attachment":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}