add :LispSchool
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
(keymap :n "<leader>bp" ":bprevious<CR>" {:desc "Previous buffer"})
|
||||
(keymap :n "<leader>bd" ":bdelete<CR>" {:desc "Delete buffer"})
|
||||
|
||||
;; Copy to system clipboard
|
||||
(keymap [:n :v] "<leader>y" "\"+y" {:desc "Yank to clipboard"})
|
||||
|
||||
;; Clear search highlight
|
||||
(keymap :n "<Esc>" ":noh<CR>" {:desc "Clear search highlight"})
|
||||
|
||||
@@ -136,4 +139,13 @@
|
||||
(fn [] (vim.cmd (.. "edit " (vim.lsp.get_log_path))))
|
||||
{:desc "Open LSP log file"})
|
||||
|
||||
;; LispSchool - Interactive structural editing tutorial
|
||||
(usercmd "LispSchool"
|
||||
(fn [] (let [ls (require :lisp-school)] (ls.start)))
|
||||
{:desc "Start LispSchool tutorial"})
|
||||
|
||||
(usercmd "LispSchoolNext"
|
||||
(fn [] (let [ls (require :lisp-school)] (ls.next)))
|
||||
{:desc "Next LispSchool lesson"})
|
||||
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user