aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-02 13:38:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-02 13:38:50 +1200
commit4afefdaf2c43116b9a97b5f5ccbc2c04fb3b48a8 (patch)
tree2156be6a543c1cef958475e171f466fc67f9d9ee
parentDon't shout in CJK in README.md. (diff)
downloaddotfiles-4afefdaf2c43116b9a97b5f5ccbc2c04fb3b48a8.tar.gz
dotfiles-4afefdaf2c43116b9a97b5f5ccbc2c04fb3b48a8.zip
Provide install-neovim target
-rw-r--r--Makefile5
-rw-r--r--README.md15
2 files changed, 11 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 86b3942c..4bb09b1a 100644
--- a/Makefile
+++ b/Makefile
@@ -430,6 +430,11 @@ install-ncmcpp: install-mpd
mkdir -p -- $(HOME)/.ncmpcpp
cp -p -- ncmpcpp/config $(HOME)/.ncmpcpp
+install-neovim:
+ make install-vim \
+ VIMDIR=$${XDG_CONFIG_HOME:-"$$HOME"/.config}/nvim \
+ VIMRC=$${XDF_CONFIG_HOME:="$$HOME"/.config}/init.vim
+
install-newsboat:
mkdir -p -- $(HOME)/.config/newsboat $(HOME)/.local/share/newsboat
cp -p -- newsboat/config $(HOME)/.config/newsboat
diff --git a/README.md b/README.md
index aad12a57..85342e14 100644
--- a/README.md
+++ b/README.md
@@ -390,16 +390,13 @@ check of Perl scripts, and `_l` runs a Perl::Critic check.
#### Neovim
I test my configuration every now and then with the [Neovim
-fork](https://neovim.io/). To install the configuration where Neovim will use
-it, do this:
+fork](https://neovim.io/). There's an `install-neovim` target to run
+`install-vim` with the appropriate paths changed.
- $ nvd=${XDG_CONFIG_HOME:-"$HOME"/.config}/nvim
- $ make install-vim VIMRC="$nvd"/init.vim VIMDIR="$nvd"
-
-Neovim's [godless
-arrogance](https://twitter.com/tpope/status/437019518444240896)
-notwithstanding, I do rather like it overall, but I'm not presently using it as
-my daily driver and so it might balk at recent addenda to my configuration.
+Its [godless arrogance](https://twitter.com/tpope/status/437019518444240896)
+notwithstanding, I do rather like Neovim overall, but I'm not presently using
+it as my daily driver, and so it might balk at recent addenda to my
+configuration.
Scripts
-------