···2233This config is Neovim configured to act as a classical wordprocessor to write text and especially markdown.
4455+Move this config to `~/.config/nvim` after you installed neovim (see `make install` in [/install](/install) directory).
66+576879### Zen Mode
+25
nvim-wp/micro-journal-scripts/aliases.shrc
···11+export EDITOR="nvim"
22+33+alias vim=nvim
44+alias v=nvim
55+alias wp=nvim
66+alias z=zoxide
77+88+alias lg=lazygit
99+1010+1111+# when closing ranger it will be at the path you were
1212+# alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
1313+1414+# same as ranger above, leaves you at currrent directory when quitting
1515+function y() {
1616+> local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
1717+> yazi "$@" --cwd-file="$tmp"
1818+> if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
1919+> > builtin cd -- "$cwd"
2020+> fi
2121+> rm -f -- "$tmp"
2222+}
2323+2424+alias r=yazi
2525+alias ranger=yazi