プロジェクト
概要
Beautiful floating terminal manager for Neovim
開発ツール計測したスター増加
- 24時間
- +1
- 7日間
- +1
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルFloaterm
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,
},
},
関連プロジェクトを探す
読み込み中…