1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

初心者、私の.vimrc

Posted at

自分の.vimrcを公開しながら、良い設定やプラグインなどを随時更新していきます。

.vimrc
:syntax on$
:set ruler$
:set autoindent$
:set list$
:set shiftwidth=4$
:set softtabstop=4$
:set hlsearch$
:set nowrap$
:set sidescroll=10$
$
"背景"$
syntax enable$
set background=dark$
let g:solarized_termcolors=256$
$
set nocompatible$
filetype plugin indent off$
$
if has('vim_starting')$
  set runtimepath+=~/.vim/bundle/neobundle.vim$
endif $
$
call neobundle#begin(expand('~/.vim/bundle'))$
NeoBundleFetch 'Shougo/neobundle.vim'$
$
$
NeoBundle 'Shougo/unite.vim'$
NeoBundle 'Shougo/neosnippet.vim'$
$

"Node.js関連の設定"$
NeoBundleLazy 'heavenshell/vim-jsdoc' , {'autoload': {'filetypes': ['javascript']}}$
NeoBundle 'pangloss/vim-javascript'$
NeoBundle 'Townk/vim-autoclose'$
NeoBundle 'moll/vim-node'$
$
NeoBundle 'scrooloose/syntastic'$
let g:syntastic_check_on_open=0 "ファイルを開いたときはチェックしない$
let g:syntastic_check_on_save=1 "保存時にはチェック$
let g:syntastic_check_on_wq = 0 " wqではチェックしない$
let g:syntastic_auto_loc_list=1 "エラーがあったら自動でロケーションリストを開く$
let g:syntastic_loc_list_height=6 "エラー表示ウィンドウの高さ$
set statusline+=%#warningmsg# "エラーメッセージの書式$
set statusline+=%{SyntasticStatuslineFlag()}$
set statusline+=%*$ 
let g:syntastic_javascript_checkers = ['eslint'] "ESLintを使う$
let g:syntastic_mode_map = {$
      \ 'mode': 'active',$
      \ 'active_filetypes': ['javascript'],$
      \ 'passive_filetypes': []$
      \ }$
$
NeoBundle 'thinca/vim-quickrun'$
" 水平に分割する$
let g:quickrun_config={'*': {'split': ''}}$
$
NeoBundle 'tomasr/molokai'$
$   
call neobundle#end()$
$   
filetype plugin indent on$

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?