aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-02-25 01:20:11 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-02-25 01:20:11 +1300
commitbf995e606d1fb9fdbb2646c1dd5331bb06a5218f (patch)
tree5d48024f3738596799caa0537d44e786af2e3cca
parentAppease ShellCheck on osc(1df) (diff)
downloaddotfiles-bf995e606d1fb9fdbb2646c1dd5331bb06a5218f.tar.gz
dotfiles-bf995e606d1fb9fdbb2646c1dd5331bb06a5218f.zip
Add basic ex/vi settings
These are POSIX
-rw-r--r--Makefile5
-rw-r--r--README.markdown6
-rw-r--r--ex/exrc6
3 files changed, 14 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9133c9ae..ca2f8583 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@
install-curl \
install-dotfiles-man \
install-dunst \
+ install-ex \
install-finger \
install-games \
install-games-man \
@@ -165,6 +166,7 @@ install : install-bash \
install-bash-completion \
install-bin \
install-curl \
+ install-ex \
install-git \
install-gnupg \
install-less \
@@ -216,6 +218,9 @@ install-dunst : install-x
mkdir -p -- "$(HOME)"/.config/dunst
cp -p -- dunst/dunstrc "$(HOME)"/.config/dunst
+install-ex :
+ cp -p -- ex/exrc "$(HOME)"/.exrc
+
install-finger :
cp -p -- finger/plan "$(HOME)"/.plan
cp -p -- finger/project "$(HOME)"/.project
diff --git a/README.markdown b/README.markdown
index 2aafa228..cd91dd8b 100644
--- a/README.markdown
+++ b/README.markdown
@@ -28,9 +28,9 @@ directory so you can explore:
$ env -i HOME="$tmpdir" TERM="$TERM" bash -l
The default target will install the core terminal-only files: cURL, Git, GnuPG,
-Vim, shell scripts and functions, and shell setup files. The remaining dotfiles
-can be installed with the other targets. Take a look at the `Makefile` to see
-what's available.
+vi/Vim, shell scripts and functions, and shell setup files. The remaining
+dotfiles can be installed with the other targets. Take a look at the `Makefile`
+to see what's available.
Tools
-----
diff --git a/ex/exrc b/ex/exrc
new file mode 100644
index 00000000..0c001f36
--- /dev/null
+++ b/ex/exrc
@@ -0,0 +1,6 @@
+" POSIX ex/vi settings
+set autoindent
+set report=0
+set shiftwidth=4
+set showmode
+set tabstop=4