Skip to content

Instantly share code, notes, and snippets.

@tomotaka
Created February 14, 2013 06:22
Show Gist options
  • Save tomotaka/4950954 to your computer and use it in GitHub Desktop.
Save tomotaka/4950954 to your computer and use it in GitHub Desktop.
my .vimrc
imap <C-j> <esc>
set backspace=indent,eol,start
noremap 
noremap! 
noremap <BS>
noremap! <BS>
set number
set nocompatible
syntax on
filetype on
filetype indent on
filetype plugin on
set expandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set hlsearch
nmap nt :NERDTree<CR>
command Kopipe setl noai nocin inde=
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
let g:neocomplcache_enable_at_startup = 1
set t_Co=256
colorscheme xoria256
au FileType ruby set ts=2 sw=2 softtabstop=2 expandtab
au FileType c set ts=4 sw=4 softtabstop=4 expandtab
au FileType python set ts=4 sw=4 softtabstop=4 expandtab
au FileType cpp set ts=4 sw=4 softtabstop=4 expandtab
au FileType java set ts=4 sw=4 softtabstop=4 expandtab
au FileType php set ts=4 sw=4 softtabstop=4 expandtab
au FileType tex set ts=4 sw=4 softtabstop=4 expandtab
au BufNewFile,BufRead config.ru setf ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment