mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-14 17:29:00 +02:00
add neoterm
This commit is contained in:
parent
907b816593
commit
e35476bf55
|
@ -7,6 +7,12 @@ map("t", "<Esc>", "<C-\\><C-n>", {})
|
|||
map("n", "ff", "<cmd>Telescope find_files<cr>", { silent = true })
|
||||
map("n", "fg", "<cmd>Telescope live_grep<cr>", { silent = true })
|
||||
|
||||
-- neoterm.nvim
|
||||
map("n", "tt", "<cmd>NeotermToggle<cr>", { silent = true })
|
||||
map("n", "tr", ":NeotermRun<space>", {})
|
||||
map("n", "te", "<cmd>NeotermExit<cr>", { silent = true })
|
||||
map("n", "ta", "<cmd>NeotermRerun<cr>", { silent = true })
|
||||
|
||||
-- Quick cursor movement
|
||||
map("n", "<C-Down>", "5j", { noremap = true })
|
||||
map("n", "<C-Up>", "5k", { noremap = true })
|
||||
|
|
7
.config/nvim/lua/pluginconf/nterm.lua
Normal file
7
.config/nvim/lua/pluginconf/nterm.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local nterm = require "neoterm"
|
||||
|
||||
nterm.setup {
|
||||
clear_on_run = true,
|
||||
mode = "vertical",
|
||||
noinsert = true,
|
||||
}
|
|
@ -95,8 +95,6 @@ return require("packer").startup(function(use)
|
|||
config = pconf "markdowncomposer",
|
||||
}
|
||||
|
||||
use "kassio/neoterm"
|
||||
|
||||
use "kyazdani42/nvim-web-devicons"
|
||||
|
||||
use {
|
||||
|
@ -144,5 +142,10 @@ return require("packer").startup(function(use)
|
|||
after = "nvim-treesitter",
|
||||
}
|
||||
|
||||
use {
|
||||
"itmecho/neoterm.nvim",
|
||||
config = pconf "nterm",
|
||||
}
|
||||
|
||||
cmp_plugins(use)
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue