gitclone https://github.com/wbthomason/packer.nvim\~/.local/share/nvim/site/pack/packer/start/packer.nvim 配置Neovim 的初始化文件:在你的 Neovim 初始化文件(通常是init.lua或init.vim)中添加以下内容来安装 toggleterm.nvim: -- 使用 packer.nvim 管理插件returnrequire('packer').startup(function(...
Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} sbkkalex / toggleterm.nvim Public forked from akinsho/toggleterm.nvim Notifications You must be signed in to change notification settings Fork 0 Star 0 ...
I get this weird behavior when trying to manage multiple terminal instances using keymaps. vim.keymap.set("n", "<C-t>", ":ToggleTerm size=20 direction=vertical<CR>", {noremap = true}) It opens the terminal#1, all fine. It works perfectly...
akinsho/toggleterm.nvim最新发布版本:v2.10.0(2024-02-12 18:27:33)2.10.0 (2024-02-12) Features enable title for floating terminals (#534) (d3aa6e8) Bug Fixes send_lines_to_terminal now honours ID variable when trim_spaces = false (#541) (63ac4c8)...
Usinglazy.nvimin lua {--amongst your other plugins{'akinsho/toggleterm.nvim',version="*",config=true}--or{'akinsho/toggleterm.nvim',version="*",opts={--[[things you want to change go here]]}} } Usingvim-plugin vimscript
functionTerminal:__spawn()localcmd=self.cmdorconfig.get("shell")iftype(cmd)=="function"thencmd=cmd()end... I believe the error was truly just coming the localget_newline_chr()function in theterminalmodule that is using the shell option directly from config, rather than having it passed...
vim.v.count })--require("toggleterm").send_lines_to_terminal("visual_selection", trim_spaces, { args = vim.v.count })--For use as an operator map:--Send motion to terminalvim.keymap.set("n",[[<leader><c-\>]],function()set_opfunc(function(motion_type)require("toggleterm")....