-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Quick Personal Hacks | ||
|
||
### keymap.cson | ||
|
||
You can open this file in an editor from the Atom > Open Your Keymap menu. | ||
|
||
```cson | ||
'atom-workspace': | ||
'cmd-m': 'minimap:toggle' | ||
'ctrl-alt-cmd-m': 'minimap:generate-plugin' | ||
``` | ||
|
||
|
||
### styles.less | ||
|
||
You can open this file in an editor from the Atom > Open Your Stylesheet menu. | ||
|
||
#### Hiding the vertical-scrollbar | ||
|
||
```css | ||
atom-text-editor .vertical-scrollbar, | ||
atom-text-editor::shadow .vertical-scrollbar { | ||
opacity: 0; | ||
width: 0; | ||
} | ||
``` | ||
|
||
#### Changing the background of the Minimap | ||
|
||
```css | ||
atom-text-editor::shadow atom-text-editor-minimap, | ||
atom-text-editor atom-text-editor-minimap { | ||
background: rgba(255,255,255, 0.1); | ||
} | ||
``` | ||
|
||
#### Changing the background of the Minima's `visible-area` | ||
|
||
```css | ||
atom-text-editor::shadow atom-text-editor-minimap::shadow .minimap-visible-area, | ||
atom-text-editor atom-text-editor-minimap::shadow .minimap-visible-area { | ||
background-color: green; | ||
opacity: .5; | ||
} | ||
``` |