{"id":64121,"date":"2025-01-15T20:10:41","date_gmt":"2025-01-15T20:10:41","guid":{"rendered":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/"},"modified":"2025-01-15T20:12:01","modified_gmt":"2025-01-15T20:12:01","slug":"4-ways-to-change-the-default-text-editor-on-linux","status":"publish","type":"post","link":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/","title":{"rendered":"4 Ways to Change the Default Text Editor on Linux"},"content":{"rendered":"<p> <a href=\"https:\/\/go.fiverr.com\/visit\/?bta=1052423&nci=17043\" Target=\"_Top\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"https:\/\/fiverr.ck-cdn.com\/tn\/serve\/?cid=40081059\"  width=\"601\" height=\"201\"><\/a>\n<\/p>\n<div>\n<p>Do not just like the default textual content editor in your Linux distro and need to change it to one thing else? It is fairly easy to do with just a few quick instructions. I am going to stroll you thru a number of methods you are able to do it, irrespective of which Linux model you are utilizing.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":0,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":0,\"nbrPlacementsScanned\":0,\"ruleCount\":400,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":242} --><br \/>\n<!-- No winning ad found for zone: below first paragraph! --><\/p>\n<section class=\"emaki-custom-block emaki-custom-note\">\n<div class=\"emaki-custom note\" id=\"custom_block_1\">\n<div class=\"custom_block-content note\">\n<p>For this information, I am utilizing Ubuntu 24.04 LTS. Should you&#8217;re utilizing a distinct distro, you&#8217;ll be able to nonetheless observe alongside as most if not all of the instructions are the identical.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":0,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":0,\"nbrPlacementsScanned\":0,\"ruleCount\":400,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":482} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":0,\"ruleCount\":400,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":400,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/section>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":0} --><br \/>\n<!-- No winning ad found for zone: native in content! --><\/p>\n<h2 id=\"checking-current-default-text-editor\"> Checking Present Default Textual content Editor <\/h2>\n<p>Earlier than altering the default textual content editor, it is good to know the present default one set in your Linux distro. To try this, you&#8217;ll be able to examine the $EDITOR variable by operating this command:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":180} --><\/p>\n<pre>echo $EDITOR<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":192} --><\/p>\n<p>Nonetheless, in case your $EDITOR variable will not be set, you won&#8217;t get any output in return. If that is the case, you may also examine the default editor utilizing this command:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":355} --><\/p>\n<pre>sudo visudo<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":366} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:71.445929526124%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"823\" height=\"588\" loading=\"lazy\" decoding=\"async\" alt=\"Running the visudo command to check the default text editor on Linux.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-visudo-command-to-check-the-default-text-editor-on-linux.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":606} --><\/p>\n<p>The file was opened in <a href=\"https:\/\/www.howtogeek.com\/42980\/the-beginners-guide-to-nano-the-linux-command-line-text-editor\/\" target=\"_blank\">the nano editor<\/a>. So, that is my default editor.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":676} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":676} --><\/p>\n<h2 id=\"changing-the-default-text-editor\"> Altering the Default Textual content Editor <\/h2>\n<p>Now that you recognize your present default editor, let&#8217;s discover how one can change it.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":759} --><\/p>\n<h3 id=\"using-select-editor\"> Utilizing select-editor <\/h3>\n<p>The select-editor command lets you choose a per-user editor. It selects your most popular <a href=\"https:\/\/manpages.ubuntu.com\/manpages\/noble\/man1\/select-editor.1.html\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">sensible-editor<\/a>. Run the command:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":879} --><\/p>\n<pre>select-editor<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":892} --><\/p>\n<p>You may see a number of editors listed subsequent to a quantity. Kind within the quantity for the default editor you need and hit Enter.<\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":1009} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":1,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":1000,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:70.88915956151%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"821\" height=\"582\" loading=\"lazy\" decoding=\"async\" alt=\"Changing the default editor on Linux using the select-editor command.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-select-editor-command.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":240} --><\/p>\n<p>For demonstration, I am coming into 2 to vary the default editor to <a href=\"https:\/\/www.howtogeek.com\/vim-tips-that-will-save-you-hours-of-editing-time\/\" target=\"_blank\">Vim<\/a>. To examine if it was profitable, run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":346} --><\/p>\n<pre>cat ~\/.selected_editor<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":368} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:72.067714631197%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"827\" height=\"596\" loading=\"lazy\" decoding=\"async\" alt=\"Checking the selected_editor file to find the current default editor.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-the-selected_editor-file-to-find-the-current-default-editor.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":608} --><\/p>\n<p> It ought to present you the editor you simply chosen.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":657} --><\/p>\n<h3 id=\"using-the-update-alternatives-command\"> Utilizing the update-alternatives Command <\/h3>\n<p>The update-alternatives command helps you to keep symbolic hyperlinks that decide default instructions. You should use this to vary default behaviors reminiscent of which editor to open for a system name. In contrast to the select-editor instrument, this can be a system-wide selector. To make use of this command for altering the editor, run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":960} --><\/p>\n<pre>sudo update-alternatives --config editor<\/pre>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":1000} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":2,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":1000,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>Then choose the quantity on your most popular editor and press Enter.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":65} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:71.585365853659%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"820\" height=\"587\" loading=\"lazy\" decoding=\"async\" alt=\"Changing the default editor on Linux using the update-alternatives command.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/changing-the-default-editor-on-linux-using-the-update-alternatives-command.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":305} --><\/p>\n<p>Now, to examine if you happen to modified it efficiently, run the under command:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":373} --><\/p>\n<pre>ls -l \/usr\/bin\/editor \/and many others\/options\/editor<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":419} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:71.100362756953%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"827\" height=\"588\" loading=\"lazy\" decoding=\"async\" alt=\"Checking if update-alternatives could change the default editor.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/checking-if-update-alternatives-could-change-the-default-editor.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":659} --><\/p>\n<p>In my case, the editor was modified from nano to Vim efficiently.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":724} --><\/p>\n<h3 id=\"editing-the-editor-environment-variable\"> Enhancing the EDITOR Surroundings Variable <\/h3>\n<p>If the above strategies did not be just right for you, or your distro would not help them, then contemplate <a href=\"https:\/\/www.howtogeek.com\/668503\/how-to-set-environment-variables-in-bash-on-linux\/\" target=\"_blank\">configuring the necessary environment variables<\/a>, which I am going to cowl on this and the following technique.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":911} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":1000,\"actualCount\":911,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":89,\"nextBlockCount\":254,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1165} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":1000} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":3,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<p>First, open your shell configuration file in a textual content editor. Since I am utilizing <a href=\"https:\/\/www.howtogeek.com\/808593\/bash-script-examples\/\" target=\"_blank\">Bash<\/a> on Ubuntu, I will be working with the <a href=\"https:\/\/www.howtogeek.com\/the-linux-bashrc-file-explained\/\" target=\"_blank\">.bashrc<\/a> file. In different circumstances, this could possibly be the bash_profile file or one other file relying in your shell. To open the file in nano, run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":165} --><\/p>\n<pre>nano ~\/.bashrc<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":179} --><\/p>\n<p>Then add this line to the tip of the file:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":221} --><\/p>\n<pre>export EDITOR=\/path\/to\/your\/most popular\/editor<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":265} --><\/p>\n<p>For instance, for Vim, the road could be as follows:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":316} --><\/p>\n<pre>export EDITOR=\/usr\/bin\/vim<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":342} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:72.515337423313%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"815\" height=\"591\" loading=\"lazy\" decoding=\"async\" alt=\"Setting the EDITOR environment variable in the bashrc file.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-editor-environment-variable-in-the-bashrc-file.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":582} --><\/p>\n<p>Should you&#8217;re unsure the place your editor is positioned, you&#8217;ll be able to write the road like this:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":664} --><\/p>\n<pre>export EDITOR=$(which vim)<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":690} --><\/p>\n<p>This technique makes use of the <a href=\"https:\/\/www.howtogeek.com\/450894\/how-to-use-the-which-command-on-linux\/\" target=\"_blank\">which command on Linux<\/a> to find Vim. As soon as you have written the road, save the file with Ctrl+O after which exit nano utilizing the Ctrl+X buttons.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":849} --><\/p>\n<p>This is a one-liner you&#8217;ll be able to run in your terminal to do the entire thing:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":919} --><\/p>\n<pre>echo \"export EDITOR='\/usr\/bin\/vim'\" &gt;&gt; ~\/.bashrc<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":973} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":1000,\"actualCount\":973,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":27,\"nextBlockCount\":97,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1070} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":1000} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":4,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<p>After doing this, you must make the adjustments take impact by sourcing the file. To try this, run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":70} --><\/p>\n<pre>supply ~\/.bashrc<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":86} --><\/p>\n<p>Now check if the variable was set correctly by operating:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":139} --><\/p>\n<pre>echo $EDITOR<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":151} --><\/p>\n<p>It ought to present the textual content editor you had simply set and use it as default.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":221} --><\/p>\n<h3 id=\"editing-the-visual-environment-variable\"> Enhancing the VISUAL Surroundings Variable <\/h3>\n<p>The VISUAL variable&#8217;s editor is able to superior terminal functionalities and helps full-screen editors reminiscent of nano, emacs, vim, and many others. The EDITOR variable&#8217;s editor would not have such privileges, which makes them a bit completely different. You may set the VISUAL variable in your shell configuration file the identical manner you set the EDITOR variable.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":561} --><\/p>\n<pre>echo \"export VISUAL='\/path\/to\/your\/most popular\/editor'\" &gt;&gt; ~\/.bashrc<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":633} --><\/p>\n<p>Then run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":642} --><\/p>\n<pre>supply ~\/.bashrc<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":658} --><\/p>\n<p>See if you happen to&#8217;ve efficiently set the VISUAL variable.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":709} --><\/p>\n<pre>echo $VISUAL<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":721} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:71.638141809291%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"818\" height=\"586\" loading=\"lazy\" decoding=\"async\" alt=\"Setting the VISUAL environment variable in the bashrc file.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/setting-the-visual-environment-variable-in-the-bashrc-file.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":961} --><\/p>\n<p>As anticipated, that labored efficiently.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":999} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":999} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":1000,\"actualCount\":999,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":1,\"nextBlockCount\":212,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1211} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":1000} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":5,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<h2 id=\"testing-the-changes\"> Testing the Modifications <\/h2>\n<p>The very last thing to do is see if you happen to may efficiently change your default textual content editor to your most popular one. You may examine this in just a few alternative ways. For instance, you&#8217;ll be able to examine <a href=\"https:\/\/www.howtogeek.com\/410995\/how-to-change-the-default-crontab-editor\/\" target=\"_blank\">crontab&#8217;s editor<\/a>. To take action, run:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":211} --><\/p>\n<pre>crontab -e<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":221} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\" style=\"padding-bottom:71.603427172583%\" data-img-url=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png\" data-modal-id=\"single-image-modal\" data-modal-container-id=\"single-image-modal-container\" data-img-caption=\"&quot;&quot;\">\n<figure><picture><source media=\"(min-width: 1024px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 768px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=825&amp;dpr=1\"\/><source media=\"(min-width: 481px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=800&amp;dpr=1\"\/><source media=\"(min-width: 0px)\" data-srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\" srcset=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png?q=70&amp;fit=crop&amp;w=500&amp;dpr=1\"\/><img width=\"817\" height=\"585\" loading=\"lazy\" decoding=\"async\" alt=\"Running the crontab -e command to check the default editor.\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/2025\/01\/running-the-crontab-e-command-to-check-the-default-editor.png\" style=\"display:block;height:auto;max-width:100%;\"\/> <\/picture> <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":461} --><\/p>\n<p>As you&#8217;ll be able to see, my default textual content editor is now Vim versus nano.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":530} --><\/p>\n<p>One necessary factor to know is that there is an order of priority amongst these configurations. So, suppose that you simply used completely different strategies to outline completely different default editors. Which would be the default editor? To find out that, here is the order:<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":776} --><\/p>\n<ol>\n<li> Configuring the atmosphere variables will take the best priority and override all different settings for the present consumer. <\/li>\n<li> Software program that makes use of the select-editor command to know the default editor will use the ~\/.selected_editor file&#8217;s selection as a priority, once more for the present consumer. <\/li>\n<li> The system-wide configuration utilizing update-alternatives command takes the least priority and is overridden by the user-specific settings listed above. <\/li>\n<\/ol>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":1221} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":6,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":1000,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<hr\/>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":0} --><\/p>\n<p><a href=\"https:\/\/www.howtogeek.com\/essential-linux-text-editing-tools\/\" target=\"_blank\">Text editing on Linux<\/a> is without doubt one of the most typical issues to do and doing it in your favourite editor is a bonus. Should you do not just like the textual content editors you will have in your working system, you also needs to <a href=\"https:\/\/www.howtogeek.com\/trey-these-linux-text-editors\/\" target=\"_blank\">consider trying alternative<\/a> ones.<\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":1000,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":229} -->\n <\/div>\n<iframe src=\"https:\/\/www.fiverr.com\/gig_widgets?id=U2FsdGVkX18x7XQvttUTrv1oEqmGNGTgvvCUiUoJ\/AP4z\/UyMz8lXGOLpu15jIMxBbTR0gmD5uBoFvhC4KWeALQRp3h\/X\/AwcVD0K8Wj9H\/ZzYKzcCNHosB9oS4SCJJFWiN85P9ICAc4OgCoE\/wHKIY7CDkf2\/DQ1vqGvk4smVe5cRDEmrLPCWi4FC8p40VUhSmWQ5udCm0zoJtorgWv3vbDQw0kKYkwn39ozAnQXDe+YvWMxkLFWA+O3TFwkJvdkIK+\/AUSnRssPKt5WHY0FhNOxnSPcLslEL4G4\/RfP95ve99U+kRnDy3X+KtzdQLY+u935ghON\/o3UE4IMv9oN6JX9RnxzL\/LRcOgnHigxStSGPKsZYtnz8RWNVT\/rOLAibqiWJadC5MYHRbekF3eg6FOGrQGkXYbsn0+a5aovnlLCbLwIqY9fcS17UX8J235iQ6cdmHNbrPeS84CMm34RA==&affiliate_id=1052423&strip_google_tagmanager=true\" loading=\"lazy\" data-with-title=\"true\" class=\"fiverr_nga_frame\" frameborder=\"0\" height=\"350\" width=\"100%\" referrerpolicy=\"no-referrer-when-downgrade\" data-mode=\"random_gigs\" onload=\" var frame = this; var script = document.createElement('script'); script.addEventListener('load', function() { window.FW_SDK.register(frame); }); script.setAttribute('src', 'https:\/\/www.fiverr.com\/gig_widgets\/sdk'); document.body.appendChild(script); \" ><\/iframe>\n<br \/><a href=\"https:\/\/www.howtogeek.com\/change-the-default-text-editor-on-linux\/\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do not just like the default textual content editor in your Linux distro and need to change it to one thing else? It is fairly&#8230;<\/p>\n","protected":false},"author":1,"featured_media":64122,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-64121","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-universe"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>4 Ways to Change the Default Text Editor on Linux - mailinvest.blog<\/title>\n<meta name=\"description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"4 Ways to Change the Default Text Editor on Linux - mailinvest.blog\" \/>\n<meta property=\"og:description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"mailinvest.blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/freelanceracademic\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-15T20:10:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-15T20:12:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@mailinvest.blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@mailinvest.blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/\"},\"author\":{\"name\":\"admin@mailinvest.blog\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\"},\"headline\":\"4 Ways to Change the Default Text Editor on Linux\",\"datePublished\":\"2025-01-15T20:10:41+00:00\",\"dateModified\":\"2025-01-15T20:12:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/\"},\"wordCount\":938,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg\",\"articleSection\":[\"Tech Universe\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/\",\"name\":\"4 Ways to Change the Default Text Editor on Linux - mailinvest.blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg\",\"datePublished\":\"2025-01-15T20:10:41+00:00\",\"dateModified\":\"2025-01-15T20:12:01+00:00\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg\",\"width\":2400,\"height\":1600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2025\\\/01\\\/15\\\/4-ways-to-change-the-default-text-editor-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailinvest.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"4 Ways to Change the Default Text Editor on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"name\":\"mailinvest.blog\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailinvest.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\",\"name\":\"mailinvest\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"width\":1000,\"height\":1000,\"caption\":\"mailinvest\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/freelanceracademic\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\",\"name\":\"admin@mailinvest.blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"caption\":\"admin@mailinvest.blog\"},\"sameAs\":[\"https:\\\/\\\/mailinvest.blog\",\"admin@mailinvest.blog\"],\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/author\\\/adminmailinvest-blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"4 Ways to Change the Default Text Editor on Linux - mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"4 Ways to Change the Default Text Editor on Linux - mailinvest.blog","og_description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","og_url":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/","og_site_name":"mailinvest.blog","article_publisher":"https:\/\/www.facebook.com\/freelanceracademic\/","article_published_time":"2025-01-15T20:10:41+00:00","article_modified_time":"2025-01-15T20:12:01+00:00","og_image":[{"width":2400,"height":1600,"url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg","type":"image\/jpeg"}],"author":"admin@mailinvest.blog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin@mailinvest.blog","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#article","isPartOf":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/"},"author":{"name":"admin@mailinvest.blog","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4"},"headline":"4 Ways to Change the Default Text Editor on Linux","datePublished":"2025-01-15T20:10:41+00:00","dateModified":"2025-01-15T20:12:01+00:00","mainEntityOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/"},"wordCount":938,"commentCount":0,"publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg","articleSection":["Tech Universe"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/","url":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/","name":"4 Ways to Change the Default Text Editor on Linux - mailinvest.blog","isPartOf":{"@id":"https:\/\/mailinvest.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg","datePublished":"2025-01-15T20:10:41+00:00","dateModified":"2025-01-15T20:12:01+00:00","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","breadcrumb":{"@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#primaryimage","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2025\/01\/linux-mascot-wearing-sunglasses-with-a-terminal-in-the-background.jpg","width":2400,"height":1600},{"@type":"BreadcrumbList","@id":"https:\/\/mailinvest.blog\/index.php\/2025\/01\/15\/4-ways-to-change-the-default-text-editor-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailinvest.blog\/"},{"@type":"ListItem","position":2,"name":"4 Ways to Change the Default Text Editor on Linux"}]},{"@type":"WebSite","@id":"https:\/\/mailinvest.blog\/#website","url":"https:\/\/mailinvest.blog\/","name":"mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailinvest.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailinvest.blog\/#organization","name":"mailinvest","url":"https:\/\/mailinvest.blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","width":1000,"height":1000,"caption":"mailinvest"},"image":{"@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/freelanceracademic\/"]},{"@type":"Person","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4","name":"admin@mailinvest.blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","caption":"admin@mailinvest.blog"},"sameAs":["https:\/\/mailinvest.blog","admin@mailinvest.blog"],"url":"https:\/\/mailinvest.blog\/index.php\/author\/adminmailinvest-blog\/"}]}},"_links":{"self":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/64121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/comments?post=64121"}],"version-history":[{"count":1,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/64121\/revisions"}],"predecessor-version":[{"id":64123,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/64121\/revisions\/64123"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media\/64122"}],"wp:attachment":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media?parent=64121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/categories?post=64121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/tags?post=64121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}