aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-06 11:19:22 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-06 11:19:22 -0500
commita39c08a4362d174ff51b18ae1f3c4871fbf0decd (patch)
tree4834b76c9ae2a40a073bcb12b81ef5fa8a28021f
parentUpdate vimrc (diff)
downloaddotfiles-a39c08a4362d174ff51b18ae1f3c4871fbf0decd.zip
Adjust vim config
-rw-r--r--vim/.vimrc24
1 files changed, 24 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 1967ec6..130f31d 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,4 +1,28 @@
+" Disable compatibility with Vi to enable
+" Vim's extended features and modern behaviors.
set nocompatible
+
+" Enable a number column with numbers relative
+" to the current line the cursor is on.
set relativenumber
+
+" Enable filetype detection to apply filetype-specific
+" settings e.g. syntax highlighting and enable filetype
+" plugins.
filetype plugin on
+
+" Turn on syntax highlighting
syntax on
+
+" Convert the tab character into spaces
+set expandtab
+
+" Define the width of a tab character.
+set tabstop=4
+
+" Number of spaces to insert on tab key press
+set softtabstop=4
+
+" Number of spaces to use for auto-indentation
+set shiftwidth=4
+