<<

ne (nice editor) Keyboard Shortcuts by pryl via cheatography.com/66402/cs/16573/

Navigation Commands Navigation Commands (cont) Document Commands (cont)

MoveLeft [n] ML moves the cursor to left MoveEOW EOW moves the cursor NextDoc ND bring the next document n times. one character past from the document list

MoveRight MR moves the cursor to the end of the word. PrevDoc PD bring the previous document [n] right n times. MoveIncUp MIU moves the cursor to from the document list

LineUp [n] LU moves the cursor up n the start of the SelectDoc SD display opened document times. document list increme​ nta​ lly. LineDown LD moves the cursor down ​ n times. MoveIncDow MID moves the cursor to Opening and Saving commands n the end of the GotoLine GL moves the cursor to the ​ ​ ​ document Comman Abbvr. Description [line] respective line. increme​ nta​ lly. d GotoColumn GC moves the cursor to the AdjustView AV shifts the text visible Open O loads the file in the [col] respective column in the in terminal horz. or [file] current document line. vert. OpenNew ON loads the file in a new GotoMark GM moves the cursor to the ToggleSEOF TSEOF moves the cursor to [file] document current mark. the start of the Save S save the current PrevPage PP moves the cursor n document. document [n] pages bakward. ToggleSEOL TSEOL moves the cursor to SaveAs SA save the current NextPage NP moves the cursor n thte start of the [file] document using the [n] pages forward. current line. specified string

PageUp [n] PUP pageups n times. SaveAll SL saves all the modified Misc PageDown PDN pagedowns n times. documents

[n] Where are the menus? Delete Commands PrevWord PW moves the cursor to the Press Esc twice to bring the menu. first letter of the word n Where to type all of these commands? DeleteChar DC deletes n characters to times. [n] the right. To type any command, press ^K to bring the NextWord NW moves the character to ​ ​ commandBar DeletePrev DFW deletes text from the [n] the next word n times. Word [n] current position to the MoveEOL EOL moves the character to first character of the Only video about ne on Youtube the end of the current previous word n times.

line. Video: http://youtu.be/8xKhpdfe8II DeleteNext DNW deletes text from the MoveSOL SOL moves the cursor to the Word [n] current position to the start of the line. Document Commands next word n times.

MoveTOS TOS moves the cursor to the Quit Q exits. If any documents are Backspace BS deletes n characters to top of the screen. modified, you'll be asked to [n] the left. MoveBOS BOS moves the cursor to the confirm DeleteLine DL deletes n lines, puts the lowest line in the view. Exit X save all the modified [n] last deleted line in the buffer. MoveEOF EOF moves the character to documents, then exit. the end of the NewDoc N create a new unnamed DeleteEOL DE deletes all characters document. document from current cursor to the end of the line. MoveSOF SOF moves the character to Clear CL destroy the content of the start of the file. current document, undo buffer, current document become unnamed

CloseDoc CD close the current document

By pryl Published 26th August, 2018. Sponsored by CrosswordCheats.com cheatography.com/pryl/ Last updated 27th August, 2018. Learn to solve cryptic crosswords! Page 1 of 2. http://crosswordcheats.com ne (nice editor) Keyboard Shortcuts by pryl via cheatography.com/66402/cs/16573/

Formatting Commands Clipping commands (cont) Undo

Center [n] CE centers n lines from the Erase E delete the content in the block Undo [n] U undoes

cursor position. Redo [n] RE redoes Searching Paragraph PA reformats n paragraphs DoUndo DU disable​ /en​ able undo [n] from the cursor position. Find F searches the given [0|1] system ToUpper TU shifts to upper letters from [pattern] pattern [n] cursor position to the end FindRegExp FX searches the given Support Commands of the word. [pattern] regexp pattern Help H displays help about the ToLower TL shifts to lower letters from Replace R search and replace [name] command name. [n] cursor position to the end [string] of the word. Refresh REF resfreshes the display. Replace​ Onc RA search and replace the Capitalize CA shifts the first letter to Suspend SU suspends ne. e [string] first instance [n] upper and other letters to Escape ESC toggle the menus on/off. lower case. ReplaceAll RA search and replace all [string] the instances RightMa​ rgi RM sets the right margin More info RepeatLast RL repeats the last find or n [n] ​ [times] replace operation ne is compatible, have GPLv3 license. WordWrap WW sets the wordwrap flag Developed in 1993. MatchBr​ ack MB moves the cursor to the AutoIndent AI sets the autoindent flag. Voice has rated ne as the third best editor et other paired bracket for Linux. AutoMat​ chB​ r AMB highlights the paired ne has a version too. Links acket brackets ne tands for nice editor Official site: http://​ ne.di.uni​ mi.it SearchBack SB search and replace PDF documen​ tat​ ion: http://​ ne.di.uni​ mi.it/​ ne.pdf [0|1] operations performed This is how ne looks like HTML documen​ tat​ ion: backwards on true http://​ ne.di.uni​ mi.it/​ doc​ s/i​ nde​ x.html CaseSearch CS sets the case sensiti​ vity ne in Ubuntu packages: [0|1] flag https:/​ /pa​ cka​ ges​ .ub​ unt​ u.co​ m/​ sea​ rch​ ? AutoCom​ plet AC shows and inserts ke​ ywo​ rds=ne e [prefix] matching words ne in homebrew: https:/​ /gi​ thu​ b.co​ m/​ Hom​ ebr​ ew/​ hom​ ebr​ ew-​ Macros cor​ e/b​ lob​ /ma​ ste​ r/F​ orm​ ula​ /ne.rb Record [0|1] REC records macro ne stands for nice editor. Play [times] PL plays macro Clipping commands Macro MA executes the file name Mark M set the mark at current [filename] as a macro [0|1] position, cancels the OpenMacro OM loads the given file as previous mark [filename] current macro MarkVert MV same as Mark but for SaveMacro SM save the current [0|1] verticla selection [filename] macro in a file Copy [n] copies the content of the UnloadM​ acro UM frees the macro cache block list Cut [n] CU deletes the block being copied

Paste [n] P paste the marked content

PasteVert PV vertically paste the content [n]

By pryl Published 26th August, 2018. Sponsored by CrosswordCheats.com cheatography.com/pryl/ Last updated 27th August, 2018. Learn to solve cryptic crosswords! Page 2 of 2. http://crosswordcheats.com