aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-12-02 19:09:40 -0800
committerEugene Triguba <hello@eugenetriguba.com>2026-12-02 19:09:40 -0800
commit9791309cfe353eafc26b8a3538f1b3cda906cb40 (patch)
treec5e94272fdbc4d689d6f545a8b9998409e4ff0d0
parentAdd extra setup steps to readme (diff)
downloaddotfiles-9791309cfe353eafc26b8a3538f1b3cda906cb40.zip
Enable man/matchit and set ruler/incsearch in vimrcopenbsd
-rw-r--r--.vimrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 529fb70..fd9d43c 100644
--- a/.vimrc
+++ b/.vimrc
@@ -36,6 +36,19 @@ set softtabstop=4
" Number of spaces to use for auto-indentation
set shiftwidth=4
+" Show highlighted text for search matches as search query
+" is typed
+set incsearch
+
+" Show line/column number of cursor
+set ruler
+
+" Enable the :Man command that ships with vim.
+runtime ftplugin/man.vim
+
+" Enable matchit which ships with vim.
+runtime! macros/matchit.vim
+
let g:mapleader = "\<Space>"
let g:maplocalleader = ','