Terminal-based workflows: what are you rockin'?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
RaycatRakittra
Prole
Posts: 22
Joined: Fri Sep 30, 2016 12:40 am
Location: Chicago, IL
Contact:

Terminal-based workflows: what are you rockin'?

Post by RaycatRakittra »

Started getting into the terminal-only workflow. My current setup is:
  • zsh (shell alternative)
  • tmux (multiplexer)
  • byobu (wrapper built for screen but I like tmux's window model)
Utilities-wise, I've got:
  • emacs/emacsclient (for just about everything, sans graphics)
  • calcurse (calendar app)
  • elinks (for quick reference, google-chrome [for the rest of the internet])
Is there any cool bits you can't live without? I'd love to know what term-based utilities and tools you guys are using. :D
P.S. vim zealots, try keeping it to yourselves, yeah? I like emacs.
Last edited by RaycatRakittra on Tue May 02, 2017 4:40 pm, edited 2 times in total.
Sometimes, I can code things.
User avatar
Ikroth
Citizen
Posts: 79
Joined: Thu Jul 18, 2013 4:44 am

Re: Terminal-based workflows: what are you rockin'?

Post by Ikroth »

These are my tools which are always changing (but slowly): Other things I use a lot: I'd probably use emacs a lot more often if there was actually a usable lua indentation plugin (among a few other things), I really like the GUI and magit is literally magic.

EDIT: I forgot to add git in the list, which is probably the best tool that I have learned. It's more complicated than other version control systems, but it does a lot and it is fast.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Terminal-based workflows: what are you rockin'?

Post by raidho36 »

  • gnome-terminal
  • grep
  • gcc
  • automake
Does the job, and that's all I need. I used to rice my installation all over, but I don't care for that anymore, all I care now is that it does the job.

I don't use terminal-based text editors or file managers, they are too limited information-output-wise and are straight up crippling input-wise.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by kikito »

My setup is similar to Ikroth's: neovim, zsh, ag and fzf. Differences: I am on a mac, so I use iterm2 instead of the default terminal. I also installed Prezto which adds lots of goodies on top of zsh (it's a bit like oh-my-zsh, but feels more lightweight).
When I write def I mean function.
User avatar
RaycatRakittra
Prole
Posts: 22
Joined: Fri Sep 30, 2016 12:40 am
Location: Chicago, IL
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by RaycatRakittra »

kikito wrote: Wed May 03, 2017 3:20 pm My setup is similar to Ikroth's: neovim, zsh, ag and fzf. [...]
Now, when would you use fzf over ag/grep alternative?
Tangentially, why would someone use CTAGS/ETAGS vs. grep'ing over the project directory?
Sometimes, I can code things.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by kikito »

I use fzf only inside neovim. I am comfortable with ag so I use it when I'm on the console even if I have e fzf available there, too. My vim's fzf is configured to use ag internally since I can filter out files that don't interest me.

I never use tags for navigation. But I am not a vim power user. Maybe there is an awesome use case for them and I just don't know it.
When I write def I mean function.
alloyed
Citizen
Posts: 80
Joined: Thu May 28, 2015 8:45 pm
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by alloyed »

so my list is pretty similar:gnome-terminal, neovim, ag, fzf, etc
Some actual difference is that I'm currently using fish instead of zsh. I originally changed because no matter how I configured my zsh it always had a hint of slowness to it, which fish doesn't, but the fish language is incompatible in ways that my brain can't seem to properly learn. I guess I don't like either option in the end.
I usually have about 3 terminals open when doing love stuff, one for vim, one for love, and one for misc stuff I use repler so that my game is also a terminal prompt, which is occasionally useful, but the real value is being able to change the code, have it autoreload in my game, and get immediate feedback both from inside the game and from the terminal using log commands, without having to tab around or change my focus. I guess I could use tmux to package this up into a single terminal, but that's just more keyboard shortcuts I both have to memorize and remember to use. I do use it for webdev stuff, but that's just because I usually need way too many terminals open to keep a "modern" web build system going. that stuff is usually set-and-forget, which tmux is fine for.
User avatar
evölbug
Prole
Posts: 38
Joined: Wed Dec 21, 2016 12:58 pm
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by evölbug »

terminal: xfce4-terminal; because it doesn't have a lot of dependencies and is customizable.
shell: bash; gool ol' bash, i'm used to it
editor: micro; i found this editor by accident and i've fallen in love with it. it's customizable, well made and fast.
music: cmus; a customizable and small music player
file manager: ranger; quite elegant and minimal terminal file manager
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Terminal-based workflows: what are you rockin'?

Post by s-ol »

terminal: urxvt, because urxvtd + urxvtc makes it lightweight, it can be properly configured and I can hide all bars
shell: fish-shell, because it's friendly for interactive things
editor: vim

for multiplexing i use my window manager (i3wm), usually with a large vim pane covering 60% of the screen and then a horizontal split on the right with one terminal for long running stuff (dev server etc) and one for misc stuff (git, renaming and removing files etc). With love often I just have the vertical split and two panes total.
my shell is also my file manager and chromium handles most of the rest.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
david bachman
Prole
Posts: 1
Joined: Sun Mar 24, 2019 9:56 am

Re: Terminal-based workflows: what are you rockin'?

Post by david bachman »

Hi guys ,

I’m also using neovim + coc.nvim for completion and a terminal for launching the game

What i’m looking for still is how to get the completion working with love api do you guys have any ideas on how to handle that ? Cheers
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests