add fix for shit default keybindings for ada fileteype

This commit is contained in:
Mans Ziesel 2024-04-24 11:41:51 +02:00
parent d3e6a78d54
commit e70df62959
2 changed files with 9 additions and 0 deletions

5
after/ftplugin/ada.lua Normal file
View File

@ -0,0 +1,5 @@
vim.cmd([[
:iunmap <buffer> <leader>aj
:iunmap <buffer> <leader>al
]])

View File

@ -93,6 +93,9 @@ require('lazy').setup({
}, },
}, },
{ 'coddingtonbear/neomake-platformio' },
{ 'pearofducks/ansible-vim' },
{ {
-- Autocompletion -- Autocompletion
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
@ -364,6 +367,7 @@ vim.api.nvim_create_autocmd('TextYankPost', {
}) })
local telescope_builtin = require('telescope.builtin') local telescope_builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pe', telescope_builtin.diagnostics, {})
vim.keymap.set('n', '<leader>pf', telescope_builtin.find_files, {}) vim.keymap.set('n', '<leader>pf', telescope_builtin.find_files, {})
vim.keymap.set('n', '<leader>pg', telescope_builtin.live_grep, {}) vim.keymap.set('n', '<leader>pg', telescope_builtin.live_grep, {})
vim.keymap.set('n', '<leader>pb', telescope_builtin.buffers, {}) vim.keymap.set('n', '<leader>pb', telescope_builtin.buffers, {})