mnkhod

mnkhod

Repl driven development is so cool, like figuring out iex -S mix phx.server really changed my whole workflow.

I been searching online to see if vi keybindings are possible inside IEx, if so that would help with editing commands

Showing Posts 1 to 6

garazdawi

garazdawi

Erlang Core Team

It depends on what you mean with vi bindings, but having different modes such as vi is not possible.

You can however configure other bindings if you wish, that is described here: edlin — OTP 29.0.3 (stdlib 8.0.2). Maybe you can do something with that which makes it simpler for you?

arcanemachine

arcanemachine

If you have your visual editor set to Vim (e.g. set VISUAL=vim in your .bashrc, or before opening IEx), then pressing Ctrl+o will allow you to edit the current command in Vim.

smathy

smathy

FWIW: ^o didn’t work for me on the Mac, but ESC+o or ⌥+o does.

krasenyp

krasenyp

You can use Emacs with Evil and run IEx session in comint mode. :stuck_out_tongue:

mnkhod

mnkhod OP

oh i see the vision :sob: :sob: :sob: :sob:

Honestly learning emac than learning AI feels more productive this year

hilko

hilko

For me this is one of the many reasons why I’ve mostly moved towards using LiveBook for most of the stuff I’d use IEx for. It’s obviously not a complete replacement, but with some adjustments to my workflow, it’s so much better in most ways /and/ it has pretty solid support for vim keybindings.

Generally I now just connect a livebook to my running project, and when possible, I do snippets of coding inside the livebook. In many cases just being able to see the output as a table is a godsent.

— All posts loaded —

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
RemyXRenard
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
samoloth
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
FlyingNoodle
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews