프로젝트
GitHub에서 보기
nvzone/floaterm
소개
세련된 Neovim 플로팅 터미널 관리자입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFloaterm
A beautiful toggleable floating window for managing terminal buffers within Neovim
- Youtube video showcasing it :
Install
{
"nvzone/floaterm",
dependencies = "nvzone/volt",
opts = {},
cmd = "FloatermToggle",
}
Default config
{
border = false,
size = { h = 60, w = 70 },
-- to use, make this func(buf)
mappings = { sidebar = nil, term = nil},
-- Default sets of terminals you'd like to open
terminals = {
{ name = "Terminal" },
-- cmd can be function too
{ name = "Terminal", cmd = "neofetch" },
-- More terminals
},
}
Mappings
This are the mappings for sidebar
- a -> add new terminal
- e -> edit terminal name
- Pressing any number within sidebar will switch to that terminal
Must be pressed in main terminal buffer
- Ctrl + h -> Switch to sidebar
- Ctrl + j -> Cycle to prev terminal
- Ctrl + k -> Cycle to next terminal
Add new mapping
{
mappings = {
term = function(buf)
vim.keymap.set({ "n", "t" }, "<C-p>", function()
require("floaterm.api").cycle_term_bufs "prev"
end, { buffer = buf })
end,
},
},
관련 프로젝트 살펴보기
불러오는 중…