added terminal binds for the funzies
This commit is contained in:
@@ -29,6 +29,19 @@ Keymap("i", "<C-BS>", "<C-W>") -- C-Backscpace for whole words
|
||||
Keymap("n", "<leader>d", "<cmd>lua vim.diagnostic.open_float()<CR>") -- Diagnostics for Linter
|
||||
Keymap("n", "gd", "<cmd>lua vim.lsp.buf.definition()<CR>") -- Diagnostics for Linter
|
||||
|
||||
-- Terminal Keymaps
|
||||
Keymap("n", "<leader>tj", function() -- open term in new pane
|
||||
vim.cmd.vnew()
|
||||
vim.cmd.term()
|
||||
vim.cmd.startinsert()
|
||||
end)
|
||||
Keymap("n", "<leader>tk", function() -- open term in new tab
|
||||
vim.cmd.tabnew()
|
||||
vim.cmd.term()
|
||||
vim.cmd.startinsert()
|
||||
end)
|
||||
Keymap("t", "<C-D>", "<C-\\><C-n>") -- escape terminal with c-d
|
||||
|
||||
-- Flash keymaps
|
||||
Keymap("n", "ss", function()
|
||||
require("flash").jump()
|
||||
|
||||
@@ -22,6 +22,7 @@ require("telescope").setup({
|
||||
},
|
||||
n = {
|
||||
["<CR>"] = actions.select_drop,
|
||||
["d"] = actions.delete_buffer,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user