aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/vi.exrc39
1 files changed, 39 insertions, 0 deletions
diff --git a/etc/vi.exrc b/etc/vi.exrc
new file mode 100644
index 0000000..c89498d
--- /dev/null
+++ b/etc/vi.exrc
@@ -0,0 +1,39 @@
+" Display & Feedback
+
+" Briefly jump to matching bracket
+set showmatch
+" Show cursor position (line, column)
+set ruler
+" Show filename in status line
+set showfilename
+" Show current mode (INSERT/COMMAND)
+set showmode
+" Flash screen instead of beeping
+set flash
+
+" Indentation & Formatting
+
+" Enable auto-indent
+set autoindent
+" Set left to right ( nowrap )
+set leftright
+
+" Search
+
+" Case-insensitive search
+set ignorecase
+" Smart case (respect uppercase)
+set iclower
+" Incremental search
+set searchincr
+" Searches wrap around file
+set wrapscan
+
+" Command Line (Tab completion & history editing)
+
+" Press Tab on : command-line to edit history
+set cedit=\
+" Press Tab to autocomplete filenames
+set filec=\
+
+