Live data from Hacker News

Ask HN: Is it still possible to live in a terminal?

news.ycombinator.com

201–210 of 272 posts

Re: Ask HN: Is it still possible to live in a terminal?

#201

I wonder whether anybody has developed a CLI browser that also has a JavaScript engine. I've seen plenty of TUIs that have modals, text line inputs, etc. You could probably get pretty far so that at least you can support more of the Web. At least to start with just using an engine to allow JavaScript to have control over HTML elements would be a start that would solve many of the issues with text browsers.

> I wonder whether anybody has developed a CLI browser that also has a JavaScript engine.

Some CLI browsers have JS support but what's missing is up-to-date support. The existing browsers have way too much technical debt so adding something like TUI support would be quite difficult. You'd really want to start from a newly-developed engine such as the new Ladybird browser that's part of the SerenityOS project.

Re: Ask HN: Is it still possible to live in a terminal?

#203

The Vim/Neovim ecosystem has gotten unbelievably better over the last 5-10 years. "Living in the terminal" for core development work is IMO better than pretty much anything else out there; my Neovim setup has a modern plugin manager; an IDE-like experience with fast autocompletion as I type, goto definition, and automated refactor support; and a side-drawer file browser navigable with Vim motions. It feels like an ID…

You sound like a sales pitch but my NeoVIM based off of AstroNvim breaks in very random ways across a dozen of servers even under same configuration, I'm about to try Helix instead of the ecosystem with pile of random quality plugins. It looks promising at first with LSP and all that but I don't know when I had any stable moments.

Are you using different OS? This sounds like the programs your NeoVim is calling is failing you - not nvim itself.

_cough cough_ NixOS can help you out here

Re: Ask HN: Is it still possible to live in a terminal?

#204

Earlier quoted context omitted.

Jetbrains IDEs have refactorings that are light-years ahead of any LSP functionality. I can use nvim for simple or small code bases, but for any real work project I've had to use IntelliJ. For example, I had a VSCode coworker who was asking to switch all typescript string union types to enums so they could be refactored, but IntelliJ is able to refactor (in this case rename) the string union types

Right. vim (and the likes) are only good for server side config editing but these days remote plugin of vs code can also take that role away.

This just simply isn’t true. Neovim is perfectly capable of (and I would argue excels at) being a daily driver on large projects.

Re: Ask HN: Is it still possible to live in a terminal?

#206

Earlier quoted context omitted.

Quoted post unavailable.

I'm a sysadmin, and most of what I do (editing config files) is very efficiently done in nano. Edit a vhost in apache/nginx. Change a port number on a service. edit rc.conf, etc... But I've discovered that by using vim macros, the tedious parts of using nano became easy and FASTER then nano. Let's say you have to declare a bunch of IP's and you can't just type a range, you have to type out each one. 192.168.0.100 192…

    printf '192.168.0.%s ' {100..200} > fuck_vim.txt

Re: Ask HN: Is it still possible to live in a terminal?

#207

Earlier quoted context omitted.

Why do you care so much what workflow some rando on the internet uses?

Not OP, but to me, software that requires installing multiple plugins and extensions on top of it and requires much configuration in order to be useable is basically "unfinished software". It's 2022. Software not just has to work out of the box (or out of the download), it has to be packaged with everything needed to actually use it. It has to come fully configured for the most common use cases, or be able to fully c…

This is like saying a library is incomplete because it does one thing well, and if it’s not a full-fledged framework it’s useless.

I recommend learning about Unix and the associated philosophies - you sound like there’s a lot more growth in your future!

Re: Ask HN: Is it still possible to live in a terminal?

#208

Earlier quoted context omitted.

Do you have your dotfiles on github?

I do, but I keep the repo private. I've seen too many people accidentally check their keys into public dotfile repos. coc.nvim ( https://github.com/neoclide/coc.nvim ) is a great starting point though!

why use coc when native lsp is supported. lspconfig plugin is pretty straightforward to setup.

Re: Ask HN: Is it still possible to live in a terminal?

#209

Earlier quoted context omitted.

Quoted post unavailable.

Plenty of 1-command preconfigured Neovim distributions. It’ll take less than 5 minutes to install a Neovim-based IDE-like environment; batteries included: bash

    echo "Fuck vim" > /etc/motd

Re: Ask HN: Is it still possible to live in a terminal?

#210

Earlier quoted context omitted.

Yes you can do all that stuff with like 2 plugins LITERALLY BUILTIN: - Edit code - Do all that remotely or with containers involved - Spell checking ALE: - Autocomplete - Navigate code, find references, go to definitions - Run multiple static analyzers simultaneously DISPATCH: - Run your code - Debug your code - Test your code (including running a specific test) - Profile your code FUGITIVE: - Use version control and…

By the time you are half-way configuring that I am already done with my tasks. By the end of the first sprint you'll have carpal tunnel syndrome.

Why do you ask a question and then belittle any responses you get?
Post reply on HN