2022-10-12 09:33:11 +02:00
|
|
|
--FILEHANDLING
|
2024-04-24 21:16:18 +02:00
|
|
|
local builtin = require('telescope.builtin')
|
|
|
|
vim.keymap.set('n', '<M-1>', builtin.find_files, {})
|
|
|
|
vim.keymap.set('n', '<M-3>', builtin.live_grep, {})
|
|
|
|
vim.keymap.set('n', '<M-2>', builtin.buffers, {})
|
2022-10-12 09:33:11 +02:00
|
|
|
|
2024-04-24 21:16:18 +02:00
|
|
|
--LSP
|
2022-08-25 14:11:17 +02:00
|
|
|
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
|
|
|
|
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
|
|
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
2022-10-12 09:33:11 +02:00
|
|
|
|
2024-04-24 21:16:18 +02:00
|
|
|
--SPLITS
|
2022-10-12 09:33:11 +02:00
|
|
|
vim.keymap.set('n', '<C-J>', '<C-W><C-J>', { noremap = true, silent = true })
|
|
|
|
vim.keymap.set('n', '<C-K>', '<C-W><C-K>', { noremap = true, silent = true })
|
|
|
|
vim.keymap.set('n', '<C-L>', '<C-W><C-L>', { noremap = true, silent = true })
|
|
|
|
vim.keymap.set('n', '<C-H>', '<C-W><C-H>', { noremap = true, silent = true })
|
|
|
|
|
|
|
|
|