From 571d9e73fa1e38f33355a6842a6a9bd92dcf60d2 Mon Sep 17 00:00:00 2001 From: Serguey Parkhomovsky Date: Fri, 27 Mar 2026 23:00:36 -0700 Subject: comment options --- vim/.vimrc | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index beba357..12721d7 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -27,27 +27,27 @@ call plug#end() filetype plugin indent on syntax enable -set number -set signcolumn=yes -set updatetime=300 -set hidden - -set tabstop=4 -set shiftwidth=4 -set softtabstop=4 -set expandtab - -set ignorecase -set smartcase -set incsearch -set hlsearch - -set splitbelow -set splitright -set scrolloff=8 - -set clipboard=unnamedplus -set mouse=a +set number " show line numbers +set signcolumn=yes " always show sign column; prevents layout shift from LSP diagnostics +set updatetime=300 " ms before swap write / CursorHold fires; speeds up LSP diagnostics +set hidden " allow switching away from a modified buffer without saving + +set tabstop=4 " displays as 4 spaces +set shiftwidth=4 " >> / << indent by 4 spaces +set softtabstop=4 " in insert mode inserts/deletes 4 spaces +set expandtab " insert spaces instead of tab characters + +set ignorecase " case-insensitive search by default +set smartcase " override ignorecase when pattern contains uppercase +set incsearch " highlight matches while typing search pattern +set hlsearch " highlight all matches after search + +set splitbelow " :split opens new window below +set splitright " :vsplit opens new window to the right +set scrolloff=8 " keep 8 lines of context above/below cursor when scrolling + +set clipboard=unnamedplus " yank/put use the system clipboard automatically +set mouse=a " enable mouse support in all modes " ── File clutter ─────────────────────────────────────────────────────────────── set nobackup -- cgit v1.2.3