Initial commit

This commit is contained in:
Alex Yatskov 2014-11-25 17:57:04 +09:00
commit d11c3f444d
27 changed files with 172 additions and 0 deletions

63
.gitmodules vendored Normal file
View File

@ -0,0 +1,63 @@
[submodule ".vim/bundle/vim-easymotion"]
path = .vim/bundle/vim-easymotion
url = https://github.com/Lokaltog/vim-easymotion.git
[submodule ".vim/bundle/vim-airline"]
path = .vim/bundle/vim-airline
url = https://github.com/bling/vim-airline.git
[submodule ".vim/bundle/vim-latex"]
path = .vim/bundle/vim-latex
url = git://git.code.sf.net/p/vim-latex/vim-latex
[submodule ".vim/bundle/vim-easy-align"]
path = .vim/bundle/vim-easy-align
url = https://github.com/junegunn/vim-easy-align.git
[submodule ".vim/bundle/vim-surround"]
path = .vim/bundle/vim-surround
url = https://github.com/tpope/vim-surround
[submodule ".vim/bundle/vim-fugitive"]
path = .vim/bundle/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git
[submodule ".vim/bundle/vim-pathogen"]
path = .vim/bundle/vim-pathogen
url = https://github.com/tpope/vim-pathogen.git
[submodule ".vim/bundle/vim-commentary"]
path = .vim/bundle/vim-commentary
url = https://github.com/tpope/vim-commentary.git
[submodule ".vim/bundle/vim-repeat"]
path = .vim/bundle/vim-repeat
url = https://github.com/tpope/vim-repeat
[submodule ".vim/bundle/vim-javascript"]
path = .vim/bundle/vim-javascript
url = https://github.com/pangloss/vim-javascript.git
[submodule ".vim/bundle/vim-abolish"]
path = .vim/bundle/vim-abolish
url = https://github.com/tpope/vim-abolish.git
[submodule ".vim/bundle/colorschemes"]
path = .vim/bundle/colorschemes
url = https://github.com/flazz/vim-colorschemes.git
[submodule ".vim/bundle/vim-unimpaired"]
path = .vim/bundle/vim-unimpaired
url = https://github.com/tpope/vim-unimpaired.git
[submodule ".vim/bundle/ctrlp.vim"]
path = .vim/bundle/ctrlp.vim
url = https://github.com/kien/ctrlp.vim.git
[submodule ".vim/bundle/vim-better-whitespace"]
path = .vim/bundle/vim-better-whitespace
url = https://github.com/ntpeters/vim-better-whitespace.git
[submodule ".vim/bundle/vim-eunuch"]
path = .vim/bundle/vim-eunuch
url = https://github.com/tpope/vim-eunuch.git
[submodule ".vim/bundle/emmet-vim"]
path = .vim/bundle/emmet-vim
url = https://github.com/mattn/emmet-vim.git
[submodule ".vim/bundle/vim-indent-guides"]
path = .vim/bundle/vim-indent-guides
url = https://github.com/nathanaelkane/vim-indent-guides.git
[submodule ".vim/bundle/syntastic"]
path = .vim/bundle/syntastic
url = https://github.com/scrooloose/syntastic.git
[submodule ".vim/bundle/vim-table-mode"]
path = .vim/bundle/vim-table-mode
url = https://github.com/dhruvasagar/vim-table-mode.git
[submodule ".vim/bundle/vim-licenses"]
path = .vim/bundle/vim-licenses
url = https://github.com/antoyo/vim-licenses.git

@ -0,0 +1 @@
Subproject commit 81c6dd7ce3169e5ad9ba92422ba6e1ce5b074e36

1
.vim/bundle/ctrlp.vim Submodule

@ -0,0 +1 @@
Subproject commit b5d3fe66a58a13d2ff8b6391f4387608496a030f

1
.vim/bundle/emmet-vim Submodule

@ -0,0 +1 @@
Subproject commit 8b703a0a00a23a96477155099946714f6fdc2e63

1
.vim/bundle/syntastic Submodule

@ -0,0 +1 @@
Subproject commit 67ffe58818930e95163ead541a2700cec41c13f7

@ -0,0 +1 @@
Subproject commit d932b4491a35a0a85f1334223e315caac5e5cb0d

@ -0,0 +1 @@
Subproject commit 15666d71e39cd91add74ff6919071d718c098db4

@ -0,0 +1 @@
Subproject commit fb5b0b8e51a294f358615060b6e2b44b5ca0674e

@ -0,0 +1 @@
Subproject commit 9c685131a5facfa0d643feca3a61b41c007d8170

@ -0,0 +1 @@
Subproject commit 44216b0a2c84791ca923994210327454d73af592

@ -0,0 +1 @@
Subproject commit ca1bb25ea734f61a2d7c528cd9fe1b4088c931b8

@ -0,0 +1 @@
Subproject commit c856e5d649b9f87590aff66a84b930fce5793431

@ -0,0 +1 @@
Subproject commit 2c8461db084d205903a792a23163faa546f143c9

@ -0,0 +1 @@
Subproject commit eec1b629dc4cfa3986d20f21d4b4489732cd3f5a

@ -0,0 +1 @@
Subproject commit f8122fd1caca68b2592553e43dad45b3dc445a06

1
.vim/bundle/vim-latex Submodule

@ -0,0 +1 @@
Subproject commit 392577fc2031519b3c95ce0d3688842dd96c38fa

@ -0,0 +1 @@
Subproject commit b7fd8944dec49cbf558cce8ff27c936474af243e

@ -0,0 +1 @@
Subproject commit b9fb0dfd811004010f5f6903edef42d6004ebea2

@ -0,0 +1 @@
Subproject commit 2a3c5f8e3c26a57b8eb4cfc4be79615a1c508ef6

@ -0,0 +1 @@
Subproject commit fa433e0b7330753688f715f3be5d10dc480f20e5

@ -0,0 +1 @@
Subproject commit e1258702126463b30e32a8a4cd1ba28689a93ef8

@ -0,0 +1 @@
Subproject commit 3548479cc154154cbdbb6737ca08a47937cc7113

1
.vim/ftplugin/go.vim Normal file
View File

@ -0,0 +1 @@
setlocal noexpandtab

View File

@ -0,0 +1,3 @@
setlocal colorcolumn=120
setlocal textwidth=120
setlocal spell

3
.vim/ftplugin/tex.vim Normal file
View File

@ -0,0 +1,3 @@
setlocal colorcolumn=120
setlocal textwidth=120
setlocal spell

2
.vim/ftplugin/yaml.vim Normal file
View File

@ -0,0 +1,2 @@
setlocal shiftwidth=2
setlocal tabstop=2

79
.vimrc Normal file
View File

@ -0,0 +1,79 @@
set runtimepath+=~/.vim
runtime bundle/vim-pathogen/autoload/pathogen.vim
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_MultipleCompileFormats='pdf, aux'
let g:licenses_authors_name = 'Alex Yatskov <alex@foosoft.net>'
let g:table_mode_corner='|'
let mapleader=","
call pathogen#infect()
call pathogen#helptags()
colorscheme wombat256
filetype indent plugin on
syntax on
augroup general
autocmd!
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
autocmd BufRead,BufNewFile *.md set filetype=markdown
augroup END
set autochdir
set autoread
set autowrite
set backspace=indent,eol,start
set encoding=utf-8
set expandtab
set fileformats=unix,dos,mac
set hidden
set hlsearch
set ignorecase
set incsearch
set laststatus=2
set linebreak
set mouse=nvi
set mousemodel=popup
set nobackup
set nocompatible
set nofoldenable
set noswapfile
set nowrap
set number
set path=$VIMPATH
set scrolloff=5
set shiftwidth=4
set shortmess+=I
set smartcase
set smarttab
set tabstop=4
set wildmenu
set wrapmargin=1
nnoremap <silent> <C-h> :bnext<CR>
nnoremap <silent> <C-l> :bprev<CR>
nnoremap <silent> <Leader>h :noh<CR>
nnoremap <silent> <Leader>w gqip
nnoremap <silent> <leader>g :call argumentrewrap#RewrapArguments()<CR>
nnoremap <silent> <leader>s :source %<CR>
nnoremap Q <Nop>
vmap <Enter> <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign)
if has("gui_running")
set columns=150
set cursorline
set guioptions-=L
set guioptions-=R
set guioptions-=T
set guioptions-=l
set guioptions-=m
set guioptions-=r
set lines=50
endif
if $SHELL=~'bin/fish'
set shell=/bin/sh
endif