Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deployed cursorless.nvim repo #2589

Closed
pokey opened this issue Jul 26, 2024 · 5 comments
Closed

Fix deployed cursorless.nvim repo #2589

pokey opened this issue Jul 26, 2024 · 5 comments
Labels
app-neovim Issues related to neovim support

Comments

@pokey
Copy link
Member

pokey commented Jul 26, 2024

Maybe I'm doing something dumb, but I can't seem to get the newly deployed https://github.com/hands-free-vim/cursorless.nvim to work for me. @saidelike @fidgetingbits is it working for you?

Here is my init.lua fwiw:

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/folke/lazy.nvim.git",
		"--branch=stable", -- latest stable release
		lazypath,
	})
end

vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
	"hands-free-vim/talon.nvim",
	'hands-free-vim/cursorless.nvim',
})

require("talon").setup()
require("cursorless").setup()
@pokey pokey added the app-neovim Issues related to neovim support label Jul 26, 2024
@fidgetingbits
Copy link
Collaborator

I still haven't tried as I haven't been at my computer yet but just to note one random guess is that we didn't update to the new default Mac shortcut in neovim-talon yet, so may not be communicating with command server? I filed an issue to fix that yesterday.

@pokey
Copy link
Member Author

pokey commented Jul 27, 2024

No I was on hands-free-vim/neovim-talon#42 so I don't think it's that

@fidgetingbits
Copy link
Collaborator

Finally tested from linux in a bare neovim instance using config:

  local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
  if not (vim.uv or vim.loop).fs_stat(lazypath) then
      vim.fn.system({
          "git",
          "clone",
          "--filter=blob:none",
          "https://github.com/folke/lazy.nvim.git",
          "--branch=stable", -- latest stable release
          lazypath,
      })
  end
  vim.opt.runtimepath:prepend(lazypath)
  require("lazy").setup({
      "hands-free-vim/talon.nvim",
      "hands-free-vim/cursorless.nvim",
      "nvim-lualine/lualine.nvim",
      dependencies = { "nvim-tree/nvim-web-devicons" },
  })
  vim.o.guicursor = "a:hor20-blink100"
  
  require("talon").setup()
  require("cursorless").setup()
  require("lualine").setup()

And it works okay on my end. Will try on darwin later.

Maybe worth running with NVIM_NODE_LOG_FILE=/tmp/neovim-node.log set to see if the plugin is spitting any obvious errors.

@fidgetingbits
Copy link
Collaborator

I just tested it on darwin finally with your config and it works ok. Make sure Lazy installed the plugins correctly maybe? If you have an old lock file it might be using an old version or something? I don't use lazy, so it was a fully fresh install on my end.

@pokey
Copy link
Member Author

pokey commented Jul 29, 2024

Ok cool I'm not actually planning to use it so not urgent for it to work for me, I was just worried that the deployed repo was totally broken. I'll close and declare victory on the first round of cursorless-neovim hacking. Fantastic work @fidgetingbits and @saidelike! 🎉🙌🚀

@pokey pokey closed this as completed Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-neovim Issues related to neovim support
Projects
None yet
Development

No branches or pull requests

2 participants