-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc.noplugins
46 lines (35 loc) · 953 Bytes
/
vimrc.noplugins
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
set nocompatible
" Not compatible with vi
" Indenting - 4 spaces to a tab always
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
" Indentatiton
set autoindent
filetype plugin indent on
" Syntax highlighting
syntax on
" Enable 256 colors Terminal -- TODO: check if available before setting
"set t_Co=256
"colorscheme wombat256
" Enable line numbers
set number
" Add file recognition for arduino filetypes (in .vim)
au BufRead,BufNewFile *.pde set filetype=arduino
au BufRead,BufNewFile *.ino set filetype=arduino
" Show good column limit
set colorcolumn=100
" Explore file tree better
" Using :Explore
let g:netrw_liststyle=3
" ----- F-keys ------"
" Call makefile
map <F5> :!make<CR>
" TODO function to search all files like argdo but better
" Back Directories in centralized location to not pollute filesystem
"set backupdir=~/.vim_bak/backup
"set dir=~/.vim_bak/dir
"if has('win32')
" highlight Normal ctermbg=NONE
"endif