mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 09:01:33 +03:00
Consistently use 'cmd' to represent 'meta' key
This commit is contained in:
parent
0b8800c818
commit
1ad971f424
@ -227,7 +227,7 @@ to your package as well.
|
||||
Let's take a look at creating our first package.
|
||||
|
||||
Atom has a command you can enter that'll create a package for you:
|
||||
`package-generator:generate`. Otherwise, you can hit `⌘-p`, and start typing
|
||||
`package-generator:generate`. Otherwise, you can hit `cmd-p`, and start typing
|
||||
"Package Generator." Once you activate this package, it'll ask you for a name for
|
||||
your new package. Let's call ours _changer_.
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
## Your .atom Directory
|
||||
|
||||
When you install Atom, an _.atom_ directory is created in your home directory.
|
||||
If you press `⌘-,`, that directory is opened in a new window. For the
|
||||
If you press `cmd-,`, that directory is opened in a new window. For the
|
||||
time being, this serves as the primary interface for adjusting configuration
|
||||
settings, adding and changing key bindings, tweaking styles, etc.
|
||||
|
||||
|
@ -10,8 +10,8 @@ productive as quickly as possible. There are also guides which cover
|
||||
|
||||
## The Command Palette
|
||||
|
||||
If there's one key-command you must remember in Atom, it should be `⌘-p`. You
|
||||
can always hit `⌘-p` to bring up a list of commands that are relevant to the
|
||||
If there's one key-command you must remember in Atom, it should be `cmd-p`. You
|
||||
can always hit `cmd-p` to bring up a list of commands that are relevant to the
|
||||
currently focused UI element. If there is a key binding for a given command, it
|
||||
is also displayed. This is a great way to explore the system and get to know the
|
||||
key commands interactively. If you'd like to learn about adding or changing a
|
||||
@ -27,12 +27,12 @@ section below.
|
||||
#### Finding Files
|
||||
|
||||
The fastest way to find a file in your project is to use the fuzzy finder. Just
|
||||
hit `⌘-t` and start typing the name of the file you're looking for. If you
|
||||
already have the file open as a tab and want to jump to it, hit `⌘-b` to bring
|
||||
hit `cmd-t` and start typing the name of the file you're looking for. If you
|
||||
already have the file open as a tab and want to jump to it, hit `cmd-b` to bring
|
||||
up a searchable list of open buffers.
|
||||
|
||||
You can also use the tree view to navigate to a file. To open or move focus to
|
||||
the tree view, hit `⌘-\`. You can then navigate to a file and select it with
|
||||
the tree view, hit `cmd-\`. You can then navigate to a file and select it with
|
||||
`return`.
|
||||
|
||||
#### Adding, Moving, Deleting Files
|
||||
@ -53,8 +53,8 @@ FIXME: Describe https://github.com/atom/find-and-replace
|
||||
|
||||
#### Navigating By Symbols
|
||||
|
||||
If you want to jump to a method, the `⌘-j` binding opens a list of all symbols
|
||||
in the current file. `⌘-.` jumps to the tag for the word currently under the cursor.
|
||||
If you want to jump to a method, the `cmd-j` binding opens a list of all symbols
|
||||
in the current file. `cmd-.` jumps to the tag for the word currently under the cursor.
|
||||
|
||||
To search for symbols across your project use `cmd-shift-j`, but you'll need to
|
||||
make sure you have a tags file generated for the project Also, if you're editing
|
||||
@ -77,12 +77,12 @@ planning to improve it soon.
|
||||
### Soft-Wrap
|
||||
|
||||
If you want to toggle soft wrap, trigger the command from the command palette.
|
||||
Hit `⌘-p` to open the palette, then type "wrap" to find the correct
|
||||
Hit `cmd-p` to open the palette, then type "wrap" to find the correct
|
||||
command.
|
||||
|
||||
## Configuration
|
||||
|
||||
If you press `⌘-,`, a configuration panel will appear in the currently focused
|
||||
If you press `cmd-,`, a configuration panel will appear in the currently focused
|
||||
pane. This will serve as the primary interface for adjusting configuration
|
||||
settings, adding and changing key bindings, tweaking styles, etc.
|
||||
|
||||
|
@ -33,10 +33,10 @@ for more details.
|
||||
|
||||
### RootView
|
||||
|
||||
The root of Atom's view hiererchy is a global called `rootView`, which is a
|
||||
The root of Atom's view hierarchy is a global called `rootView`, which is a
|
||||
singleton instance of the `RootView` view class. The root view fills the entire
|
||||
window, and contains every other view. If you open Atom's inspector with
|
||||
`alt-meta-i`, you can see the internal structure of `RootView`:
|
||||
`alt-cmd-i`, you can see the internal structure of `RootView`:
|
||||
|
||||
![RootView in the inspector](http://f.cl.ly/items/2n0s3m0I2d223p3s3W01/root-view-inspector.png)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user