Skip to content

[CLOSED] Add smart "Home" for mac users. Fixes #2432 #2367

@core-ai-bot

Description

@core-ai-bot

Issue by soswow
Monday Jan 07, 2013 at 20:09 GMT
Originally opened as adobe/brackets#2483


Sorry that I didn't make separate pull-request for different bugs (now I got smarter)
But this case was discussed in the issue #2432 itself
and in my previous bulk pull-request: #2435

Just in case@peterflynn 's comment will gone when I made changes to the original pull-request:

I wonder about this... it seems like most Mac editors don't have this behavior. In Coda, TextMate, and > Espresso, Cmd+left always goes to column 1 regardless of whether there's leading whitespace;
instead, Fn+left has the "smart home" behavior (Fn+left also does "smart home" in Brackets already).
But to throw a wrench in that, Sublime differs: Cmd+left means "smart home" and Fn+left means "go to
start of document" (more like non-code-editor Mac apps).

It might be worth separating this out into its own pull request so we can discuss it separately and
neither one will hold up the other one from landing...


soswow included the following code: https://github.com/adobe/brackets/pull/2483/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions