aboutsummaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:53:14 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:54:02 -0500
commit7b6dbb921650e2a52929f025b67be57609fda6d4 (patch)
tree895416312698cfe4ac61d4eed0f071d7743c0214 /.vimrc
parentRemove openbsd conditional in zsh (diff)
downloaddotfiles-7b6dbb921650e2a52929f025b67be57609fda6d4.zip
Rework dotfiles to *only* contain dotfiles
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..61e87f8
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,32 @@
+" Disable compatibility with Vi to enable
+" Vim's extended features and modern behaviors.
+set nocompatible
+
+" Use system clipboard
+set clipboard=unnamedplus
+
+" Enable a number column with numbers relative
+" to the current line the cursor is on.
+set relativenumber
+
+" 1. Enable filetype detection to apply filetype-specific
+" settings e.g. syntax highlighting
+" 2. Enable filetype plugins.
+" 3. Enable the indent plugin for automatic indentation
+filetype plugin indent 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
+