Compare commits

..

No commits in common. "ec970f63b0805dec8ccefd4461681d421c562b9e" and "09c261979711c06c8403fe01b2f75adb6d7f983e" have entirely different histories.

2 changed files with 13 additions and 30 deletions

View file

@ -21,10 +21,9 @@ options = { noremap = true }
map('n', '<Leader>ff', ':Telescope find_files<Enter>', options) map('n', '<Leader>ff', ':Telescope find_files<Enter>', options)
map('n', '<Leader>fg', ':Telescope git_files<Enter>', options) map('n', '<Leader>fg', ':Telescope git_files<Enter>', options)
map('n', '<Leader>fc', ':Telescope git_commits<Enter>', options) map('n', '<Leader>fc', ':Telescope git_commits<Enter>', options)
map('n', '<Leader>fC', ':Telescope git_bcommits<Enter>', options)
map('n', '<Leader>fl', ':Telescope live_grep<Enter>', options) map('n', '<Leader>fl', ':Telescope live_grep<Enter>', options)
map('n', '<Leader>fh', ':Telescope help_tags<Enter>', options)
map('n', '<Leader><Space>', ':Telescope buffers<Enter>', options) map('n', '<Leader><Space>', ':Telescope buffers<Enter>', options)
map('n', '<Leader>t', ':TagbarToggle<Enter>', options)
map('n', '<Leader>nv', ':Telescope find_files cwd=~/.config/nvim<Enter>', options) map('n', '<Leader>nv', ':Telescope find_files cwd=~/.config/nvim<Enter>', options)
map('n', '<Leader>nc', ':Telescope find_files cwd=~/.config<Enter>', options) map('n', '<Leader>nc', ':Telescope find_files cwd=~/.config<Enter>', options)
@ -33,8 +32,6 @@ map('n', '<Leader>gr', ':Telescope lsp_references<Enter>', options)
map('n', '<Leader>gs', ':Telescope lsp_workspace_symbols<Enter>', options) map('n', '<Leader>gs', ':Telescope lsp_workspace_symbols<Enter>', options)
map('n', '<Leader>gS', ':Telescope lsp_dynamic_workspace_symbols<Enter>', options) map('n', '<Leader>gS', ':Telescope lsp_dynamic_workspace_symbols<Enter>', options)
map('n', '<Leader>h', ':nohlsearch<Enter>', options)
-------------------------------------------------- --------------------------------------------------
-- Telescope -- Telescope
-------------------------------------------------- --------------------------------------------------
@ -113,17 +110,3 @@ cmp.setup({
}, },
mapping = cmp.mapping.preset.insert({}), mapping = cmp.mapping.preset.insert({}),
}) })
--------------------------------------------------
-- Aerial
--------------------------------------------------
require("aerial").setup({
-- optionally use on_attach to set keymaps when aerial has attached to a buffer
on_attach = function(bufnr)
-- Jump forwards/backwards with '{' and '}'
--vim.keymap.set("n", "{", "<cmd>AerialPrev<CR>", { buffer = bufnr })
--vim.keymap.set("n", "}", "<cmd>AerialNext<CR>", { buffer = bufnr })
end,
})
-- You probably also want to set a keymap to toggle aerial
vim.keymap.set("n", "<leader>a", "<cmd>Telescope aerial<CR>")

View file

@ -5,7 +5,7 @@ return {
local configs = require("nvim-treesitter.configs") local configs = require("nvim-treesitter.configs")
configs.setup({ configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "php", "css" }, ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
sync_install = false, sync_install = false,
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },