Skip to content

Commit

Permalink
Merge pull request #8 from frk1705/patch-1
Browse files Browse the repository at this point in the history
Add linux/win32 keybindings
  • Loading branch information
dotcypress committed May 29, 2014
2 parents 57800aa + b8a2c9e commit 4f74d0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Coffee script linter for Atom editor
* `cmd-ctrl-l` - lint current file
* `cmd-ctrl-shift-l` - toggle results panel

Windows and Linux:
* `alt-ctrl-l` - lint current file
* `alt-ctrl-shift-l` - toggle results panel

## Configuration
You can change lint options by adding coffeelint.json file in root of project.

Expand Down
6 changes: 3 additions & 3 deletions keymaps/coffee-lint.cson
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
'cmd-ctrl-l': 'coffee-lint:lint-current-file'
'cmd-ctrl-shift-l': 'coffee-lint:toggle-results-panel'

'.platform-win32 .editor:not(.mini)':
'cmd-ctrl-l': 'coffee-lint:lint-current-file'
'cmd-ctrl-shift-l': 'coffee-lint:toggle-results-panel'
'.platform-win32 .editor:not(.mini), .platform-linux .editor:not(.mini)':
'alt-ctrl-l': 'coffee-lint:lint-current-file'
'alt-ctrl-shift-l': 'coffee-lint:toggle-results-panel'

0 comments on commit 4f74d0f

Please sign in to comment.