diff --git a/_setup.sh b/_setup.sh index c555f2f..976e819 100755 --- a/_setup.sh +++ b/_setup.sh @@ -26,6 +26,9 @@ ln -s $PATH_PREFIX/fzf.zsh ~/.fzf.zsh rm -r ~/.config/lf ln -s $PATH_PREFIX/config/lf ~/.config/lf +rm -r ~/.config/micro +ln -s $PATH_PREFIX/config/micro ~/.config/micro + # get tmux plugin manager going if needed if ! ( [ -d ~/.tmux -a -d ~/.tmux/plugins -a -d ~/.tmux/plugins/tpm ] ); then mkdir -p ~/.tmux/plugins/tpm diff --git a/config/micro/bindings.json b/config/micro/bindings.json new file mode 100644 index 0000000..56754fb --- /dev/null +++ b/config/micro/bindings.json @@ -0,0 +1,11 @@ +{ + "Alt-/": "lua:comment.comment", + "CtrlUnderscore": "lua:comment.comment", + // not supported: Ctrl-w - word wrap + "Ctrl-p" : "CommandMode", + "Ctrl-d" : "DeleteLine", + "Ctrl-ShiftA" : "StartOfLine", + "Alt-a" : "StartOfLine", + "Ctrl-ShiftE" : "EndOfLine", + "Alt-e" : "EndOfLine" +} diff --git a/config/micro/buffers/history b/config/micro/buffers/history new file mode 100644 index 0000000..6f94db7 Binary files /dev/null and b/config/micro/buffers/history differ diff --git a/config/micro/settings.json b/config/micro/settings.json new file mode 100644 index 0000000..f4007fe --- /dev/null +++ b/config/micro/settings.json @@ -0,0 +1,9 @@ +{ + "colorscheme": "atom-dark", + "hlsearch": true, + "hltaberrors": true, + "keymenu": true, + "scrollbar": true, + "softwrap": true, + "wordwrap": true +}