Comments (10)
you did it! thanks for the quick turnaround!
from chezmoi.nvim.
Fixed in the latest release
from chezmoi.nvim.
Great, thanks!
from chezmoi.nvim.
i am using b62a4ad
commit and still have this issue. please advice.
from chezmoi.nvim.
@azinsharaf Could you kindly share your configs for Telescope and chezmoi.nvim?
from chezmoi.nvim.
chezmoi.lua
return {
"xvzc/chezmoi.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("chezmoi").setup({
-- your configurations
edit = {
watch = true, -- Set true to automatically apply on save.
force = true, -- Set true to force apply. Works only when watch = true.
},
notification = {
on_open = true, -- vim.notify when start editing chezmoi-managed file.
on_apply = true, -- vim.notify on apply.
},
})
end,
}
telescope.lua:
return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
"nvim-lua/plenary.nvim",
-- Fuzzy Finder Algorithm which requires local dependencies to be built.
-- Only load if `make` is available. Make sure you have the system
-- requirements installed.
{
"nvim-telescope/telescope-fzf-native.nvim",
-- NOTE: If you are having trouble with this installation,
-- refer to the README for telescope-fzf-native for more instructions.
build = "make",
cond = function()
return vim.fn.executable("make") == 1
end,
},
{
"nvim-tree/nvim-web-devicons",
},
},
config = function()
local telescope = require("telescope")
local actions = require("telescope.actions")
telescope.setup({
defaults = {
mappings = {
i = {
["<C-k>"] = actions.move_selection_previous, --move to prev result
["<C-j>"] = actions.move_selection_next, --move to next result
},
},
},
extensions = {
file_browser = {
hidden = { file_browser = true, folder_browser = true },
display_stat = { date = true, size = true, mode = true },
},
fzf = {
fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
-- the default case_mode is "smart_case"
},
},
})
require("telescope").load_extension("fzf")
require("telescope").load_extension("chezmoi")
vim.keymap.set('n', '<leader>cz', telescope.extensions.chezmoi.find_files, {})
end,
}
nvim error:
E5108: Error executing lua: ...-data/lazy/telescope.nvim/lua/telescope/actions/init.lua:74:
Key does not exist for 'telescope.actions': select_tab_drop
stack traceback:
[C]: in function 'error'
...-data/lazy/telescope.nvim/lua/telescope/actions/init.lua:74: in function '__inde
x'
...zy/chezmoi.nvim/lua/telescope/_extensions/find_files.lua:67: in function 'attach
_mappings'
...nvim-data/lazy/telescope.nvim/lua/telescope/mappings.lua:287: in function 'apply
_keymap'
.../nvim-data/lazy/telescope.nvim/lua/telescope/pickers.lua:569: in function 'find'
...zy/chezmoi.nvim/lua/telescope/_extensions/find_files.lua:74: in function <...zy/
chezmoi.nvim/lua/telescope/_extensions/find_files.lua:37>
from chezmoi.nvim.
@azinsharaf Are you using the latest version of telescope?
from chezmoi.nvim.
yes, 0.1.5
from chezmoi.nvim.
@azinsharaf Sorry to bother you. Please try with the latest release again, and check out that we can now set the select keymap through your config
local default_config = {
edit = {
watch = false,
force = false,
},
notification = {
on_open = true,
on_apply = true,
on_watch = false,
},
telescope = {
select = { "<CR>" },
},
}
from chezmoi.nvim.
No problems!
from chezmoi.nvim.
Related Issues (10)
- Treat all files in `chezmoi source-path` as Chezmoi files HOT 9
- question about netrw HOT 3
- using telescope HOT 2
- apply on save doesn't work HOT 1
- [FEATURE REQUEST] recently edited by chezmoi HOT 5
- Error when running list on new setup. HOT 6
- Chezmoi vim and chezmoi nvim conflict together HOT 5
- Chezmoi script support HOT 3
- Question about `--watch` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezmoi.nvim.