added bufferline and others
This commit is contained in:
parent
c9553d36a3
commit
e6f34faa53
9 changed files with 323 additions and 36 deletions
|
|
@ -8,37 +8,6 @@ telescope.load_extension('media_files')
|
|||
local actions = require "telescope.actions"
|
||||
local builtin = require 'telescope.builtin'
|
||||
|
||||
-- -- Enable Telescope extensions if they are installed
|
||||
-- pcall(require('telescope').load_extension, 'fzf')
|
||||
-- pcall(require('telescope').load_extension, 'ui-select')
|
||||
--
|
||||
--
|
||||
-- -- Slightly advanced example of overriding default behavior and theme
|
||||
-- vim.keymap.set('n', '<leader>/', function()
|
||||
-- -- You can pass additional configuration to Telescope to change the theme, layout, etc.
|
||||
-- builtin.current_buffer_fuzzy_find(require('telescope.themes').get_dropdown {
|
||||
-- winblend = 10,
|
||||
-- previewer = false,
|
||||
-- })
|
||||
-- end, { desc = '[/] Fuzzily search in current buffer' })
|
||||
--
|
||||
-- -- It's also possible to pass additional configuration options.
|
||||
-- -- See `:help telescope.builtin.live_grep()` for information about particular keys
|
||||
-- vim.keymap.set('n', '<leader>s/', function()
|
||||
-- builtin.live_grep {
|
||||
-- grep_open_files = true,
|
||||
-- prompt_title = 'Live Grep in Open Files',
|
||||
-- }
|
||||
-- end, { desc = '[S]earch [/] in Open Files' })
|
||||
--
|
||||
-- -- Shortcut for searching your Neovim configuration files
|
||||
-- vim.keymap.set('n', '<leader>sn', function()
|
||||
-- builtin.find_files { cwd = vim.fn.stdpath 'config' }
|
||||
-- end, { desc = '[S]earch [N]eovim files' })
|
||||
-- end,
|
||||
-- },
|
||||
--
|
||||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue