dotfiles/.config/shell/bin/nvc

6 lines
224 B
Bash
Executable file

#!/bin/sh
# Purpose: edit nvim configuration while being cd'd into the directory that
# most of the files live so they can easily be :e'd
# Usage: nvc [$EDITOR options]
cd ~/.config/nvim/lua \
&& $EDITOR "$@" ../init.lua