Skip to content

Instantly share code, notes, and snippets.

@tokibito
Created December 27, 2012 06:26
Show Gist options
  • Save tokibito/4385959 to your computer and use it in GitHub Desktop.
Save tokibito/4385959 to your computer and use it in GitHub Desktop.
syntax on
filetype plugin on
" filetype
let pascal_delphi=1
let pascal_symbol_operator=1
let pascal_no_tabs=1
au BufNewFile,BufRead *.pp,*.rops setf pascal
au BufNewFile,BufRead *.htn setf hatena
" tab
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
" set smarttab
" indent
set ai
set noeol
set nobackup
set fileencoding=utf-8
set fileencodings=utf-8,euc-jp,cp932
set fileformats=unix,dos,mac
map <C-I> :tabnext<cr>
set bs=2
" Exec
map mm :!make<cr>
map mt :!make test<cr>
map mh :!make html<cr>
map md :!dcc32 %<cr>
map me :!%:r.exe<cr>
map mp :!pep8 %<cr>
" Server only
"set mouse=a
"set ttymouse=xterm2
" color scheme
colorscheme delek
" yankling
let g:yankring_history_file='.yankling_history'
" qbuf
let g:qb_hotkey=';;'
" cursorline
set cursorline
" special char width
if exists('&ambiwidth')
set ambiwidth=double
endif
" dropbox swap exclude
set directory=~/.swap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment