This is not clojure specific but has anyone successfully used spacemacs to 
pair programming with tmux and spacemacs? My pairing partner uses a mac 
with french Canadian keyboard but when he ssh into my box
to pair, his key bindings don't work even though I used his init.el The 
meta key and paredit keybidings don't work for him.

The keybinding works for me but I'm on Linux with a standard US keyboard. 
Appreciate any help!

Below is ~/.emacs.d/init.el and ~/.tmux.conf

---init.el---
(setq gc-cons-threshold 100000000)
(global-set-key (kbd "<esc>") 'meta)

;;(set-keyboard-coding-system nil)
(set-terminal-coding-system 'utf-8)
(setq mac-command-modifier 'meta)
;;(setq mac-command-key-is-meta t)
(setq mac-option-modifier  'none)

(add-to-list 'auto-mode-alist '("\\.cljs\\.hl\\'" . clojurescript-mode))
(add-hook 'clojure-mode-hook
          '(lambda ()
             ;; Hoplon functions and macros
             (dolist (pair '((page . 'defun)
                             (loop-tpl . 'defun)
                             (if-tpl . '1)
                             (for-tpl . '1)
                             (case-tpl . '1)
                             (cond-tpl . 'defun)))
               (put-clojure-indent (car pair)
                                   (car (last pair))))))

(defconst spacemacs-version         "0.200.13" "Spacemacs version.")
(defconst spacemacs-emacs-min-version   "24.4" "Minimal version of Emacs.")

(if (not (version<= spacemacs-emacs-min-version emacs-version))
    (error (concat "Your version of Emacs (%s) is too old. "
                   "Spacemacs requires Emacs version %s or above.")
           emacs-version spacemacs-emacs-min-version)
  (load-file (concat (file-name-directory load-file-name)
                     "core/core-load-paths.el"))
  (require 'core-spacemacs)
  (spacemacs/init)
  (configuration-layer/sync)
  (spacemacs-buffer/display-startup-note)
  (spacemacs/setup-startup-hook)
  ;; BEGIN exec-path-from-shell
  (use-package exec-path-from-shell
  :ensure t
  :if (memq window-system '(mac ns x))
  :config
  (setq exec-path-from-shell-variables '("PATH" "SOLR_HOME"))
  (exec-path-from-shell-initialize))
  ;; END exec-path-from-shell
  (require 'server)
  (unless (server-running-p) (server-start)))
-----end init.el----

--.tmux.conf---
set -g prefix C-z
unbind-key C-b
bind-key C-z send-prefix
set-option -g default-terminal "xterm-256color"
set-window-option -g xterm-keys on

--end .tmux.conf---





-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/d5ff4535-35c9-4a67-8549-6149985f6a11%40googlegroups.com.

Reply via email to