This file contains 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
" | |
" A (not so) minimal vimrc. | |
" | |
" You want Vim, not vi. When Vim finds a vimrc, 'nocompatible' is set anyway. | |
" We set it explicitely to make our position clear! | |
set nocompatible | |
filetype plugin indent on " Load plugins according to detected filetype. | |
syntax on " Enable syntax highlighting. |
This file contains 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
" vim settings | |
set scrolloff=5 | |
set history=1000 | |
" status bar | |
set showmode | |
" find and replace | |
set hlsearch | |
set incsearch |
This file contains 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
$$ \boxed{@} | |
% Color % | |
\newcommand\c[2]{\textcolor{#1}{#2}} | |
\newcommand\r[1]{\textcolor{red}{#1}} | |
\newcommand\g[1]{\textcolor{green}{#1}} | |
\newcommand\b[1]{\textcolor{blue}{#1}} | |
\newcommand\red[1]{\textcolor{red}{#1}} | |
\newcommand\blue[1]{\textcolor{blue}{#1}} | |
\newcommand\green[1]{\textcolor{green}{#1}} |