feat: telekasten things
parent
bb542b005d
commit
5455af3d42
|
@ -47,6 +47,7 @@ require("packer").startup(function(use)
|
|||
-- language support
|
||||
use("Glench/Vim-Jinja2-Syntax")
|
||||
use("preservim/vim-markdown")
|
||||
use("mzlogin/vim-markdown-toc")
|
||||
use("LnL7/vim-nix")
|
||||
use("hashivim/vim-terraform")
|
||||
use("LaTeX-Box-Team/LaTeX-Box")
|
||||
|
@ -78,6 +79,7 @@ require("packer").startup(function(use)
|
|||
}
|
||||
use { 'nvim-telescope/telescope-symbols.nvim' }
|
||||
use { 'renerocksai/calendar-vim' }
|
||||
use { "nvim-telescope/telescope-bibtex.nvim" }
|
||||
|
||||
use("sheerun/vim-polyglot")
|
||||
|
||||
|
@ -385,6 +387,10 @@ vim.keymap.set('n', '<leader>ff', telescope_builtin.find_files, {})
|
|||
vim.keymap.set('n', '<leader>fg', telescope_builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>fb', telescope_builtin.buffers, {})
|
||||
vim.keymap.set('n', '<leader>fh', telescope_builtin.help_tags, {})
|
||||
vim.keymap.set('n', '<leader>fs', function()
|
||||
telescope_builtin.symbols({ sources = 'emoji', 'gitmoji', 'nerd' })
|
||||
end)
|
||||
vim.keymap.set('n', '<leader>fb', ":Telescope bibtex<CR>")
|
||||
|
||||
local telescope = require("telescope")
|
||||
telescope.setup {
|
||||
|
@ -402,11 +408,15 @@ telescope.setup {
|
|||
-- filetypes = { "png", "webp", "jpg", "jpeg" },
|
||||
-- -- find command (defaults to `fd`)
|
||||
-- find_cmd = "rg"
|
||||
-- }
|
||||
-- },
|
||||
bibtex = {
|
||||
global_files = { vim.fn.expand("~/notes/refs") },
|
||||
}
|
||||
}
|
||||
}
|
||||
telescope.load_extension("fzf")
|
||||
telescope.load_extension("media_files")
|
||||
telescope.load_extension("bibtex")
|
||||
|
||||
require 'nvim-web-devicons'.setup()
|
||||
|
||||
|
|
Loading…
Reference in New Issue