19 lines
727 B
Lua
19 lines
727 B
Lua
--FILEHANDLING
|
|
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, {})
|
|
|
|
--LSP
|
|
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)
|
|
|
|
--SPLITS
|
|
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 })
|
|
|
|
|