Skip to content
Browse files

some basic leader keys

  • Loading branch information...
1 parent bef2dc0 commit d935ee20416125c32c00bf4abc9392515c457f36 @cldwalker committed Jan 23, 2014
Showing with 12 additions and 3 deletions.
  1. +12 −3 .light_table/user.keymap
View
15 .light_table/user.keymap
@@ -21,11 +21,20 @@
"alt-enter" [(:paredit.select.parent "(")
:eval-editor-form
:paredit.select.clear]
-
;; requires master until 0.0.2 paredit
"alt-s" [:paredit.unwrap.parent]}
- :editor.keys.normal {
+ :editor.keys.normal {;;cmd-/ is a leader - must be in insert mode :(
+ "cmd-/ b" [:behaviors.modify-user]
+ "cmd-/ c" [:toggle-console]
+ ;; open browser tab with focus to type url
+ "cmd-/ h" [:add-browser-tab :browser.url-bar.focus]
+ "cmd-/ k" [:keymap.modify-user]
+ "cmd-/ p" [:plugin-manager.show]
+ "cmd-/ w" [:workspace.show]
+ ;; view current html in a split window
+ "cmd-/ s" [:tabset.new :tabset.next :editor.open-current-file-in-browser]
+
;; a dumb wrap - cursor must be before word
;; a smarter one would 'Bh' if in middle of word
"cmd-." [(:editor.open-pair "(") :paredit.grow.right]}
@@ -38,4 +47,4 @@
;;Select the parent expression, whether that's [], {}, or ()
"cmd-," [:paredit.select.parent]
- "cmd-;" [:toggle-comment-selection]}}}
+ "cmd-;" [:toggle-comment-selection]}}}

0 comments on commit d935ee2

Please sign in to comment.
Something went wrong with that request. Please try again.