Cleaning up

This commit is contained in:
Alex Yatskov 2014-12-28 11:57:59 +09:00
parent cbf742ed1a
commit 20ab158518

30
.vimrc
View File

@ -1,19 +1,19 @@
set runtimepath+=~/.vim set runtimepath+=~/.vim
runtime bundle/vim-pathogen/autoload/pathogen.vim runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
call pathogen#helptags()
let g:Tex_DefaultTargetFormat='pdf' let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_MultipleCompileFormats='pdf, aux' let g:Tex_MultipleCompileFormats='pdf, aux'
let g:licenses_authors_name = 'Alex Yatskov <alex@foosoft.net>' let g:licenses_authors_name = 'Alex Yatskov <alex@foosoft.net>'
let g:table_mode_corner='|' let g:table_mode_corner='|'
let g:syntastic_python_checkers=['pyflakes'] let g:syntastic_python_checkers=['pyflakes']
let mapleader=',' let g:mapleader=','
call pathogen#infect()
call pathogen#helptags()
colorscheme wombat256 colorscheme wombat256
filetype indent plugin on filetype indent plugin on
syntax on syntax enable
augroup general augroup general
autocmd! autocmd!
@ -52,16 +52,6 @@ set tabstop=4
set wildmenu set wildmenu
set wrapmargin=1 set wrapmargin=1
nnoremap <silent> <C-h> :bnext<CR>
nnoremap <silent> <C-l> :bprevious<CR>
nnoremap <silent> <Esc><Esc> :nohlsearch<CR>
nnoremap <silent> <Leader>w gqip
nnoremap <silent> <leader>wa :call argwrap#toggle()<CR>
nnoremap Q <Nop>
vmap <Enter> <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign)
if has('gui_running') if has('gui_running')
set columns=150 set columns=150
set cursorline set cursorline
@ -77,3 +67,13 @@ endif
if $SHELL=~'bin/fish' if $SHELL=~'bin/fish'
set shell=/bin/sh set shell=/bin/sh
endif endif
nnoremap <silent> <C-h> :bnext<CR>
nnoremap <silent> <C-l> :bprevious<CR>
nnoremap <silent> <Esc><Esc> :nohlsearch<CR>
nnoremap <silent> <Leader>w gqip
nnoremap <silent> <leader>wa :call argwrap#toggle()<CR>
nnoremap Q <Nop>
vmap <Enter> <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign)