Comments (5)
Thanks @10b14224cc seems the contributor who added that doc added in a function that doesn't exist so you won't be able to use that example as is. I don't use that functionality so can't guide you specifically as that whole thing was user contributed. You can play around with it to see what works.
from toggleterm.nvim.
check 283-383 from https://github.com/BlueDrink9/env/blob/359f5863e1f4f85a607d883f1dbcdab2bceb0fec/editors/vim/runtimepath/lua/plugins/main.lua#L287
from toggleterm.nvim.
check 283-383 from https://github.com/BlueDrink9/env/blob/359f5863e1f4f85a607d883f1dbcdab2bceb0fec/editors/vim/runtimepath/lua/plugins/main.lua#L287
Idk why it needs vimscript inside, but it works. Probably just adding this somewhere in the relevant code will fix the issue.
local set_opfunc = vim.fn[vim.api.nvim_exec(
[[
func s:set_opfunc(val)
let &opfunc = a:val
endfunc
echon get(function('s:set_opfunc'), 'name')
]],
true
)]
from toggleterm.nvim.
Related Issues (20)
- [BUG] `:tabnew %` on a toggleterm buffer causes it to lose cursor position HOT 1
- Q: How do you close a terminal? HOT 1
- [BUG] images support bug? HOT 2
- Can't use terminal keymaps HOT 1
- [BUG] Calling toggle in quick succession does not respect persist_mode/start_in_insert HOT 2
- [Feature Request] Next/Previous Terminal HOT 2
- [BUG] windows Custom Terminals fail
- [BUG] weird black space at the left of the terminal HOT 6
- Is it possible to allow users to open the toggleterm in the current window, just like :term? HOT 1
- Help Request: Issues trying to set toggle-term on Windows HOT 4
- Cannot open multiple terminals while in terminal mode HOT 3
- [BUG] Toggleterm does not respond or sometimes blinks when creating a new window HOT 1
- [INFO] Trying to exit Terminal mode
- [FR]: Allow `Terminal:new()` to take custom `width` and `height` HOT 1
- [Question] Frame color is not matching with the rest HOT 2
- Please check instructions HOT 2
- [feature] Add a function to send keypress to the terminal HOT 1
- How can I remove this line on the top of toggle term and zshrc?
- [BUG] Lines send before REPL is opened
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toggleterm.nvim.