You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
local telescope = require('telescope.builtin')
|
|
|
|
local etc = require("etc")
|
|
|
|
vim.keymap.set('n', '<C-p>', etc.project_files, {})
|
|
|
|
vim.keymap.set('n', '<F2>', telescope.diagnostics, {})
|
|
|
|
vim.keymap.set('n', '<leader>o', telescope.buffers, {})
|
|
|
|
vim.keymap.set('n', '<C-k>', vim.cmd.bnext, {})
|
|
|
|
vim.keymap.set('n', '<C-j>', vim.cmd.bprev, {})
|
|
|
|
|
|
|
|
-- vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
|
|
|
|
-- vim.keymap.set("v", "K", ":m '>-2<CR>gv=gv")
|
|
|
|
|
|
|
|
-- using J to join lines doesn't move your cursor
|
|
|
|
-- vim.keymap.set("n", "J", "mzJ`z")
|
|
|
|
|
|
|
|
-- vim.keymap.set('n', '<C-k'
|