mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-30 12:30:43 +00:00
Sort configs
This commit is contained in:
parent
b573f98e14
commit
88f418d223
2 changed files with 24 additions and 31 deletions
|
@ -1,24 +1,28 @@
|
|||
filetype plugin on " Enable filetype detection
|
||||
set undolevels=999 " Lots of these
|
||||
set history=1000 " More history
|
||||
set expandtab " Expand tabs to spaces (inverse: noexpandtab)
|
||||
|
||||
" 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
|
||||
set autoindent " Enable autoindent
|
||||
set showmatch " Show matching brackets
|
||||
|
||||
" In-file Search (/)
|
||||
set ignorecase " Do case insensitive matching
|
||||
set incsearch " Show partial matches for a search phrase
|
||||
set hlsearch " Highlight Search
|
||||
set laststatus=2 " Always show status line
|
||||
set splitbelow splitright " Split in more natural way
|
||||
set autoread " Reload files on change
|
||||
set mouse=a " Enable mouse mode
|
||||
set encoding=utf-8 " Use UTF-8, not ASCII (May cause issues on TTY)
|
||||
set wildmode=longest,list,full " Enable autocompletion
|
||||
set path+=** " Search down into subfolders with tab completion
|
||||
set wildmenu " Display all matching files when we tab complete
|
||||
set scrolloff=5 " Keep 5 lines horizontal scrolloff
|
||||
set sidescrolloff=5 " Keep 5 characters vertical scrolloff
|
||||
|
||||
" 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue