# Key Shortcuts
Nimble uses key shortcuts for its power user. You can find the shortscuts in the menu item behind the menu item's title.
Moreover, a list of key shortcuts that work nicely in the editor window can be found here Mac Official Documentation. Look for Document Shortcuts further down the document
# Nimble Settings
You can configure Nimble by making changes to the setting files. From the main menu, use Nimble > Preference > Settings to open the settings file. Below the available settings and allowed values. Change the values and save the file. The changes are effective immediately.
| Area | Variable | Effect | Values |
|---|---|---|---|
| workbench | workbench.tabCloseButtonPosition | Set position of tab close button to left or right | left, right |
| workbench | workbench.showFileIconsInTabs | Display icons within tabs | true, false |
# Running an SPM project
Create a SPM project of type executable
- Create a directory that holds the project myproject
- CD into the project folder cd myproject
- Create SPM project of type executable swift package init --type executable
Start Nimble and add the folder into Nimble
- Use Project|Add Folder to Project
- add your myproject folder to the project
Open any file of the SPM project
- Open main.swift and change the print statement
Build the project
- Press Command + B
Run the project
- Press Command + R
# Running a Vapor project
Install Vapor. Follow the instructions here Install Vapor
Create a Vapor project
- from the command line, execute vapor new HelloNimble
- a new directory called HelloNimble is created
Add HelloNimble to your Workspace
- Use Project|Add Folder to Project
- add your HelloNimble folder to the project
Modify the routes.swift file
- Change World to Nimble
Build the project
- Press Command + B
Run the project
- Press Command + R
Open the Browser