LibreCAD Shortcuts: Complete Keyboard Shortcuts and Command Aliases
Quick answer: Most LibreCAD shortcuts are short command aliases you type into the command line and confirm with Enter, such as l for Line, c for Circle, tm for Trim, mo for Offset, and mv for Move. Standard key combinations also work: Ctrl+Z to undo, Ctrl+S to save, Ctrl+G to toggle the grid, and Ctrl+M or Space to jump to the command line. You can create your own aliases by editing the librecad.alias file.
Verified for LibreCAD 2.2.1.4. Every alias in this guide is taken from the program’s own command definitions, so it matches what the current version actually accepts.
This guide covers 129 commands with 179 typed aliases, plus more than 30 keyboard combinations. Many shortcut lists online were written for LibreCAD 2.1 or earlier. Some of their codes now open a different tool. For example, dr used to start a linear dimension and now starts a radial one, and pp now draws a polygon instead of a parallel line.
How LibreCAD Shortcuts Work
LibreCAD has two kinds of shortcuts, and most beginners only know about one of them.
- Keyboard combinations. These work like in any desktop program. You press the keys together, for example Ctrl+S to save or Ctrl+G to toggle the grid. They cover file, view, and selection tasks.
- Command aliases. These start drawing and editing tools. You type a short code into the command line at the bottom of the window, then press Enter. You do not press the letters together. For example, to draw a circle you type c, press Enter, then click the center and a point on the circle.
Every tool has a long command name and one or more aliases. The long name for a line is line2p, and l, li, and line are all aliases for it. Any of them works, so learn the shortest one.
How to run a command alias
- Press Ctrl+M, Space, or the colon key (:) to put the cursor in the command line.
- Type the alias, for example tm for Trim.
- Press Enter. The tool starts and the command line shows what to do next.
- Click in the drawing, or type coordinates such as 0,0 and @100,0.
- Press Esc to cancel the tool.
Tip: If Space toggles free snap instead of focusing the command line, that option is turned on in Application Preferences. Use Ctrl+M or : instead.
Top 20 Most Used LibreCAD Shortcuts
These 20 cover most everyday drafting. Learn them first, then add the rest as you need them.
| Task | Shortcut | Type |
| Focus the command line | Ctrl+M, Space, or : | Key combo |
| Undo | Ctrl+Z (or type u) | Key combo / alias |
| Save | Ctrl+S | Key combo |
| Cancel the current tool | Esc | Key |
| Draw line | l | Alias |
| Draw circle | c | Alias |
| Draw arc | a | Alias |
| Draw polyline | pl | Alias |
| Draw rectangle | re | Alias |
| Draw text | tx | Alias |
| Trim / extend | tm | Alias |
| Offset | mo | Alias |
| Move / copy | mv | Alias |
| Rotate | ro | Alias |
| Mirror | mi | Alias |
| Delete | er or Delete key | Alias / key |
| Snap to endpoints | se | Alias |
| Snap to intersections | si | Alias |
| Zoom window | zw | Alias |
| Zoom to fit everything | Ctrl+F or za | Key combo / alias |
General and File Shortcuts (Ctrl and F Keys)
These key combinations are built into LibreCAD’s menus. On a Mac, use Cmd wherever the table says Ctrl.
File
| Action | Windows / Linux |
| New drawing | Ctrl+N |
| Open drawing | Ctrl+O |
| Save | Ctrl+S |
| Save As (Linux, Mac) | Ctrl+Shift+S |
| Save All (Windows) | Ctrl+Shift+S |
| Ctrl+P | |
| Close drawing | Ctrl+W (Windows also Ctrl+F4) |
| Quit LibreCAD (Linux, Mac) | Ctrl+Q |
Edit and selection
| Action | Windows / Linux |
| Undo | Ctrl+Z |
| Redo | Ctrl+Shift+Z (Windows also Ctrl+Y) |
| Cut | Ctrl+X |
| Copy | Ctrl+C |
| Paste | Ctrl+V |
| Delete selected objects | Delete or Backspace |
| Select all | Ctrl+A |
| Deselect all | Ctrl+K |
| Revert direction of selected entities | Ctrl+R |
| Cancel the current tool | Esc |
| Confirm input | Enter |
Cut, copy, and paste ask for a reference point. After pressing Ctrl+C, click a base point on the objects; when pasting, click where that base point should land.
View and interface
| Action | Windows / Linux |
| Zoom in | Ctrl++ or + |
| Zoom out | Ctrl+- or – |
| Auto zoom (fit drawing) | Ctrl+F |
| Redraw | F5 |
| Toggle grid | Ctrl+G |
| Toggle draft mode | Ctrl+D |
| Full screen | F11 (Mac: Ctrl+Cmd+F) |
| Show / hide status bar | Ctrl+I |
| Focus command line | Ctrl+M, Space, or : |
| Add a new layer | Ctrl+L |
| Reload style sheet | Ctrl+T |
| Drawing preferences (Mac) | Cmd+, |
Draw order
| Action | Key |
| Bring selection to top | Home |
| Send selection to bottom | End |
| Raise over entity | Page Up |
| Lower under entity | Page Down |
LibreCAD Draw Commands
Type any alias in the command line and press Enter. The “Full command” column is the native name used in the librecad.alias file.
Changed in 2.2.x: Horizontal and vertical lines are now lh and lv (older lists say hor and ver). pp now draws a polygon; parallel-through-point moved to lp. a and ar start the center-radius arc; the 3-point arc is a3. There is no o alias for offset.
Lines
| Tool | Fastest | All aliases | Full command |
| Line (2 points) | l | l, li, line | line2p |
| Angled line | la | la | lineang |
| Horizontal line | lh | lh | linehor |
| Vertical line | lv | lv | linever |
| Parallel line (offset entity) | pa | pa, ll | linepar |
| Parallel through point | lp | lp, ptp | lineparthro |
| Angle bisector | bi | bi, bisect | linebisect |
| Tangent: point to circle | lt | lt, tanpc | linetancp |
| Tangent: two circles | lc | lc | linetan2c |
| Tangent line and circle (orthogonal) | or | or | linetancper |
| Perpendicular line | lo | lo, ortho | lineperp |
| Relative angle line | lr | lr, linerelang | linerelang |
| Angle from line | aline | aline | angleline |
| Orthogonal from line | oline | oline | ortline |
| Line from point to line | p2l | p2l | point2line |
| Snake line | sl | sl, sli | sline |
| Snake line (X) | slx | slx, slix | slinex |
| Snake line (Y) | sly | sly, sliy | sliney |
| Freehand line | fh | fh, fhl | free |
| Line of points | lpoints | lpoints | linepoints |
| Slice / divide line | sll | sll | slicel |
Rectangles, polygons and shapes
| Tool | Fastest | All aliases | Full command |
| Rectangle (2 corners) | re | re, rect | linerec |
| Rectangle (1 point) | re1 | re1 | rect1 |
| Rectangle (2 points) | re2 | re2 | rect2 |
| Rectangle (3 points) | re3 | re3 | rect3 |
| Polygon (center, corner) | pp | pp, polycp, pcp | polygoncencor |
| Polygon (center, tangent) | pv | pv, polyct | polygoncentan |
| Polygon (2 vertices) | p2 | p2, poly2 | polygon2v |
| Star | st | st | star |
| Center cross for circle | cx | cx | cross |
Circles
| Tool | Fastest | All aliases | Full command |
| Circle (center, point) | c | c, ci | circle |
| Circle (2 points) | c2 | c2, c2p | circle2p |
| Circle (2 points, radius) | cc | cc | circle2pr |
| Circle (3 points) | c3 | c3, c3p | circle3p |
| Circle (center, radius) | cr | cr, ccr | circlecr |
| Circle tangent to 2, through point | tr | tr | circletan2cp |
| Circle tangent to 1, through 2 points | td | td | circletan2p |
| Circle tangent to 2, radius | tc | tc | circletan2cr |
| Circle tangent to 3 | t3 | t3, ct3, tan3 | circletan3 |
| Circle by arc | cba | cba | circlebyarc |
| Slice / divide circle or arc | slc | slc | slicec |
Arcs, ellipses and curves
| Tool | Fastest | All aliases | Full command |
| Arc (center, radius, angles) | a | a, ar | arc |
| Arc (3 points) | a3 | a3 | arc3p |
| Tangential arc | at | at | arctan |
| Ellipse (axis) | ea | ea | ellipsec2p |
| Ellipse arc | ae | ae | arcellc2ax |
| Ellipse (foci, point) | ef | ef | ellipse3p |
| Ellipse (4 points) | e4 | e4 | ellipse4p |
| Ellipse (center, 3 points) | e3 | e3 | ellipsec3p |
| Inscribed ellipse | ei | ei, ie | ellipseinscribed |
| Spline | spl | spl, sf | spline |
| Spline through points | sp | sp, stp | spline2 |
| Parabola (4 points) | pl4 | pl4 | parabola4p |
| Parabola (focus, directrix) | plfd | plfd | parabolafd |
Polylines, text, hatch and points
| Tool | Fastest | All aliases | Full command |
| Polyline | pl | pl | polyline |
| Polyline: add node | pi | pi | plineadd |
| Polyline: append node | pn | pn | plineapp |
| Polyline: delete node | pd | pd | plinedel |
| Polyline: delete between nodes | pr | pr | plinedeltwn |
| Polyline: trim segments | pt | pt | plinetrm |
| Polyline: equidistant (offset) | pe | pe | plinepar |
| Polyline: join segments | pj | pj | plinejoin |
| Single-line text | tx | tx, txt | text |
| Multi-line text (MText) | mt | mt, mtxt | mtext |
| Hatch | ha | ha | hatch |
| Point | po | po | point |
LibreCAD Modify Commands
Modify tools change existing objects. Many of them (move, rotate, scale, mirror) open an options dialog where you choose to keep or delete the original, so the same mv command handles both Move and Copy.
| Tool | Fastest | All aliases | Full command |
| Move / copy | mv | mv | modmove |
| Rotate | ro | ro | modrotate |
| Rotate (two centers) | r2 | r2 | mod2rot |
| Move and rotate | mr | mr | modmovrot |
| Scale | sz | sz | modscale |
| Mirror | mi | mi | modmirror |
| Stretch | ss | ss | modstretch |
| Offset | mo | mo, moff | modoffset |
| Trim / extend | tm | tm | modtrim |
| Trim two entities | t2 | t2, tm2 | modtrim2 |
| Lengthen | le | le | modlengthen |
| Fillet (round) | fi | fi | modfillet |
| Bevel (chamfer) | ch | ch, bev | modbevel |
| Divide (cut) | di | di, div | moddivide |
| Break or divide entity | bd | bd | breakdivide |
| Line gap | gl | gl | gapline |
| Join lines | lj | lj | joinlines |
| Duplicate | dup | dup | duplicate |
| Revert direction | md | md, rev | modrevert |
| Delete (erase) | er | er, del | moddelete |
| Explode block or polyline | xp | xp | modexplode |
| Explode text into letters | xt | xt | modexpltext |
| Edit properties | mp | mp, prop | modproperties |
| Edit attributes (layer, pen) | ma | ma, attr | modattr |
Tip: Fillet (fi) and Bevel (ch) take their radius or length from the Tool Options toolbar at the top of the window. Type the value there before clicking the two lines.
Snap and Restriction Shortcuts
Snap aliases toggle object snaps while a tool is running, so you can switch from endpoint to intersection mid-command without touching the snap toolbar.
| Snap / restriction | Fastest | All aliases | Full command |
| Snap free (no snap) | os | os, so | snapfree |
| Snap to grid | sg | sg | snapgrid |
| Snap to endpoints | se | se | snapend |
| Snap to intersection | si | si | snapintersection |
| Snap to center | sc | sc | snapcenter |
| Snap to middle points | sm | sm | snapmiddle |
| Snap on entity | np | np, sn | snaponentity |
| Snap distance from endpoint | sd | sd | snapdist |
| Snap middle (manual) | smm | smm, snapmanual | snapmiddlemanual |
| Restrict nothing | rn | rn | restrictnothing |
| Restrict orthogonal | rr | rr | restrictorthogonal |
| Restrict horizontal | rh | rh | restricthorizontal |
| Restrict vertical | rv | rv | restrictvertical |
| Set relative zero | rz | rz | setrelativezero |
What is relative zero? It is the reference point for relative coordinates. After rz, typing @50,0 places a point 50 units to the right of that reference.
Select, Edit, View, Dimension and Info Shortcuts
Select
| Action | Fastest | All aliases | Full command |
| Select all | sa | sa | selectall |
| Deselect all | tn | tn, sx | deselectall |
| Invert selection | is | is | invertselect |
Other selection tools (window, intersected, contour) need the mouse, so they have no typed alias.
Edit
| Action | Fastest | All aliases | Full command |
| Undo | u | u, un | undo |
| Redo | r | r, rd | redo |
| Kill all actions | k | k, ki | kill |
| Drawing preferences | dp | dp | drawpref |
View and zoom
| Action | Fastest | All aliases | Full command |
| Zoom window | zw | zw | zoomwindow |
| Zoom auto (fit) | za | za | zoomauto |
| Zoom previous | zv | zv | zoomprevious |
| Zoom pan | zp | zp | zoompan |
| Redraw / regenerate | zr | zr, rg, regen, redraw | redraw |
Dimension
Changed in 2.2.x: da is now the angular dimension and dr is radial. Aligned moved to ds and linear to dl. Older shortcut lists still show the old codes.
| Dimension | Fastest | All aliases | Full command |
| Aligned | ds | ds | dimaligned |
| Linear | dl | dl | dimlinear |
| Horizontal | dh | dh | dimhorizontal |
| Vertical | dv | dv | dimvertical |
| Radial | dr | dr | dimradial |
| Diametric | dd | dd, dimdiametric | dimdiameter |
| Angular | da | da, dan | dimangular |
| Leader | ld | ld | dimleader |
| Regenerate dimensions | dg | dg | dimregen |
Info (measure)
| Measure | Fastest | All aliases | Full command |
| Distance point to point | id | id, dist, dpp | infodistance |
| Distance entity to point | ii | ii, dep | infodistep |
| Angle between lines | ia | ia, ang | infoangle |
| Area of a polygon | aa | aa | infoarea |
LibreCAD vs AutoCAD Shortcuts
Many LibreCAD users come from AutoCAD. The basics (l, c, a, pl) match, but several common AutoCAD aliases do something else in LibreCAD. The AutoCAD Shortcuts column shows default AutoCAD aliases.
| Task | LibreCAD | AutoCAD | Same? |
| Line | l | L | Yes |
| Circle | c | C | Yes |
| Arc | a (center) / a3 (3 points) | A (3 points) | Partly |
| Polyline | pl | PL | Yes |
| Rectangle | re | REC | No |
| Offset | mo | O | No |
| Trim | tm | TR | No |
| Move | mv | M | No |
| Copy | mv (keep original) | CO | No |
| Rotate | ro | RO | Yes |
| Mirror | mi | MI | Yes |
| Scale | sz | SC | No |
| Stretch | ss | S | No |
| Erase | er | E | No |
| Explode | xp | X | No |
| Fillet | fi | F | No |
| Chamfer | ch | CHA | No |
| Hatch | ha | H | No |
| Multi-line text | mt | MT | Yes |
| Linear dimension | dl | DLI | No |
| Aligned dimension | ds | DAL | No |
| Radius dimension | dr | DRA | No |
| Angular dimension | da | DAN | No |
| Measure distance | id | DI | No |
| Measure area | aa | AA | Yes |
| Undo | u / Ctrl+Z | U / Ctrl+Z | Yes |
LibreCAD Shortcuts on Mac
All typed command aliases work the same on macOS, because they are text, not key combinations. For key combinations, use Cmd where Windows and Linux use Ctrl: Cmd+S saves, Cmd+Z undoes, and Cmd+Shift+Z redoes. Full screen is Ctrl+Cmd+F, and drawing preferences open with Cmd+comma.
Why Is My LibreCAD Shortcut Not Working?
| Problem | Fix |
| Typing does nothing | The command line is not focused. Press Ctrl+M or the colon key first. |
| Space toggles snap instead of focusing the command line | The “toggle free snap on space” option is on in Application Preferences. Turn it off or use Ctrl+M. |
| An alias from another website opens the wrong tool | That list was written for an older version. Use the 2.2.1 codes in this guide. |
| English aliases do not work | LibreCAD translates commands. In a non-English interface, check your librecad.alias file for the local aliases. |
| A custom alias is ignored | Use a Tab, not spaces, and keep the full command name unchanged. Restart LibreCAD after saving. |
| Copy or paste seems stuck | LibreCAD is waiting for a reference point. Click a base point. |
Download the LibreCAD Shortcuts PDF
Get every shortcut from this page on a printable cheat sheet: Download LibreCAD Shortcuts PDF (v2.2.1)
Frequently Asked Questions
What is the shortcut for trim in LibreCAD?
Type tm in the command line and press Enter. Click the cutting edge first, then the part of the line to remove. To trim two lines against each other in one step, use t2. Trim also extends a line when you click on the side toward the cutting edge.
What is the offset command in LibreCAD?
The offset command is mo (or moff). Set the distance in the Tool Options toolbar, click the object, then click the side for the copy. To draw a new parallel line at a distance, use pa instead. LibreCAD has no o alias by default.
How do I undo and redo in LibreCAD?
Press Ctrl+Z to undo and Ctrl+Shift+Z to redo. On Windows, Ctrl+Y also redoes. In the command line you can type u to undo and r to redo. On a Mac, use Cmd instead of Ctrl.
How do I use the command line in LibreCAD?
Press Ctrl+M, Space, or the colon key to focus the command line at the bottom of the window. Type a command alias such as l and press Enter. Then type coordinates like 0,0 or relative ones like @100,0, pressing Enter after each.
Can I customize keyboard shortcuts in LibreCAD?
Yes, for typed aliases. Edit the librecad.alias file and add lines in the format alias, Tab, full command. Ctrl key combinations cannot be changed in 2.2.1; customizable keyboard shortcuts are being added in the 2.2.2 development version.
Where is the LibreCAD alias file?
On Windows it is in C:\Users{UserName}\AppData\Local\LibreCAD. On macOS it is in Library/Application Support/LibreCAD in your home folder. On Linux it is in ~/.local/share/LibreCAD/LibreCAD.
Are LibreCAD commands the same as AutoCAD?
Only partly. Line (l), circle (c), arc (a), polyline (pl), rotate (ro), and mirror (mi) match. Trim, offset, move, erase, fillet, and dimensions use different codes. tr in LibreCAD draws a tangent circle, not a trim.
Why do older shortcut lists show different LibreCAD commands?
LibreCAD 2.2 reorganized several aliases. For example, dr changed from linear to radial dimension, da from aligned to angular, and pp from parallel line to polygon. Lists written before 2.2 were never updated, so always check the version.
Do LibreCAD shortcuts work on Mac and Linux?
Yes. Typed aliases are identical on Windows, macOS, and Linux. Key combinations are also the same, except that Mac uses Cmd instead of Ctrl and a few file shortcuts differ, such as Ctrl+Shift+S (Save As on Linux and Mac, Save All on Windows).
Is there a LibreCAD shortcuts PDF?
Yes. You can download the free LibreCAD shortcuts cheat sheet from this page. It lists every command alias and key combination for version 2.2.1 on a printable sheet.
Key Takeaways
- Most LibreCAD shortcuts are typed aliases: focus the command line with Ctrl+M, type the code, press Enter.
- The ten worth memorizing first: l, c, a, pl, re, tm, mo, mv, ro, er.
- Old lists are out of date: dr, da, pp, hor, and ver changed in LibreCAD 2.2.
- AutoCAD users should watch for tr (tangent circle, not trim) and o (no alias).
- Add your own aliases in librecad.alias; Ctrl shortcuts become editable in 2.2.2.
READ NEXT:





