-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc.vim
More file actions
29 lines (28 loc) · 714 Bytes
/
vimrc.vim
File metadata and controls
29 lines (28 loc) · 714 Bytes
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
au BufRead,BufNewFile *.scss set filetype=scss
"autocmd VimEnter * NERDTree
"autocmd VimEnter * wincmd p
" Load matchit (% to bounce from do to end, etc.)
"runtime! macros/matchit.vim
runtime macros/matchit.vim
"set background=dark
"colorscheme ir_black
syntax on
map <c-n> :NERDTree<CR>
map <c-t> :FufFile **/<CR>
map <D-C> :ColorHEX<CR>
set guifont=Monaco:h12
set tabstop=4
set expandtab
set shiftwidth=2 " or whatever
set smarttab autoindent
set number
"set ft=html.eruby
filetype plugin on
au BufRead,BufNewFile *.php set filetype=php.html
au BufRead,BufNewFile *.erb set filetype=eruby.html
" Bubble single lines
nmap <C-Up> [e
nmap <C-Down> ]e
" Bubble multiple lines
vmap <C-Up> [egv
vmap <C-Down> ]egv