Skip to content

Instantly share code, notes, and snippets.

@duck8823
Created March 2, 2017 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duck8823/07b264b3b10663aaa0b65a3810c0472e to your computer and use it in GitHub Desktop.
Save duck8823/07b264b3b10663aaa0b65a3810c0472e to your computer and use it in GitHub Desktop.
powerlineだけ
" 基本
set number
set tabstop=4
set shiftwidth=4
set softtabstop=4
set encoding=utf-8
set fileencoding=utf-8
" 新しいウィンドウを開く場所
set splitbelow
set splitright
" terminal(キーマップ)
set term=xterm-256color
" 256色
if $TERM == 'screen'
set t_Co=256
endif
" 空白、表示
set list
set listchars=tab:>-,trail:_,eol:↲,extends:>,precedes:<,nbsp:%
syntax on
" マウスホイール
set mouse=a
set ttymouse=xterm2
" vi との互換性OFF
set nocompatible
"カーソルを行頭,行末で止まらないようにする
set whichwrap=b,s,h,l,<,>,[,]
"BSで削除できるものを指定する
" indent : 行頭の空白
" eol : 改行
" start : 挿入モード開始位置より手前の文字
set backspace=indent,eol,start
" ファイル形式の検出を無効にする
filetype off
" powerline
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
set laststatus=2
set showtabline=2
set noshowmode
set rtp+=/Users/duck8823/Library/Python/2.7/lib/python/site-packages/powerline/bindings/vim
"NeoBundle Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
set runtimepath+=/Users/duck8823/.vim/bundle/neobundle.vim/
call neobundle#begin(expand('/Users/duck8823/.vim/bundle'))
" Let NeoBundle manage NeoBundle
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment