-
Notifications
You must be signed in to change notification settings - Fork 23
/
vimrc
59 lines (51 loc) · 1.18 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"--------------
" Plugins
"--------------
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'mattn/emmet-vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'terryma/vim-multiple-cursors'
Plug 'chrisbra/matchit'
" for general purpose development
Plug 'tomtom/tcomment_vim'
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
Plug 'garbas/vim-snipmate'
Plug 'honza/vim-snippets'
Plug 'majutsushi/tagbar'
Plug 'mileszs/ack.vim'
Plug 'airblade/vim-gitgutter'
" for ruby/rails development
Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
Plug 'thoughtbot/vim-rspec'
" for vue.js development
Plug 'leafOfTree/vim-vue-plugin'
call plug#end()
"--------------
" Settings
"--------------
set nocompatible
set clipboard=unnamed
set noswapfile
set hidden
set nobomb " no BOM(Byte Order Mark)
set mouse=a
"--------------
" Filetype and Encoding
"--------------
filetype on
filetype indent on
filetype plugin on
" file encoding
set encoding=utf-8
scriptencoding utf-8
"--------------
" key mapping
"--------------
let mapleader = ","