numToStr / Navigator.nvim

:sparkles: Smoothly navigate between neovim and terminal multiplexer(s) :sparkles:
MIT License
391 stars 21 forks source link

Startup error #11

Closed darteil closed 2 years ago

darteil commented 2 years ago

Nvim version: NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3

tmux version: tmux 3.2a

screen

Config:

local status_ok, navigator = pcall(require, "Navigator")
if not status_ok then
  return
end

navigator.setup({ disable_on_zoom = true })

local map = vim.api.nvim_set_keymap
map("n", "<c-h>", "<CMD>lua require('Navigator').left()<CR>", { noremap = true })
map("n", "<c-k>", "<CMD>lua require('Navigator').up()<CR>", { noremap = true })
map("n", "<c-l>", "<CMD>lua require('Navigator').right()<CR>", { noremap = true })
map("n", "<c-j>", "<CMD>lua require('Navigator').down()<CR>", { noremap = true })
numToStr commented 2 years ago

Sorry for the trouble. Please switch to this commit 6bfcf7da965a03fd1e170aa6870b92b16bf739ee

darteil commented 2 years ago

No problem. Thanks for working on the plugin!