Created
August 12, 2020 14:29
-
-
Save usametov/c73f1efbda725689c241e1d097c80f2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to evaluate the whole buffer use <localleader>eb | |
to evaluate the inner form use <localleader>ee | |
to open the log buffer horizontally (<localleader>ls), | |
vertically (<localleader>lv) or | |
in a tab (<localleader>lt) | |
All visible log windows (including the HUD) can be closed with <localleader>lq | |
to evaluate the outermost form under our cursor use <localleader>er | |
The result of every evaluation is stored in a Neovim register as well as the log. | |
1 ;; Try pressing "cp to paste the contents of the register into your buffer. | |
2 ;; We can also evaluate a form and replace it with the result of the evaluation with <localleader>e! | |
to evaluate a form and replace it with the result of the evaluation with <localleader>e! | |
to evaluate a form at a mark: | |
1 ;; place your cursor on the next lesson form below and use mf to set the f mark at that location. | |
2 ;; Now move your cursor elsewhere in the buffer and use <localleader>emf to evaluate it. | |
3 ;; If you use a capital letter like mF you can even open a different file and evaluate that marked form without changing buffers! | |
;; This is extremely useful when you want to evaluate a specific form repeatedly as you change code elsewhere in the file or project. | |
to inspect the contents of the variable place your cursor on it and pressing <localleader>ew | |
You can evaluate visual selections with <localleader>E -- use CAPS key for capital E | |
;; Visual evaluation is great for specific sections of a form. | |
;; to evaluate a given motion use <localleader>E | |
;; Try <localleader>Eiw to evaluate the word. | |
;; to evaluate the lesson form use <localleader>Ea( | |
To learn more about configuring Conjure check out :help conjure | |
;; You can learn about specific languages with :help conjure-client- and then tab completion. | |
;; For example, conjure-client-fennel-aniseed or conjure-client-clojure-nrepl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment