Skip to content

Instantly share code, notes, and snippets.

@smalot
Created August 8, 2013 11:24
Show Gist options
  • Save smalot/6183814 to your computer and use it in GitHub Desktop.
Save smalot/6183814 to your computer and use it in GitHub Desktop.
VIM setup file. Put it directly in your home
set ts=4
set sw=4
set softtabstop=4
set expandtab
syn on
set syn=php
set autoindent
set smartindent
set showmatch
set ruler
set incsearch
" set number
nnoremap <F5> :set mouse=<CR>
nnoremap <F6> :set mouse=nvch<CR>
nnoremap <F8> :set syn=php<CR>
set pastetoggle=<F9>
" Edition mode for Mark (please, do not edit the following line)
nnoremap <S-F9> :set nonumber<CR>:hi Comment ctermfg=Blue<CR>
hi Comment term=NONE cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=#A7C8FF guibg=NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment