DEV Community

tjb
tjb

Posted on

1

LunarVim + vim-iced Configuration

Image description

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!

  1. 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
  }
Enter fullscreen mode Exit fullscreen mode

Note: make sure to allow LunarVim to install the plugins!

  1. Add the iced command to your PATH by using the path to the vim-iced plugin that LunarVim installed.
export PATH=$PATH:~/.local/share/lunarvim/site/pack/lazy/opt/vim-iced/bin
Enter fullscreen mode Exit fullscreen mode

Run the following command in your terminal to confirm you are able to use the iced command.

iced version
Enter fullscreen mode Exit fullscreen mode

The installed version of vim-iced will show after running this command.
terminal image of iced version

  1. 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!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up