fix: vim.show_pos doesn't work on linux
This commit is contained in:
parent
38a379f5e5
commit
cb9ea43ce1
|
@ -116,9 +116,9 @@ map("n", "<leader>gG", function() Util.float_term({ "lazygit" }) end, { desc = "
|
||||||
map("n", "<leader>qq", "<cmd>qa<cr>", { desc = "Quit all" })
|
map("n", "<leader>qq", "<cmd>qa<cr>", { desc = "Quit all" })
|
||||||
|
|
||||||
-- highlights under cursor
|
-- highlights under cursor
|
||||||
if vim.fn.has("nvim-0.9.0") == 1 then
|
-- if vim.fn.has("nvim-0.9.0") == 1 then
|
||||||
map("n", "<leader>ui", vim.show_pos, { desc = "Inspect Pos" })
|
-- map("n", "<leader>ui", vim.show_pos, { desc = "Inspect Pos" })
|
||||||
end
|
-- end
|
||||||
|
|
||||||
-- floating terminal
|
-- floating terminal
|
||||||
map("n", "<leader>ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
|
map("n", "<leader>ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
|
||||||
|
|
Loading…
Reference in New Issue