dotfiles/home/.config/nvim/rc/base.vim
2021-07-23 19:14:22 +02:00

29 lines
988 B
VimL

filetype plugin on " Enable filetype detection
" Tab settings
set expandtab " Expand tabs to spaces
set tabstop=4 " Tab size
set shiftwidth=4 " Indentation size
set softtabstop=4 " Tabs/Spaces interrop
set tabpagemax=50 " More tabs
" In-file Search (/)
set ignorecase " Do case insensitive matching
set incsearch " Show partial matches for a search phrase
set hlsearch " Highlight Search
" Command-mode search
set path+=** " Search down into subfolders with tab completion
set wildmode=longest,list,full " Enable autocompletion
set wildmenu " Display all matching files when we tab complete
" Misc
set autoindent " Enable autoindent
set autoread " Reload files on change
set undolevels=999 " Lots of these
set history=1000 " More history
set encoding=utf-8 " Use UTF-8 encoding
set mouse=a " Enable mouse mode
set splitbelow splitright " Split in more natural way