-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New command ideas #2
Comments
What you think about a command that opens just a terminal in the current workspace to run some quick code while editing. But the terminal is persistent, so that you can execute your program or whatever, esc out, edit some, use some other one term commands, come back to the terminal, and you still have the output etc. |
so how do you exit it again? since it captures all the keyinput, because by typing exit of course you kill the instance. |
You can use |
alright, but it doesnt stop rendering the floating window, i can jump outside but the floating window is still in front and if i close it with "c-w c" my vim crashes. |
I'm looking into this, a stable version should be up shortly. |
Well it should be working now |
And btw you still need to close the window when you're down (if you delete the buffer it will open a new shell instance). |
first i got this error when closing the window then i manually created the file and had no error when closing the windows, but still calling ":OneTerm term" again opens a new instance, old output is gone |
The first issue is easy to fix and I'll work on it tomorrow (meaning in ~16h) |
so i exit terminal mode with |
All right, it's weird cause I tested it by closing it this way. Can you check if |
it does indeed, went from 9 to 10 |
All right, thanks, I'll look into it tomorrow. The other commands are working for you (apart for #3)? |
well files isnt working since it depends on rg and i only have ag currently (and fd-find ) but thats to be expected. now that i tested the symbols works for me, i have nvim-lspconfig, but ws_symbols doesnt give me anything also what i noticed is that its a little annoying that for every match with fzf there is the full absolute path, usually there is little space left for the actual match, so maybe an omision or a compression of parts of the path would be nice. also another idea would be to add snippet search |
references is giving me results but opens nonsense |
and yank isnt working for me i have
is there some dependency or smth? |
It would be great if |
Could you please open an issue for this please ? It will take some time & work but I'll try |
The actual command is |
I see, also the last time I looked |
Neovim has now native floating border. |
I saw this, that's why I created |
I fixed most of the issues above, apart from @aMOPel 's term issue, |
The paths on the lsp matching are now relative btw |
@aMOPel could you also please open an issue for the problem you have with |
Did you run the command with a Makefile in neovim's working directory ? |
not in the root of the working directory but in a folder 1 below |
I'll try to, at least with UltiSnips there has to be a way since fzf.vim did it |
Oldfiles or History it would be useful. |
Do you mean command history ? |
Oldfiles is done ! |
for recent files you could use the .fasd file if fasd is installed |
works for me |
History done (it lists command history) ! |
I'm not using that but it seems interesting ! |
Wow you're awesome. Oldfiles it's what I wanted. |
An awesome feature would be term to be toggle and keep the session. |
This is how it's supposed to work, see #5 for progress and the issue and to help me debug it ! |
I watched the debugging on the #5 but it doesn't work for me. |
|
Yes, I tested it and it works perfectly. |
you can use this mapping to easily close it |
I have this:
Thank you. |
I wonder if we could not use the framework to not clutter the plugin ? |
You can check init.lua for examples, don't hesitate to open an issue for any questions you might have ! |
Snippets are added, I'd love some feedback |
Oh yeah I'm an idiot this is linked to #7 which I've reopened. Everything should work otherwise |
Yes everything works |
@LoricAndre what about integrating the functionality of this plugin https://github.com/dominickng/fzf-session.vim ? I use this to have a quick access to my sessions. |
This seems easy enough, I'll start working on it |
Sorry for the delay, with the end of term, plus I was moving and starting an internship, so I didn't have much time in the past weeks |
Sessions should be done with dcbeec6 ! |
@LoricAndre can you make using "ranger in OneTerm term" same as "OneTerm ranger", also the same for fzf,rg,... this plugin is so cool btw |
Hi, do you mean that when you use ranger in the neovim terminal opened by OneTerm term you'd want it to open the file into a new buffer in the main neovim instance ? This sounds interesting, I'll try to think about it but I'm not sure it's doable from the plugin, this might be doable through scripting and neovim-remote |
Yes! Thank you, @LoricAndre ! Love the idea of 1 terminal rules them all!! This plugin is so convenient! |
I need ideas for new commands, so comment here anything you might want !
The text was updated successfully, but these errors were encountered: