Add script “evolution-nvim”
Add the script “evolution-nvim.sh” to use Neovim as external editor for Evolution.
This commit is contained in:
parent
fe93010b04
commit
0b764e13e1
1 changed files with 9 additions and 0 deletions
9
evolution-nvim.sh
Executable file
9
evolution-nvim.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ $# -ge 2 ]; then
|
||||||
|
CMD="nvim $2 -c \"$1\""
|
||||||
|
else
|
||||||
|
CMD="nvim $1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec termite -e "${CMD}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue