This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-08
Channels
- # bangalore-clj (4)
- # beginners (88)
- # boot (12)
- # cljs-dev (10)
- # cljsjs (1)
- # clojure (284)
- # clojure-denmark (2)
- # clojure-dev (35)
- # clojure-italy (8)
- # clojure-russia (36)
- # clojure-spec (38)
- # clojure-uk (51)
- # clojurescript (145)
- # cursive (6)
- # data-science (1)
- # datomic (8)
- # duct (43)
- # emacs (9)
- # figwheel (2)
- # fulcro (29)
- # graphql (1)
- # immutant (3)
- # instaparse (1)
- # jobs (1)
- # jobs-discuss (1)
- # lumo (16)
- # off-topic (50)
- # onyx (90)
- # re-frame (6)
- # reagent (20)
- # remote-jobs (3)
- # ring-swagger (18)
- # schema (8)
- # shadow-cljs (141)
- # slack-help (3)
- # spacemacs (36)
- # unrepl (7)
- # vim (1)
- # yada (2)
Yeah, you can do it with an .Xmodmap
. I did this on my laptop running Kali to make my right modifier keys act as 'hyper
and 'alt
so I can set up more key bindings. Unlike Windows or macOS I don’t think there’s any way to do that in Emacs Lisp
thanks for the input @camsaul. I'd do exactly that but I rarely use my linux laptop (vs. macbook), don't want to touch xmodmap ever again 😆
I wanted this especially for my coworkers (we're creating a joint setup), but if part of the README says set up this xmodmap...
, things begin to get fragile
@vemv you can always just simulate modifier keys by typing C-x @ <letter>
e.g. C-x @ h
for 'hyper
or C-x @ s
for 'super
. Almost as easy as the real thing!
But realistically maybe just take something like <f7>
that’s not used by default and use it as a prefix and put all your custom project-specific keybindings under that.
right now it's not saving history at all. or at least, it's not showing anything when i start a repl
nvm, non-project specific history is good enough. achieved with (setq cider-repl-history-file "path/to/file")
@akjetma if you do want to do per-project, you could probably configure that variable via a .dir-locals.el file (https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html) in each project directory