Last active
October 7, 2015 14:34
-
-
Save abovethewater/9505609 to your computer and use it in GitHub Desktop.
Enabling bracket matching without auto closing brackets in atom
This file contains hidden or 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
BracketMatcherView = require '/Applications/Atom.app/Contents/Resources/app/node_modules/bracket-matcher/lib/bracket-matcher-view.js' | |
atom.workspaceView.eachEditorView (editorView) => | |
if editorView.attached and editorView.getPane()? | |
new BracketMatcherView(editorView) |
This file contains hidden or 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
'.editor': | |
'ctrl-m': 'bracket-matcher:go-to-matching-bracket' |
This file contains hidden or 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
.bracket-matcher { | |
border-bottom: 1px dotted lime; | |
position: absolute; | |
} |
FYI if you go to the bracket-matcher package, there are now settings and you can just uncheck the auto-complete brackets and quotes boxes, they listened!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Disable bracket-matcher in Atom->Preferences.
Update styles.less to manually add the CSS.
Update init.coffee to manually load the BracketMatcherView.
Add to the keymap to retain the matching bracket selection.