lenovsky / nuake Goto Github PK
View Code? Open in Web Editor NEWA Quake-style terminal panel for Neovim and Vim
License: MIT License
A Quake-style terminal panel for Neovim and Vim
License: MIT License
Line 24 in 9cfa226
Normally I'd do a PR for this, but I don't have time and the setup to make sure the change is compatible with all the vim versions you want. But, just wanted to say that I had to swap the vim options and the command for vim9 (2022 Jun 28) [debian].
Is there a way to trigger buffer to be automatically ran inside the terminal ?
Is possible to send command or text to nuake?
For example:
:Nuake ls
:Nuake ./vendor/bin/phpunit
Thank you!
For my use case - it's not that convenient for the cursor to be automatically placed at the terminal buffer, once it pops up. Would it make sense to add additional option specifying whether or not the cursor will be moved to the :term
buffer automatically?
I do :Nuake
and I'm not in the buffer, I don't want to toggle it off, but I want to switch down to it. I tried to look into if I could make a command like this on top of Nuake myself, but I don't understand enough about how vim works. :(
Hi, I just saw your plugin and I feel is pretty nice.
I was wondering if there is a way or plan to use nuake with vim-test
When I quit vim after nuake was once toggled, there was always an error "E947: Job still running in buffer !/bin/zsh". I usually run vim inside tmux and iterm2. The prompt is really annoying, any suggestions?
It'd be nice to have a new terminal per tab. This is what I do to toggle a panel-like terminal like Nuake:
" Toggleable terminal
augroup TerminalToggle
autocmd!
" the very first tab is handled by VimEnter not TabEnter
autocmd TabNew,VimEnter * let t:terminalToggled = get(t:, 'terminalToggled', 'off')
augroup end
nnoremap <leader>t :call ToggleTerminal()<CR>
nnoremap <c-\><c-t> :call ToggleTerminal()<CR>
tnoremap <c-\><c-t> <c-\><c-n>:call ToggleTerminal()<CR>
function! ToggleTerminal()
if t:terminalToggled == "on"
let t:terminalToggled="off"
pclose
else
let t:terminalToggled="on"
pedit | wincmd j | wincmd J | resize 20 | terminal
endif
endfunction
It's essentially like Nuake, but it doesn't keep the terminal alive when closing the window. (I gotta learn how to do that). The nice thing about it though is that it's on a per-tab basis, so it can be a different terminal instance per tab, which I really like.
If you could make Nuake have a setting for per-tab terminal instance, that'd be awesome!
The readme mentions the variable start_insert
, but in code such variable is not used, instead it uses nuake_start_insert
.
Is there any way to configure this so it opens different terminal per filetype ? For example if its .py then it opens
:term python
?
Steps to reproduce:
Nuake is persistent between tabs.
Installed on Neovim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.