Last active
          August 1, 2016 15:23 
        
      - 
      
 - 
        
Save jarcane/468687e98176c1c4c8a7ba924dafdf46 to your computer and use it in GitHub Desktop.  
    How to rebind the Ö, Ä, and Å keys 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
    
  
  
    
  | atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-left-paren': -> | |
| atom.workspace.getActiveTextEditor()?.insertText('(') | |
| atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-left-bracket': -> | |
| atom.workspace.getActiveTextEditor()?.insertText('[') | |
| atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-left-brace': -> | |
| atom.workspace.getActiveTextEditor()?.insertText('{') | |
| atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-right-paren': -> | |
| atom.workspace.getActiveTextEditor()?.insertText(')') | |
| atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-right-bracket': -> | |
| atom.workspace.getActiveTextEditor()?.insertText(']') | |
| atom.commands.add 'atom-text-editor', | |
| 'jarcane:insert-right-brace': -> | |
| atom.workspace.getActiveTextEditor()?.insertText('}') | 
  
    
      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
    
  
  
    
  | 'atom-text-editor': | |
| '`': 'jarcane:insert-left-paren' | |
| '\'': 'jarcane:insert-left-bracket' | |
| ']': 'jarcane:insert-left-brace' | |
| 'shift-`': 'jarcane:insert-right-paren' | |
| 'shift-\'': 'jarcane:insert-right-bracket' | |
| 'shift-]': 'jarcane:insert-right-brace' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment