" global settings set nocompatible set noswapfile set undofile set undodir=$HOME/.vim/undo set spell spelllang=en_gb " buffers can be switched despite having changes set hidden " file settings set encoding=utf-8 " key mappings let mapleader = "," nmap p :set paste! nmap h :set hlsearch! nmap t :wa :Make test " navigate buffers by ctrl-b nmap :bprevious nnoremap ; : " no cheating ! map map map map " for damaged keyboards map imap " special chars nmap l :set list! set listchars=tab:▸\ ,eol:¬ highlight NonText guifg=#4a4a59 highlight SpecialKey guifg=#4a4a59 " tabs and spaces set tabstop=4 set softtabstop=4 set shiftwidth=4 set expandtab " plugins filetype off set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.fzf call vundle#begin()