I wanted to create a quick blog post on how to get vim-iced to work with LunarVim since I struggled to get it working and the instructions on vim-iced's website are focused around vim or Neovim.
Here are the steps that worked for me!
- Add the following plugins to your
config.lua
file.
{
"guns/vim-sexp"
},
{
"liquidz/vim-iced",
config = function()
vim.g.iced_enable_default_key_mappings = true
end
}
Note: make sure to allow LunarVim to install the plugins!
- Add the
iced
command to yourPATH
by using the path to thevim-iced
plugin that LunarVim installed.
export PATH=$PATH:~/.local/share/lunarvim/site/pack/lazy/opt/vim-iced/bin
Run the following command in your terminal to confirm you are able to use the iced
command.
iced version
The installed version of vim-iced
will show after running this command.
- Open your Clojure project with LunarVim and navigate to a Clojure file. Open the terminal and run
iced repl
to start the REPL. Navigate back to your Clojure file and run:IcedConnect
to connect to the REPL. You will see a message that says "Connected."
Congrats! You are now able to use vim-iced with LunarVim!
Top comments (0)