इस प्रोजेक्ट के बारे में
telescope.nvim एक अत्यधिक विस्तार योग्य फ़ज़ी खोजक है जो सूचियों पर काम करता है, जो Neovim की मुख्य विशेषताओं पर आधारित है और Lua में लिखा गया है। यह modularity पर केंद्रित है, जिससे अनुकूलन वैश्विक रूप से setup() के माध्यम से या बिल्टिन फ़ंक्शनों को दिए गए विकल्पों के माध्यम से प्रति picker किया जा सकता है।
आवश्यकताओं में LuaJIT और plenary.nvim के साथ Neovim शामिल है। अनुशंसित निर्भरताएँ हैं ripgrep (live_grep और grep_string के लिए आवश्यक), fd, और nvim-web-devicons (आइकन के लिए)। नेटिव सॉर्टर जैसे telescope-fzf-native.nvim या telescope-fzy-native.nvim को सॉर्टिंग प्रदर्शन सुधारने के लिए सुझाया गया है। स्थापना आमतौर पर रिलीज़ टैग को पिन करके की जाती है, उदाहरण के लिए lazy.nvim के साथ, और उपयोगकर्ताओं को सेटअप के बाद :checkhealth telescope चलाने की सलाह दी जाती है।
प्लगइन बिल्टिन pickers का एक बड़ा सेट प्रदान करता है। फ़ाइल pickers में find_files, git_files, grep_string और live_grep शामिल हैं। Vim pickers में buffers, oldfiles, commands, tags, command_history, search_history, help_tags, man_pages, marks, colorscheme, quickfix, loclist, jumplist, vim_options, registers, autocommands, spell_suggest, keymaps, filetypes, highlights, current_buffer_fuzzy_find, current_buffer_tags, resume और pickers शामिल हैं। Neovim LSP pickers में lsp_references, lsp_incoming_calls, lsp_outgoing_calls, lsp_document_symbols, lsp_workspace_symbols, lsp_dynamic_workspace_symbols, diagnostics, lsp_implementations, lsp_definitions और lsp_type_definitions शामिल हैं। Git pickers में git_commits, git_bcommits, git_bcommits_range, git_branches, git_status और git_stash शामिल हैं। एक treesitter picker भी है और सूची pickers जैसे planets, builtin, reloader और symbols।
Previewers फ़ाइलों, grep परिणामों और quickfix सूचियों के लिए प्रदान किए जाते हैं, जिनमें vim_buffer_ वेरिएंट Neovim बफ़र्स और tree-sitter या regex हाइलाइटिंग का उपयोग करते हैं, और टर्मिनल वेरिएंट cat या bat का उपयोग करते हैं। डिफ़ॉल्ट previewers फ़ाइलटाइप का अनुमान लगाने के लिए vim.filetype का उपयोग करते हैं, जो filename, shebang और modeline की जाँच करता है। TelescopePreviewerLoaded autocmd प्रति-फ़ाइलटाइप प्रीव्यू विंडो कॉन्फ़िगरेशन की अनुमति देता है।
Sorters, layouts और themes कॉन्फ़िगर करने योग्य हैं, और mappings पूरी तरह से अनुकूलन योग्य हैं, जिनमें दस्तावेज़ित डिफ़ॉल्ट सेट नेविगेशन, चयन, फ़ाइलों को splits या tabs में खोलना, previews स्क्रॉल करना, multi-selection टॉगल करना, परिणामों को quickfix सूची में भेजना, और मूल विंडो से शब्दों को प्रॉम्प्ट में सम्मिलित करना शामिल है। Actions को remap किया जा सकता है या transform_mod के माध्यम से कस्टम actions बनाए जा सकते हैं। Extensions को एक समर्पित कॉन्फ़िगरेशन तालिका के माध्यम से समर्थित किया जाता है, और परियोजना showcase, कॉन्फ़िगरेशन रेसिपी और एक्सटेंशन जानकारी के साथ एक विकी बनाए रखती है।
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.