install: Add micro editor install
This commit is contained in:
parent
457bd364ef
commit
f9ceefc1dd
@ -73,3 +73,10 @@ sudo npm install -g npm
|
||||
# Install rebase-editor
|
||||
sudo npm install -g rebase-editor
|
||||
git config --global sequence.editor rebase-editor
|
||||
|
||||
# Install micro
|
||||
curl https://getmic.ro | bash
|
||||
mkdir -p $HOME/.config/micro
|
||||
ln -sfn $HOME/.dotfiles/micro/bindings.json $HOME/.config/micro/bindings.json
|
||||
ln -sfn $HOME/.dotfiles/micro/settings.json $HOME/.config/micro/settings.json
|
||||
sudo mv micro /usr/bin
|
||||
|
4
micro/bindings.json
Normal file
4
micro/bindings.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Alt-/": "lua:comment.comment",
|
||||
"CtrlUnderscore": "lua:comment.comment"
|
||||
}
|
1
micro/settings.json
Normal file
1
micro/settings.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
Loading…
x
Reference in New Issue
Block a user