Skip to content

catgardens/astral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astral

is a command line interface tool designed to interact with running Neovim instances, allowing users to list active instances and open files in a specified instance from different shells.

inspired by neovim-remote.

usage

start a neovim instance:

nvim --listen /tmp/nvim/socket

then use astral in another shell:

# open a file
astral file
# the `open` command is inferred but can also be specified explicitly
astral --open file

# send keys
astral --send 'iabc<esc>'

# eval and expression
astral --expr 'bufname("")'
README.md

# by default astral will use `/tmp/nvim/socket` as socket
astral --remote /tmp/coolsocket --open file

# astral can also be used as a git editor with `--wait`
git config --global core.editor 'astral --wait'
# this command will wait till the file is closed
astral --wait

About

cli to interact with running neovim instances.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published