aboutsummaryrefslogtreecommitdiff
path: root/config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'config/nvim')
-rw-r--r--config/nvim/init.vim1
-rw-r--r--config/nvim/lua/plugins.lua35
2 files changed, 1 insertions, 35 deletions
diff --git a/config/nvim/init.vim b/config/nvim/init.vim
index b18a009..df59ee3 100644
--- a/config/nvim/init.vim
+++ b/config/nvim/init.vim
@@ -138,6 +138,7 @@ let g:UltiSnipsJumpBackwardTrigger='<c-k>'
nnoremap <c-c><c-c> :Telescope buffers<cr>
nnoremap <c-p> :lua require('mytelescopefiles')()<cr>
nnoremap <c-s-p> :Telescope lsp_document_symbols<cr>
+nnoremap <c-s-g> :Telescope live_grep<cr>
nmap <leader>] :Telescope lsp_definitions<cr>
nmap <leader><leader>] :Telescope lsp_type_definitions<cr>
nmap <leader>[ :Telescope lsp_implementations<cr>
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index f323106..8d54be4 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -4,47 +4,12 @@ if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
vim.cmd([[packadd packer.nvim]])
end
-local treesitter_formaters = {
- "c",
- "lua",
- "kconfig",
- "make",
- "markdown",
- "markdown_inline",
- "meson",
- "ninja",
- "ini",
- "gitcommit",
- "git_rebase",
- "git_config",
- "nix",
- "python",
- "toml",
- "vim",
- "vimdoc",
- "yaml",
- "xml",
-}
-
require("packer").startup(function(use)
use("wbthomason/packer.nvim")
-- Visual ------------------------------------------------------------------
use("shaunsingh/nord.nvim")
use("MunifTanjim/nui.nvim")
use({
- "nvim-treesitter/nvim-treesitter",
- run = ":TSUpdate",
- config = function()
- require("nvim-treesitter.configs").setup({
- ensure_installed = treesitter_formaters,
- highlight = {
- enable = true,
- additional_vim_regex_highlighting = false,
- },
- })
- end,
- })
- use({
"lukas-reineke/indent-blankline.nvim",
config = function()
local highlight = { "CursorColumn", "Whitespace" }