Files
dotfiles/.vimrc
Marcus 80ecee5c4a fix: quote variables and use zsh idioms in shell config
- Quote ZINIT_HOME in plugin manager setup
- Quote $1 in mkcd function
- Use [[ ]] instead of [ ] in yazi wrapper (zsh idiom)
- Remove double blank line in .vimrc

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
2026-02-24 21:28:49 +00:00

31 lines
1.1 KiB
VimL

inoremap jk <ESC>
let mapleader = "\<SPACE>"
filetype plugin indent on
set encoding=utf-8
syntax enable " enable syntax processing
set tabstop=4 " number of visual spaces per TAB
set softtabstop=4 " number of spaces in tab when editing
set expandtab " tabs are spaces
set showcmd " show command in bottom bar
set cursorline " highlight current line
set wildmenu " visual autocomplete for command menu
set lazyredraw " redraw only when we need to.
set showmatch " highlight matching [{()}]
set incsearch " search as characters are entered
set hlsearch " highlight matches
set hidden " switch buffers without saving
set ignorecase smartcase " smart case search
set scrolloff=8 " keep 8 lines visible above/below cursor
set undofile " persistent undo across sessions
set undodir=~/.vim/undo//
set directory=~/.vim/swap//
set backupdir=~/.vim/backup//
set nobackup
set mouse=a " mouse support
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>