File Save current file Ctrl+S Offer to write file ("Save as") Ctrl+O Insert a file into current one Ctrl+R Close buffer, exit from nano Ctrl+X Editing Cut current line into cutbuffer Ctrl+K Copy current line into cutbuffer Alt+6 Paste contents of cutbuffer Ctrl+U Cut until end of buffer Alt+T Complete current word Ctrl+] Comment/uncomment line/region Alt+3 Undo last action Alt+U Redo last undone action Alt+E Search Start backward search Ctrl+Q Start forward search Ctrl+W Find next occurrence backward Alt+Q Find next occurrence forward Alt+W Start a replacing session Alt+R Deletion Delete character before cursor Ctrl+H Delete character under cursor Ctrl+D Delete word to the left Ctrl+Shift+Del Delete word to the right Ctrl+Del Delete current line Alt+Del Operations Run a spell check Ctrl+T Justify paragraph or region Ctrl+J Justify entire buffer Alt+J Run a syntax check Alt+B Run a formatter/fixer/arranger Alt+F Start/stop recording of macro Alt+: Replay macro Alt+; Moving One character backward Ctrl+B One character forward Ctrl+F One word backward Ctrl+← One word forward Ctrl+→ To start of line Ctrl+A To end of line Ctrl+E One line up Ctrl+P One line down Ctrl+N To previous block Ctrl+↑ To next block Ctrl+↓ One page up Ctrl+Y One page down Ctrl+V To top of buffer Alt+\ To end of buffer Alt+/ Special Go to specified line Alt+G Go to complementary bracket Alt+] Scroll viewport up Alt+↑ Scroll viewport down Alt+↓ Switch to preceding buffer Alt+< Switch to succeeding buffer Alt+> Information Report cursor position Ctrl+C Report word/line/char count Alt+D Display help text Ctrl+G Various Turn the mark on/off Alt+A Indent marked region Tab Unindent marked region Shift+Tab Turn line numbers on/off Alt+N Turn visible whitespace on/off Alt+P Enter next keystroke verbatim Alt+V Refresh the screen Ctrl+L Suspend nano Ctrl+Z