Last active
January 26, 2023 00:03
-
-
Save floriancgit/6e58eb1852d540df446aca041384891e to your computer and use it in GitHub Desktop.
~/.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" UI | |
set number " show line number | |
set ruler " show status bar | |
set laststatus=2 " always show status bar | |
syntax on " syntax based on extension | |
colorscheme slate " theme | |
set so=7 " set lines to show (when curosr at top or bottom of screen) | |
" Data | |
set encoding=utf8 " encoding | |
set autoread " autoread file when changed outside | |
set list " show white char (eol, tab, ..) | |
set listchars=extends:>,precedes:<,tab:>·,eol:¬ | |
" Search | |
set hlsearch " highlight search | |
set incsearch " search as you type | |
set mouse=a " handle mouse clic & scroll | |
" automatic indent | |
" set autoindent | |
" filetype plugin indent on | |
" Alias | |
au BufRead,BufNewFile *.twig set filetype=html | |
au BufRead,BufNewFile *.fish set filetype=sh | |
au BufRead,BufNewFile *.less set filetype=css |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment