|
|
@@ -1130,11 +1130,14 @@
|
|
|
|
|
|
(defn ->platform-shortcut
|
|
|
[keyboard-shortcut]
|
|
|
- (if mac?
|
|
|
- (-> keyboard-shortcut
|
|
|
- (string/replace "Ctrl" "Cmd")
|
|
|
- (string/replace "Alt" "Opt"))
|
|
|
- keyboard-shortcut))
|
|
|
+ (let [result (or keyboard-shortcut "")
|
|
|
+ result (string/replace result "left" "←")
|
|
|
+ result (string/replace result "right" "→")]
|
|
|
+ (if mac?
|
|
|
+ (-> result
|
|
|
+ (string/replace "Ctrl" "Cmd")
|
|
|
+ (string/replace "Alt" "Opt"))
|
|
|
+ result)))
|
|
|
|
|
|
(defn remove-common-preceding
|
|
|
[col1 col2]
|