aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-02-21 15:25:07 +0800
committerAaron LI <aaronly.me@gmail.com>2016-02-21 15:25:07 +0800
commit1c5bf9244521b0437978a9a7b4a9ca91a82d8af3 (patch)
treecf549cfeacc0944ea728836c359d89a8b85bc30e
parent101abf34c556e7b4e404ff5fc913ffdd78036e40 (diff)
downloaddotfiles-1c5bf9244521b0437978a9a7b4a9ca91a82d8af3.tar.bz2
Add freebsd/_nexrc: config for nvi
-rw-r--r--freebsd/_nexrc50
1 files changed, 50 insertions, 0 deletions
diff --git a/freebsd/_nexrc b/freebsd/_nexrc
new file mode 100644
index 0000000..1c4043b
--- /dev/null
+++ b/freebsd/_nexrc
@@ -0,0 +1,50 @@
+"
+" ~/.nexrc
+" for nvi, default vi on BSDs
+"
+" Credits: http://rubenschade.com/dotfiles/.nexrc
+"
+" Aaron LI
+" Created: 2011-06-20
+" Updated: 2012-02-24
+"
+" nvi doesn't like inline comments or empty lines, be warned!
+"
+" GENERAL SETTINGS
+set extended
+set magic
+set searchincr
+set showmatch
+set matchtime=3
+set showmode
+set ignorecase
+set wrapscan
+"
+" Command-line history and completion
+"
+" USE <TAB>
+set cedit=\
+set filec=\
+" USE <ESC>
+"set cedit=
+"set filec=
+"
+" I LIKE 4 SPACE INDENTATION
+set autoindent
+set shiftwidth=4
+set tabstop=8
+"
+" TELL ME WHEN I DO SOMETHING STUPID
+set errorbells
+set flash
+set verbose
+"
+" SHOW LINE NUMBERS, COLUMN/ROW POSITION
+set number
+set ruler
+"
+" KEY MAPPINGS
+map gg 1G
+"
+"
+" vim: set ts=8 sw=4 tw=78 fenc=utf-8 ft=vim: #