1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [Move to Line Start / End](<https://delaparra-services.nl/knowledge-hub/move-to-line-start-end>)

  

Category: Keyboard shortcuts 

# Move to Line Start / End

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is Move to Line Start / End?

 

Move to Line Start / End: Jump the cursor to the beginning (Ctrl+A) or end (Ctrl+E) of the command line. In most terminals, ` Ctrl+A ` moves the cursor to the start of the command line and ` Ctrl+E ` to the end. They come from the Emacs key bindings that Bash and Zsh use by default. They save a lot of arrow-key presses when you want to add ` sudo ` in front of a command or append an option at the end of a long one.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about Move to Line Start / End

  

### What should you keep in mind with Move to Line Start / End?

 

Related shortcuts are worth learning together. ` Alt+B ` and ` Alt+F ` move back and forward one word, ` Ctrl+U ` deletes to the start, ` Ctrl+K ` deletes to the end, and ` Ctrl+R ` searches your command history. In code editors, ` Home ` and ` End ` do the job, or ` Cmd+Left/Right ` on a Mac. If you use ` tmux ` or ` screen `, note that ` Ctrl+A ` may be taken as their prefix key.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Go to Definition](<https://delaparra-services.nl/knowledge-hub/go-to-definition>) 
- [Go to Line](<https://delaparra-services.nl/knowledge-hub/go-to-line>) 
- [Move Line Up / Down](<https://delaparra-services.nl/knowledge-hub/move-line-up-down>) 
- [Open Keyboard Shortcuts](<https://delaparra-services.nl/knowledge-hub/open-keyboard-shortcuts>) 
- [p (paste)](<https://delaparra-services.nl/knowledge-hub/p-paste>) 
- [Quick Fix / Show Actions](<https://delaparra-services.nl/knowledge-hub/quick-fix-show-actions>)

 

[All terms starting with M](<https://delaparra-services.nl/knowledge-hub#letter-m>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/move-to-line-start-end)
