{"id":71346,"date":"2020-02-25T11:36:43","date_gmt":"2020-02-25T08:36:43","guid":{"rendered":"https:\/\/prohoster.info\/blog\/nano-ili-minimalistichnyj-ide"},"modified":"2020-03-03T16:14:26","modified_gmt":"2020-03-03T13:14:26","slug":"nano-ili-minimalistichnyj-ide","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pt\/blog\/administrirovanie\/nano-ili-minimalistichnyj-ide","title":{"rendered":"Nano ou IDE minimalista","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Neste artigo, gostaria de mostrar a voc\u00ea o poder e a beleza do editor de texto de console nano, simples e discreto \u00e0 primeira vista.<\/p>\n<p><img decoding=\"async\" alt=\"Nano ou IDE minimalista\" src=\"\/wp-content\/uploads\/2020\/02\/cfcf57b813dac490c2896397f46f87d5.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>Introdu\u00e7\u00e3o<\/h3>\n<p>\nOs desenvolvedores realmente prepararam muitas funcionalidades \u00fateis para voc\u00ea, sobre as quais voc\u00ea pode n\u00e3o ter ideia, como: autoindenta\u00e7\u00f5es, navega\u00e7\u00e3o para par\u00eanteses correspondentes e at\u00e9 preenchimento autom\u00e1tico! Vamos por partes.<\/p>\n<h3>Atalhos de teclado padr\u00e3o<\/h3>\n<p>\nM \u2014 tecla modificadora (por padr\u00e3o Alt); ^ \u2014 Control;<br \/>\nSele\u00e7\u00e3o com Shift+seta.<\/p>\n<p><b class=\"spoiler_title\">Os mais \u00fateis, na minha opini\u00e3o<\/b><code>| ^ | substitui\u00e7\u00f5es, m\u00faltiplas, seletivas e completas s\u00e3o poss\u00edveis<br \/>\n| ^w | busca<br \/>\n| ^k | corta a linha onde o cursor est\u00e1 ou a parte selecionada do texto<br \/>\n| ^u | colar<br \/>\n|^\u2347\u2348\u2350\u2357| pula para a pr\u00f3xima palavra ou par\u00e1grafo. <br \/>\n| ^Y | move o cursor para o in\u00edcio do arquivo<br \/>\n| ^] | termina a palavra, ao pressionar novamente insere outra op\u00e7\u00e3o (autocompletar)<br \/>\n| ^c | informa\u00e7\u00f5es sobre a posi\u00e7\u00e3o do cursor<br \/>\n|M-\u2347\u2348 | navega\u00e7\u00e3o entre buffers (abas) abertos<br \/>\n|M-\u2350\u2357 | rolagem suave<br \/>\n| M-u | desfazer (funciona enquanto houver o que desfazer)<br \/>\n| M-] | para a chave correspondente<br \/>\n| M-n | liga\/desliga a numera\u00e7\u00e3o de linhas (\u00fatil ao copiar e colar)<br \/>\n| M-i | liga\/desliga a indenta\u00e7\u00e3o autom\u00e1tica<br \/>\n<\/code><br \/>\nEspero que n\u00e3o tenha esquecido nada...<\/p>\n<h3>Configura\u00e7\u00f5es<\/h3>\n<p>\nVamos ao que interessa... Concorde que sem editar as configura\u00e7\u00f5es, o Linux j\u00e1 n\u00e3o \u00e9 mais Linux.<\/p>\n<p>Ent\u00e3o, a configura\u00e7\u00e3o principal fica em \/etc\/nanorc, para realce de sintaxe \u2014 em \/usr\/share\/nano\/*<br \/>\nBasicamente, d\u00e1 para fazer muita coisa interessante, <\/p>\n<p><b class=\"spoiler_title\">por exemplo<\/b><code>| set autoindent | ativa a autoindenta\u00e7\u00e3o<br \/>\n| set backup | ativa a cria\u00e7\u00e3o de backups<br \/>\n| set mouse | ativa o suporte a mouse (\u00e9 muito mais conveniente com ele)<br \/>\n| set multibuffer | permite copiar e colar de um buffer de arquivo (guia) nano para outro<br \/>\n| set nohelp | desativa as dicas na parte inferior, aumentando o espa\u00e7o \u00fatil<br \/>\n| set tabsize N | define o tamanho das tabula\u00e7\u00f5es N<br \/>\n|set tabstospaces| converte tabula\u00e7\u00f5es em espa\u00e7os<br \/>\n| bind|unbind | altera as teclas de atalho<br \/>\n<\/code><\/p>\n<p>Na configura\u00e7\u00e3o para sintaxe, voc\u00ea pode definir\/alterar cores<br \/>\n<code>cor &lt;nome da cor&gt; &lt;&quot;express\u00e3o regular&quot;&gt; <\/code><br \/>\nEmbora seja melhor se voc\u00ea mesmo mergulhar l\u00e1 e fazer tudo do jeito que voc\u00ea precisa.<\/p>\n<p>Ali\u00e1s, \u00e9 melhor copiar as configura\u00e7\u00f5es necess\u00e1rias para a pasta inicial, para que n\u00e3o sejam sobrescritas ap\u00f3s cada atualiza\u00e7\u00e3o.<\/p>\n<h3>Conclus\u00e3o<\/h3>\n<p>\nComo voc\u00ea pode ver, o nano tem uma funcionalidade bastante rica e \u00e9 f\u00e1cil de personalizar profundamente.<\/p>\n<p>Boa sorte!<br \/>\n<br \/>Fonte: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/489542\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u043c\u043e\u0449\u044c \u0438 \u043a\u0440\u0430\u0441\u043e\u0442\u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 nano, \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0438 \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434. \u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0441\u0442\u0435\u0439 \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u0440\u0438\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438, \u043e \u0447\u0451\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043f\u043e\u0434\u043e\u0437\u0440\u0435\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: \u0430\u0432\u0442\u043e\u043e\u0442\u0441\u0442\u0443\u043f\u044b, \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u043f\u0430\u0440\u043d\u0443\u044e \u0441\u043a\u043e\u0431\u043a\u0443 \u0438 \u0434\u0430\u0436\u0435 \u0430\u0432\u0442\u043e\u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430! \u041f\u043e\u0439\u0434\u0435\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0433\u043e\u0440\u044f\u0447\u0438\u0435 \u043a\u043b\u0430\u0432\u0438\u0448\u0438 \u041c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":71347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-71346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u043c\u043e\u0449\u044c \u0438 \u043a\u0440\u0430\u0441\u043e\u0442\u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 nano, \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0438 \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pt\/blog\/administrirovanie\/nano-ili-minimalistichnyj-ide\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Nano \u0438\u043b\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 IDE | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u043c\u043e\u0449\u044c \u0438 \u043a\u0440\u0430\u0441\u043e\u0442\u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 nano, \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0438 \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pt\/blog\/administrirovanie\/nano-ili-minimalistichnyj-ide\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-25T08:36:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-03T13:14:26+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Nano ou IDE minimalista | ProHoster","description":"Neste artigo, gostaria de mostrar a voc\u00ea o poder e a beleza do editor de texto de console nano, simples e discreto \u00e0 primeira vista.","canonical_url":"https:\/\/prohoster.info\/pt\/blog\/administrirovanie\/nano-ili-minimalistichnyj-ide","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pt_PT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Nano \u0438\u043b\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439 IDE | ProHoster","og:description":"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0430\u043c \u043c\u043e\u0449\u044c \u0438 \u043a\u0440\u0430\u0441\u043e\u0442\u0443 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 nano, \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0438 \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u043e\u0433\u043e \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434.","og:url":"https:\/\/prohoster.info\/pt\/blog\/administrirovanie\/nano-ili-minimalistichnyj-ide","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-25T08:36:43+00:00","article:modified_time":"2020-03-03T13:14:26+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"71346","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:03:24","updated":"2022-10-09 08:16:09","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/71346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=71346"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/71346\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media\/71347"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=71346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=71346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=71346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}