Updates to nvim stuff
This commit is contained in:
parent
93c1b94387
commit
7efc69cc34
@ -358,3 +358,6 @@ require("gitsigns").setup {
|
|||||||
col = 1
|
col = 1
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require('telescope').setup{
|
||||||
|
}
|
||||||
|
|||||||
@ -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", "<C-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
|
||||||
keymap("n", "gr", "<cmd>lua vim.lsp.buf.references()<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>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)
|
||||||
|
|||||||
@ -71,3 +71,14 @@ autocmd CursorHold * lua vim.diagnostic.open_float(nil, { focusable = false })
|
|||||||
vim.wo.foldmethod = 'expr'
|
vim.wo.foldmethod = 'expr'
|
||||||
vim.wo.foldexpr = 'nvim_treesitter#foldexpr()'
|
vim.wo.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||||
|
|
||||||
|
vim.g.dashboard_default_executive ='telescope'
|
||||||
|
vim.g.dashboard_custom_header = {
|
||||||
|
"███████╗██╗ ██╗███████╗██████╗ ███████╗ ██████╗ ██████╗ ███████╗███████╗████████╗",
|
||||||
|
"██╔════╝██║ ██║██╔════╝██╔══██╗██╔════╝██╔═══██╗██╔══██╗██╔════╝██╔════╝╚══██╔══╝",
|
||||||
|
"█████╗ ██║ ██║█████╗ ██████╔╝█████╗ ██║ ██║██████╔╝█████╗ ███████╗ ██║ ",
|
||||||
|
"██╔══╝ ╚██╗ ██╔╝██╔══╝ ██╔══██╗██╔══╝ ██║ ██║██╔══██╗██╔══╝ ╚════██║ ██║ ",
|
||||||
|
"███████╗ ╚████╔╝ ███████╗██║ ██║██║ ╚██████╔╝██║ ██║███████╗███████║ ██║ ",
|
||||||
|
"╚══════╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ",
|
||||||
|
" NEOVIM"
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -93,8 +93,27 @@ return packer.startup(function(use)
|
|||||||
-- VimWiki
|
-- VimWiki
|
||||||
use { 'vimwiki/vimwiki', branch='dev'}
|
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
|
-- dicord fuckery
|
||||||
-- use 'andweeb/presence.nvim'
|
use 'andweeb/presence.nvim'
|
||||||
|
|
||||||
-- floaterm
|
-- floaterm
|
||||||
use 'voldikss/vim-floaterm'
|
use 'voldikss/vim-floaterm'
|
||||||
@ -103,7 +122,7 @@ return packer.startup(function(use)
|
|||||||
use 'lewis6991/gitsigns.nvim'
|
use 'lewis6991/gitsigns.nvim'
|
||||||
|
|
||||||
-- LaTeX
|
-- LaTeX
|
||||||
-- use 'lervag/vimtex'
|
use 'lervag/vimtex'
|
||||||
|
|
||||||
-- Automatically set up your configuration after cloning packer.nvim
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
-- Put this at the end after all plugins
|
-- Put this at the end after all plugins
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user