8 ms·
TerminalView – A terminal inside Sublime Text 3
- whoopdedo 8y agoOpen ST3. Launch a terminal. Start Emacs. M-x term Run vim.
- ioquatix 8y agoI made an animated gif in the spirit of your joke a while ago: https://atom.io/packages/script-runner https://atom.io/packages/script-runner
- JCSato 8y ago"The best of both worlds" That got me.
- tomjakubowski 8y agoI'm (sadly) moving from Emacs to Visual Studio Code. But I won't give up magit[1], because it is awesome, and neither the VS Code git integration nor the git command line tool come close to it. Hence, I've stripped my emacs config down so that it essentially does nothing but run (magit-status) on startup. When I need to do git operations in VS Code, I open the integrated terminal and run emacs. [1]: https://github.com/magit/magit https://github.com/magit/magit
- lukewrites 8y agoHave you tried GitLens for VS Code? It’s what keeps drawing me back to VSC.
- cup-of-tea 8y agoThe question really is have you tried magit?
- dmortin 8y agoEmacs is still useful for me even if I'm doing coding in some IDE. Magit is one thing, also Org mode for notes and tasks, etc.
- Gracana 8y agoRun :terminal. Run ed.
- hs86 8y agoThere is also the relatively young https://github.com/randy3k/Terminus https://github.com/randy3k/Terminus Unlike TerminalView it also supports Windows and its various shells (cmd.exe, powershell.exe, wsl.exe).
- tenryuu 8y ago>21MB of gifs on the readme Why?
- Sephr 8y agoA good solution would be termtosvg[1] styled to look like Sublime Text 3. [1] https://github.com/nbedos/termtosvg https://github.com/nbedos/termtosvg
- solidr53 8y agoNice one!
- nkristoffersen 8y agoNot supported in all browsers I thought? I recall a browser couldn’t do SVG animations
- yoavm 8y agoOr just an mp4 video. I converted (with ffmpeg) one GIF and it turned from 6MB to 1.5MB without any parameters settings, and still looking perfect.
- eat_veggies 8y agoThis feature has been missing since the beginning! The lack of a proper terminal is actually what made me switch to a tiling window manager.
- fit2rule 8y agoVery nice feature - now its even easier for me to break into vim and do something I can't figure out how to do in ST3. ;) One thing though - whats up with key repeat? It doesn't seem to be working at all .. (macOS, ST3 Build 3176) .. this kind of makes the whole thing unusable for me, personally. Also its not processing any of my ~/.bash* scripts .. I guess this is by design since its not guaranteed to be a full-featured Term yet?
- derefr 8y agoIs there a reason to favour an embedded terminal with a fixed viewport + an N-line scroll-back, over one that just uses a text-editing buffer as the moral equivalent of a serial-terminal (where line-editing escape sequences edit the ST buffer) or even as an append-only log (i.e. regular TTY output is output; but escape sequences are ignored)? This would give you the ability to use any REPL as (something close to) a Jupyter-style notebook. Sure, curses apps wouldn’t work very well... but why are you running curses apps inside an IDE?
- dilap 8y agoYeah, this is exactly how the emacs `shell` mode works, and it's fucking awesome + completely addictive. The only bad thing about it is emacs is so shit-ass slow at rendering text that I have to drop back to a normal shell for commands that spew a bunch of shit (like maven, ugh). It's one of the can't-live-without-it things that's keeping me on emacs. (Also how dumb is it that a text editor is slow at rendering text? Emacs is amazingly flexible, but the implementation is just junk. I dream of an editor w/ the speed & implementation quality of Sublime, with the flexability of emacs, that'll still run in a terminal. And a pony. I want that too.)
- Scarbutt 8y ago* dream of an editor w/ the speed & implementation quality of Sublime, with the flexability of emacs, that'll still run in a terminal. And a pony. I want that too.)* And configurable in language that can also be used outside the editor (unlike vimscript, elisp), it could be js, python, scheme, lua, I don't care ;) JS or Python being the most appropriates IMO.
- taeric 8y agoNot sure what you mean about elisp here. Provided you aren't doing anything super specific to emacs, most lisps can actually move around quite easily. Though, I have a somewhat irrational dislike of python. JS I accept, but most of the ecosystem has caused me to greatly question our profession. :)
- 8y ago
- curiousgal 8y agoI just use i3.
- evmar 8y agoThe repository root has a file named LICENSE containing the MIT license. But the file GateOne/terminal.py says __license__ = "AGPLv3 or Proprietary (see LICENSE.txt)" and doesn't include LICENSE.txt. I wonder what went wrong?
- windinhishair 8y agoso it is becoming emacs?
- max_likelihood 8y agoOn Linux Mint, I had to use `{ "keys": ["ctrl+alt+o"], "command": "terminal_view_open" }` in Preferences > Key Bindings because "ctrl_alt+t" was opening up my system Terminal.
- NietTim 8y agoOne of those things I've always wanted to have in ST but somehow never took the time to look up. This is really nice, thanks OP!
- Retra 8y agoI use iTerm2 as a terminal, and it comes with a handy option to use [option] + [space] as a command to switch between the terminal and the current application. So basically, a terminal is almost as accessible as the space bar, and I've never seen anything that even looks half as easy or convenient.
- mcintyre1994 8y agoThis is one of my favourite things about VSCode, awesome!
- modeless 8y agoCan this replace the build results panel? Support for color and other terminal escape sequences would be a godsend there.
- ehnto 8y agoEven though I use something else, this is cool for reducing context switching. I used to need to hop between many tools and windows and I found that, similar to the doorway effect, this switching had the chance to distract me from what I was doing. That split second of switching contexts was enough to let my mind drop the balls it was juggling and think about something else. So in my chosen tool I now have the terminal, editor, debugger and database as tabs or tool panes. It has helped my concentration immensely as I am not switching contexts to a new window and my focus remains on the task. I go to great lengths to stuff tools into the platform I use in order to reduce switching, even down to making tool buttons for things like enabling ssh tunnels needed for remote debugging, compiling assets from a button and so on. For everything I can't stuff into a button, shortcut or tool pane, there is the terminal pane. Learning my tool thoroughly has been a real boon for my working efficacy.
- bakul 8y ago$ size /usr/local/plan9/bin/acme text data bss dec hex filename 356886 14680 52332 423898 0x677da /usr/local/plan9/bin/acme
- mherrmann 8y agoI've never understood the appeal of integrated terminals or viewers in text editors, file managers or IDEs. They will never be as good as dedicated terminals/viewers. Is Alt/Cmd-Tab so hard?
- NietTim 8y agoI run a dev server trough grunt for a project, now I can open that terminal window in the same project I'm working on and close it when I'm done with the project. It will never replace my "main terminal" but makes my life a little bit easier.
- dmortin 8y agoYou have probably never experienced the efficiency when you can access terminal contents as plain text. E.g. it is searchable with the same commands as your text buffers, very easy to copy large chunks of output from it, etc.
- mherrmann 8y agoWhat large chunks do you need to copy? The only thing I really copy often are file paths.
- dmortin 8y agoOutput from scripts, for example. Not necessarily large. E.g. I run various scripts, and then I need the output of some them later. Then I don't have to rerun the script and redirect to a file, or scroll back trying to find it. I just search for some string in it, and then it is right there and I can copy or even edit the output right in place in the terminal buffer if I don't want something from it and copy that. It's quite useful and convenient.
- mherrmann 8y agoYour reply to my question is basically "the output of scripts". I get that. But what _kind_ of scripts?
- JdeBP 8y ago"it supports [...] Basically everything you would expect from a terminal" against "8 color support for now" is an interesting juxtaposition. This is documented here to be copying the Linux kernel's built-in terminal emulator and so compatible with the "linux" terminfo record. The Linux kernel's built-in terminal emulator, however, supports the 16 CGA colours, and nowadays also recognizes the SGR sequences for both ISO 8613-6 Indexed and Direct colour. The underlying terminal emulator is, in its own documentation, moreover, documented as emulating a VT100, which is a rather different beast to the Linux kernel's built-in terminal emulator in several ways. But this is the usual mis-use of that designation, that Thomas Dickey points out, because VT100s had no notion of multiple colours at all. So it's not supporting everything that I would expect, and it's not equivalent to either of the terminal types that its doco says that it is. I haven't found what it does for DECFNK and whether it even generates it, let alone supports modifiers. That's another very common expectation nowadays.
- jamespo 8y agoSource seems to be freely available so they would probably welcome pull requests
- frnkshin 8y agoA solution to having the unnecessary terminal inside an editor is to have some type of tiling window manager. This can be Awesome, i3, bspwm, or anything out there. You can also try using tmux or even gnu screen.
- unwabuisi 8y agoStarted off using ST3 when I began developing but switched to VSCode because of its integrated terminal. Looking forward to checking this out
- ksherlock 8y agoMPW - Macintosh [Classic] Programmer's Workshop - had a combined text editor/shell. That inspired Eddie (http://www.el34.com http://www.el34.com) for BeOS which was later ported to OS X.