Comments (9)
I see that working with Vlime in a small terminal is irritating, because of all those split windows, but I'm not sure I grasped the solution you propose. Do you mean something like vim-slime?
Vlime's buffer management is indeed a bit chaotic at the moment. Some special buffers are still lying around after it's window was closed. Hopefully I can fix this soon.
from vlime.
I mean like, have the option of using the REPL from a real terminal emulator (be it URXVT, Gnome-Termninal, or GNU Screen if need be) by using the REPL that is already opened (or launched from Vim).
from vlime.
I'm sorry but I still don't get it 😅. If you just want to run the server in a separate terminal, Vlime can already do that. That's exactly what you showed in your screenshot.
To avoid confusion, can you describe your desired workflow by listing steps, and stress on the difference with Vlime's current workflow? For example, if I would like the REPL be launched in a separate terminal, I'd do this:
- Start the server in a separate terminal by loading
start-vlime.lisp
. - Launch Vim in another terminal, and connect to the server, by pressing
\cc
or callingvlime#plugin#ConnectREPL('127.0.0.1', 7002)
. - Send expressions to the REPL and read results from inside Vim.
from vlime.
Its 3 that I'd like to change, and have everything be done in the other terminal, rather than in a buffer.
from vlime.
Ah, I see. Vlime kept everything in the buffers to make them available for further manipulation, e.g. copying and inspecting the results. I think a separate terminal can't provide decent UI for these tasks.
Currently the closest thing Vlime can do, is to use a vertical REPL window, by adding these to your vimrc
(see :help g:vlime_window_settings
):
let g:vlime_window_settings = {'repl': {'vertical': v:true, 'pos': 'botright'}}
If that's not what you want either, I think vim-slime may be a better tool for you.
from vlime.
Perhaps leaving the standard io in the terminal and having debugging etc in Vim would be a good mix. This would allow things that need editor integration to have them, but allow full TUIs to have a proper terminal.
from vlime.
Vim recently introduced a full-featured embedded terminal, and Neovim already had this feature for some time, so I'm considering using the embedded terminal for launching the Vlime server. I think this will solve most of your problems. The Vim :terminal
implementation is not quite stable at the moment though.
from vlime.
I added a new option to instruct Vlime to use the built-in terminal emulators in both Vim and Neovim. Please refer to :help g:vlime_cl_use_terminal
. If you're using Vim, this needs the recently-added +terminal
feature.
from vlime.
I'm closing this issue. Please feel free to re-open it for further discussion.
from vlime.
Related Issues (20)
- JSON communication working HOT 15
- Connecting to running Swank server? HOT 25
- Installation issues on MacOS with Pathogen HOT 3
- Implement the Parinfer algorithm HOT 2
- Request consideration to "rename" the project HOT 1
- How to get autocomplete? HOT 3
- Don't escape ANSI escape sequences
- `sldb` buffer doesn't work on OpenBSD HOT 7
- Weird highlight behavior inside the REPL buffer HOT 1
- SBCL warnings seem to break the REPL connection HOT 22
- can't press `d` to inspect frame in debugger HOT 4
- Interactively macro-expand a form HOT 2
- Rebind your leaders for weird outcome HOT 1
- Fix this bug introduced by upstream: thread waiting HOT 2
- Slynk support...? HOT 2
- Bug in commit cfaac6ccb379f9f85bfb2ef17ca6369dfadf2be6
- neovim swank:close-connection: end of file HOT 18
- Cusomtizing *print-case* Breaks Restarts HOT 11
- "Manual Install" Failing UI Test, Mappings default to slimv HOT 4
- Quote HOT 2
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 vlime.