Jump to content

How To Use End And Home Buttons On Mac As They Are In Windows


Recommended Posts

What End and Home Buttons Do?

Well, the primary use of these buttons is to navigate through a long menu, skipping files in a  cluttered folder, or in text editing. As the name says, Home suggests the Start of a path and End, well it means the end.

In a folder, when you press End, you’ll be directed to the last folder or file in that menu. And when you press Home, you’ll head back to the first one. Let’s try that out on the Desktop.

In this GIF below, when I press End, the selection moves on to the last icon on the menu, whereas after pressing Home, the selection is redirected back to the first icon on Desktop.

Similarly, when you do that on a text document, the Home button moves the cursor to the beginning of the line; whereas the End button moves it to the end of the line.

But, when you are using Windows keyboard on Mac and then try to use these keys for the same function. You don’t get the same result. Sometimes they do not perform any function at all. Sometimes the concerned Apple desktop/laptop fails to acknowledge other associated command with End and the Home button on Mac.

So, how to use End and Home button on Mac as you do in Windows. Well, there is a simple hack for that; you just need to follow some steps.

Make End and Home Buttons on Mac Function as in Windows

Step 1: Follow the path Go>>Utilities.

Step 2: In the Utilities menu, select Terminal.

Step 3: Open Terminal and type the following commands

mkdir KeyBindings

cd KeyBindings

nano DefaultKeyBinding.dict

cd ~/Library

With these commands, you’ll create a folder “Key Bindings” in the “Library.”

Step 4: Now, through the Terminal, you need to create another file. In the terminal again, type the following command:

{

“\UF729”  = moveToBeginningOfParagraph:; // home

“\UF72B”  = moveToEndOfParagraph:; // end

“$\UF729” = moveToBeginningOfParagraphAndModifySelection:; // shift-home

“$\UF72B” = moveToEndOfParagraphAndModifySelection:; // shift-end

“^\UF729” = moveToBeginningOfDocument:; // ctrl-home

“^\UF72B” = moveToEndOfDocument:; // ctrl-end

“^$\UF729” = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home

“^$\UF72B” = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end

}

Step 5: Save the file as DefaultKeyBinding.dict in Key Bindings folder; at location ~/Library/KeyBindings.

Step 6: Reboot your Mac, or just log out and then log back into your Mac account to activate these settings.

Changes These Commands Would Make

Home will take the cursor to start point of the paragraph.

End will take the cursor to the endpoint of the paragraph.

Shift+Home will select the start point of paragraph; Shift+End will select the endpoint of the paragraph.

Ctrl+Home and Ctrl+End would move the cursor to the start/end of the document.

Shift+Ctrl+Home and Shift+Ctrl+End would select the start/end of the document.

Note: If you look closely at the commands, it says, “Move to the beginning/end of the paragraph.” If you change Paragraph to Line in these commands, then using the End or Home button on Mac would move the cursor to the end/beginning of the line rather than moving to the end/beginning of the paragraph.

Link to post
Share on other sites

Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and user will be warned if it happens again. If caught spamming, the following actions are applicable -

  • First time - Warning
  • Second time - 5000 Points will be deducted
  • Third time - Ban for 7 days
  • Fourth time - Permanent Ban

If the post helped you, reward the user by reacting to the post like this -

download.png

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.