Debian Default editor nano usage

Source: Internet
Author: User
Debian Default editor nano usage here declare ^ represents the ctrl key on the keyboard, as long as the previous programming friends should be clear, ^ G represents pressing ctrl and g (F1) at the same time) the same is true for pressing (F1). M-indicates using alt + followed by the key ^ GF1) Invokethehelp... debian Default editor nano usage here declare ^ represents the ctrl key on the keyboard, as long as the previous programming friends should be clear, ^ G represents pressing ctrl and g (F1) at the same time) the same is true for pressing (F1), and M-indicates using alt + followed by the key ^ G = F1) Invoke the help menu to call the help menu ^ X = (F2) close currently loaded file/Exit from nano Exit ^ O = (F3) Write the current file to disk = ^ O WriteOut save and press enter to save ^ J = (F4) just Ify the current paragraph to adjust the current section (the configuration file should not use this item, and the format will go wrong) ^ R = (F5) insert another file into the current one Insert other files to the current file, and support tab ^ W = (F6) when searching for files) search for text within the editor find ^ Y = (F7) Move to the previous screen on the screen ^ V = (F8) move to the next screen ^ K = (F9) Cut the current line and store it in the cutbuffer Cut the current row and save it in the buffer ^ U = (F10) uncut from the cutbuffer into the current line will Paste something in the buffer to this ^ C = (F11) Show the position of the cursor display cursor position ^ T = (F12) Invoke the spell checker, if available calls the spelling check program ^ P Move up one line ^ N Move down one line Move down one ^ F Move forward one character Move forward one cursor ^ B Move back one character move the cursor backward to A grid ^ A Move to the beginning of the current line ^ E Move to the end of the current line ^ L Refresh (redraw) the current screen refreshes the current screen ^ (M-A) mark text at the current cursor location Mark text ^ D Delete the character under the cursor Delete a letter after the cursor ^ H Delete the character to the left of the cursor Delete a letter to the left ^ I insert a tab character Insert a tab value ^ \ (F14) (M-R) Replace text within the editor find and Replace ^ M Insert a carriage return at the cursor position Insert a carriage return ^ _ (F13) (M-G) go to a specific line number jump to a line ^ Space Move forward one word forward a word M-S Pace Move backward one word back a word M-] Find other bracket search for the next brace M-<Open previusly loaded file Open the previously loaded file M-> Open next loaded file Open next loaded file M-C Constant cursor position enable/disable M-I Auto indent enable/disable whether first line indent M-Z Suspend enable/disable whether hanging M-X Help mode enable/disable Help mode M-M Mouse support enable/disable Mouse support m-Y Color syntax highlighting enable/disable syntax highlight this is exited Oh good nano Edit This is more. In addition, if you are not familiar with the nano editor, you can switch back to VI. Run the following command: # update-alternatives -- config editor has the following interface: There are 3 alternatives which provide 'editor '. selection Alternative ----------------------------------------------- 1/bin/ed + 2/bin/nano * 3/usr/bin/vim. tiny Press enter to keep the default [*], or type selection number: Select 3 and use/usr/bin/vim.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.