" https://github.com/ChrisKempson/Vim-Tomorrow-Theme/tree/37f32f96dcd88796ad32920c7861f1c9fa89bc02

colorscheme Tomorrow - Night - Eighties

syntax on

set encoding =utf - 8

set ruler

set number

set nowrapscan

set ai

set modeline

set number

set pastetoggle = <F2>

" two spaces replacing tab

set nowrap

set tabstop = 2

set shiftwidth = 2

set softtabstop = 2

set expandtab

" show blank spaces at the end of the file

set list listchars =tab : \ \ ,trail : ·

set bs = 2

set binary

set ruler

set history = 200

set showcmd

set ts = 2

set sw = 2

" Directories for swp files

set backupdir = ~/. vim / backup

set directory = ~/. vim / backup

" searching

set hlsearch

set incsearch

set ignorecase

set smartcase

" resize

map < c - down > < c - w >+

map < c - up > < c - w >-

map < c - left > < c - w >>

map < c - right > < c - w ><

" tabs/windows mappings

nnoremap < C - T > : tabnew < CR >: e . <CR>

nnoremap < C - P > : tabprev < CR >

nnoremap < C - N > : tabnext < CR >

nnoremap < C - V > : vsplit . <CR>

nnoremap < C - H > : split . <CR>

nnoremap < C - Q > : q < CR >

au BufNewFile , BufRead *. thtml setfiletype php

au BufNewFile , BufRead *. tpl setfiletype php

au BufNewFile , BufRead *. ctp setfiletype php

au BufNewFile , BufRead *. module setfiletype php