Created
January 5, 2017 17:47
-
-
Save actsasgeek/e7f750cc71b227efc941e5a795899759 to your computer and use it in GitHub Desktop.
experimenting with a mapping that isn't a direct copy of the existing protorepl key bindings.
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.vim-mode-plus.normal-mode': | |
', l': 'proto-repl:toggle' | |
', L': 'proto-repl:toggle' | |
', y': 'proto-repl:remote-nrepl-connection' | |
', j': 'proto-repl:start-self-hosted-repl' | |
', e': 'proto-repl:exit-repl' | |
', k': 'proto-repl:clear-repl' | |
', S': 'proto-repl:toggle-auto-scroll' | |
', b': 'proto-repl:execute-block' | |
', B': 'proto-repl:execute-top-block' | |
', f': 'proto-repl:load-current-file' | |
', r': 'proto-repl:refresh-namespaces' | |
', R': 'proto-repl:super-refresh-namespaces' | |
', p': 'proto-repl:pretty-print' | |
', t t': 'proto-repl:run-test-under-cursor' | |
', t n': 'proto-repl:run-tests-in-namespace' | |
', t a': 'proto-repl:run-all-tests' | |
', d v': 'proto-repl:print-var-documentation' | |
', d c': 'proto-repl:print-var-code' | |
', d j': 'proto-repl:open-file-containing-var' # Opens the code of the var or namespace under the cursor. This works even with vars defined in libraries. | |
', d n': 'proto-repl:list-ns-vars' # Lists the vars in the namespace under the cursor. | |
', d N': 'proto-repl:list-ns-vars-with-docs' # Lists the vars in the namespace under the cursor with documentation. | |
', s i': 'proto-repl:insert-save-value-call' # Inserts a call to proto/save with a unique id | |
', s d': 'proto-repl:display-saved-values' # Displays values saved using the proto/save function. | |
', s c': 'proto-repl:clear-saved-values' # Clears previously saved values using the proto/save function. | |
'atom-text-editor.vim-mode-plus.visual-mode': | |
', s': 'proto-repl:execute-selected-text' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment