diff options
| author | Serguey Parkhomovsky <xindigo@gmail.com> | 2026-03-27 23:00:36 -0700 |
|---|---|---|
| committer | Serguey Parkhomovsky <xindigo@gmail.com> | 2026-03-27 23:00:36 -0700 |
| commit | 571d9e73fa1e38f33355a6842a6a9bd92dcf60d2 (patch) | |
| tree | b15dfef0019c12bb7448155b95b0603cb0b88c29 /vim | |
| parent | a249ffe37d8883add72caec7c2cfa62f536f52d6 (diff) | |
comment options
Diffstat (limited to 'vim')
| -rw-r--r-- | vim/.vimrc | 42 |
1 files changed, 21 insertions, 21 deletions
@@ -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 " <Tab> displays as 4 spaces +set shiftwidth=4 " >> / << indent by 4 spaces +set softtabstop=4 " <Tab> 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 |
