You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get Lem to do a bunch of things on load depending on workflow. I want to startup Lem with different configurations depending on project needs. Typical things that I need to do are:
Split window
Move to frames and load files into buffer
Move to frame and start-lisp-repl and load Clog project and/or various lisp packages and/or eval lisp forms.
I am trying to set up per project project layouts and environments. So far I have started Lem in repl mode (which is awesome) and can do the following:
QUESTION 2: How do we load a file from init.lisp or directly from Lem via script as opposed to a shell command?
QUESTION 3: If we can switch to the lisp-repl buffer, how do we get the repl tom eval a form?
Just curious if anyone has suggestions or code examples on how to do the above. It would be nice to have a keyboard shortcut in my environment to launch custom per project configs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to get Lem to do a bunch of things on load depending on workflow. I want to startup Lem with different configurations depending on project needs. Typical things that I need to do are:
I am trying to set up per project project layouts and environments. So far I have started Lem in repl mode (which is awesome) and can do the following:
Paredit:
(lem:add-hook lem:find-file-hook
(lambda (buffer)
(when (eq (buffer-major-mode buffer) 'lem-lisp-mode:lisp-mode)
(change-buffer-mode buffer 'lem-paredit-mode:paredit-mode t))))
Split window:
(split-active-window-vertically)
QUESTION 1: How do we move between split frames?
QUESTION 2: How do we load a file from init.lisp or directly from Lem via script as opposed to a shell command?
QUESTION 3: If we can switch to the lisp-repl buffer, how do we get the repl tom eval a form?
Just curious if anyone has suggestions or code examples on how to do the above. It would be nice to have a keyboard shortcut in my environment to launch custom per project configs.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions