paste to terminal
This commit is contained in:
parent
28a83d6c61
commit
069751a488
|
@ -222,7 +222,10 @@ M.telescope = {
|
||||||
["<localleader>ma"] = { "<cmd> Telescope marks <cr>", "telescope bookmarks" },
|
["<localleader>ma"] = { "<cmd> Telescope marks <cr>", "telescope bookmarks" },
|
||||||
|
|
||||||
-- lsp stuff
|
-- lsp stuff
|
||||||
["<localleader>cw"] = { "<cmd> Telescope lsp_dynamic_workspace_symbols <cr>", "telescope dynamic workspace symbols" },
|
["<localleader>cw"] = {
|
||||||
|
"<cmd> Telescope lsp_dynamic_workspace_symbols <cr>",
|
||||||
|
"telescope dynamic workspace symbols",
|
||||||
|
},
|
||||||
["<localleader>cf"] = { "<cmd> Telescope lsp_document_symbols <cr>", "telescope document symbols" },
|
["<localleader>cf"] = { "<cmd> Telescope lsp_document_symbols <cr>", "telescope document symbols" },
|
||||||
["<localleader>ci"] = { "<cmd> Telescope diagnostics <cr>", "telescope diagnostics" },
|
["<localleader>ci"] = { "<cmd> Telescope diagnostics <cr>", "telescope diagnostics" },
|
||||||
},
|
},
|
||||||
|
@ -384,6 +387,10 @@ M.movements = {
|
||||||
vim.api.nvim_replace_termcodes("<C-\\><C-N>", true, true, true),
|
vim.api.nvim_replace_termcodes("<C-\\><C-N>", true, true, true),
|
||||||
"Escape terminal mode",
|
"Escape terminal mode",
|
||||||
},
|
},
|
||||||
|
["<C-S-v>"] = {
|
||||||
|
'<C-w>"+pi',
|
||||||
|
"paste into terminal",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -436,7 +443,7 @@ M.edit = {
|
||||||
["<Down>"] = { ":move'>+<CR>gv=gv", "Move lines down", opts = { silent = true } },
|
["<Down>"] = { ":move'>+<CR>gv=gv", "Move lines down", opts = { silent = true } },
|
||||||
["<Left>"] = { "<gv", "Less indentation" },
|
["<Left>"] = { "<gv", "Less indentation" },
|
||||||
["<Right>"] = { ">gv", "More indentation" },
|
["<Right>"] = { ">gv", "More indentation" },
|
||||||
["<leader>fl"] = {":!fmt -w80<CR>", "Reorder lines"}
|
["<leader>fl"] = { ":!fmt -w80<CR>", "Reorder lines" },
|
||||||
},
|
},
|
||||||
x = {},
|
x = {},
|
||||||
t = {
|
t = {
|
||||||
|
|
Loading…
Reference in New Issue