filetype indent plugin on set encoding=utf-8 scriptencoding utf-8 if !exists('g:syntax_on') syntax enable endif set t_Co=256 let g:mapleader = "\" colorscheme retrobox set background=dark set cursorline " STATUSLINE set laststatus=2 set statusline= set statusline+=\ %F set statusline+=\ %m " NETRW let g:netrw_liststyle = 3 let g:netrw_banner = 0 let g:netrw_browse_split = 1 let g:netrw_winsize = 20 let g:netrw_altv = 1 " CORE SETTINGS set noruler set number set relativenumber set noshowmode set noshowcmd set backspace=indent,eol,start set history=100 set hidden set wildmenu set mouse=a set scrolloff=3 set lazyredraw set autowrite set showmatch " BACKUPS set noswapfile set nobackup set nowritebackup " INDENTATION set autoindent set tabstop=2 set shiftwidth=2 set expandtab set wrap " SEARCH set incsearch set hlsearch set ignorecase set smartcase " KEY MAPPINGS nnoremap s :%s/ nnoremap :nohlsearch nnoremap w :w! nnoremap q :q! nnoremap 0 :Vexplore nnoremap bb :ls:b nnoremap bc :bd nnoremap :bn nnoremap :bp