summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..c712f84
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+# nvim-sensible
+
+My neovim configuration for getting a minimal working environment on any host
+without braining.
+
+Note that this is not my full vim configuration, just a MVP.
+
+
+## Installation
+
+* git clone this
+
+```bash
+sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
+```
+
+* Paste `vimrc` into `~/.vimrc`
+
+```
+nix-env -iA nixpkgs.fzf
+nix-env -iA nixpkgs.fd
+nix-env -iA nixpkgs.gitFull
+
+mkdir ~/.config/nvim -p
+ln -s ~/.vimrc ~/.config/nvim/init.vim
+
+echo "alias vim=nvim" >> ~/.bashrc
+echo '. $HOME/.nix-profile/share/git/contrib/completion/git-completion.bash' >> ~/.bashrc
+```
+
+* `vim` and `:PlugInstall`
+