Files
dotfiles/.vimrc
2026-01-27 20:14:40 +01:00

28 lines
1018 B
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 mouse=a " mouse support
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>