summaryrefslogtreecommitdiff
path: root/misc/dotfiles/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dotfiles/vimrc')
-rw-r--r--misc/dotfiles/vimrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/dotfiles/vimrc b/misc/dotfiles/vimrc
new file mode 100644
index 0000000..9e3afc2
--- /dev/null
+++ b/misc/dotfiles/vimrc
@@ -0,0 +1,25 @@
+" Enable ruler (will display line number and column number by default).
+set ruler
+
+" Enable syntax highlight.
+syntax on
+
+" Expand tabs to spaces.
+set expandtab
+
+" Use four-space indentation.
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+
+" Limit text width.
+set textwidth=79
+
+" Disable incremental search.
+set noincsearch
+
+" Disable highlighting of the search results.
+set nohlsearch
+
+" Disable incremental search.
+set noincsearch