Updates to nvim stuff

This commit is contained in:
_N0x 2025-05-20 14:18:28 +02:00
parent 93c1b94387
commit 7efc69cc34
4 changed files with 39 additions and 2 deletions

View File

@ -358,3 +358,6 @@ require("gitsigns").setup {
col = 1
},
}
require('telescope').setup{
}

View File

@ -109,3 +109,7 @@ keymap("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>", opts)
keymap("n", "<C-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
keymap("n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts)
keymap("n", "<leader>rn", "<cmd>lua vim.lsp.buf.rename()<CR>", opts)
keymap("n", "<leader>f", "<cmd>lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))<cr>", opts)
keymap("n", "<c-t>", "<cmd>Telescope live_grep<cr>", opts)

View File

@ -71,3 +71,14 @@ autocmd CursorHold * lua vim.diagnostic.open_float(nil, { focusable = false })
vim.wo.foldmethod = 'expr'
vim.wo.foldexpr = 'nvim_treesitter#foldexpr()'
vim.g.dashboard_default_executive ='telescope'
vim.g.dashboard_custom_header = {
"███████╗██╗ ██╗███████╗██████╗ ███████╗ ██████╗ ██████╗ ███████╗███████╗████████╗",
"██╔════╝██║ ██║██╔════╝██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔════╝╚══██╔══╝",
"█████╗ ██║ ██║█████╗ ██████╔╝█████╗ ██║ ██║██████╔╝█████╗ ███████╗ ██║ ",
"██╔══╝ ╚██╗ ██╔╝██╔══╝ ██╔══██╗██╔══╝ ██║ ██║██╔══██╗██╔══╝ ╚════██║ ██║ ",
"███████╗ ╚████╔╝ ███████╗██║ ██║██║ ╚██████╔╝██║ ██║███████╗███████║ ██║ ",
"╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ",
" NEOVIM"
}

View File

@ -93,8 +93,27 @@ return packer.startup(function(use)
-- VimWiki
use { 'vimwiki/vimwiki', branch='dev'}
-- Dashboard
use {
'nvimdev/dashboard-nvim',
event = 'VimEnter',
config = function()
require('dashboard').setup {
-- config
}
end,
requires = {'nvim-tree/nvim-web-devicons'}
}
-- Telescope
use "nvim-lua/plenary.nvim"
use {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
requires = { {'nvim-lua/plenary.nvim'} }
}
-- dicord fuckery
-- use 'andweeb/presence.nvim'
use 'andweeb/presence.nvim'
-- floaterm
use 'voldikss/vim-floaterm'
@ -103,7 +122,7 @@ return packer.startup(function(use)
use 'lewis6991/gitsigns.nvim'
-- LaTeX
-- use 'lervag/vimtex'
use 'lervag/vimtex'
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins