Skip to content

Instantly share code, notes, and snippets.

@tetkuz
Created March 9, 2016 15:27
Show Gist options
  • Save tetkuz/428e99f323f209012065 to your computer and use it in GitHub Desktop.
Save tetkuz/428e99f323f209012065 to your computer and use it in GitHub Desktop.
set relativenumber
set ruler
set cursorline
set cursorcolumn
set laststatus=2
set showmatch
set ambiwidth=double
set hlsearch
set display=lastline
set fillchars=
set spelllang=en,cjk
set splitbelow
set pumheight=10
set history=10000
set noexpandtab
set autoindent
set wildmode=list,full
set completeopt=preview
set smartindent
syntax on
set autoread
set nobackup
set noswapfile
set noundofile
set hlsearch
set incsearch
set ignorecase
set smartcase
set nowrapscan
set clipboard=unnamed
set mouse+=a
nnoremap x "_x
nmap Y y$
nnoremap tw "adiwP
nnoremap <Space>h :<C-u>tab help<Space>
nnoremap <Space>vh :<C-u>vertical belowright help<Space>
nnoremap <Space>. :<C-u>tabedit $MYVIMRC<CR>
nnoremap <silent> <ESC><ESC> :noh<CR>
nnoremap gcd :cd %:h<CR>
nnoremap / :set hlsearch<CR>/
nnoremap gr gT
nnoremap T :tabnew<CR>
if &compatible
set nocompatible
endif
set runtimepath^=~/.cache/dein/repos/github.com/Shougo/dein.vim
call dein#begin(expand('~/.cache/dein'))
call dein#add('Shougo/dein.vim')
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('Shougo/neomru.vim')
call dein#add('Shougo/unite.vim')
call dein#add('bling/vim-airline')
call dein#add('morhetz/gruvbox')
call dein#add('scrooloose/nerdtree', { 'if': '0' } )
call dein#add('tpope/vim-surround')
call dein#add('junegunn/vim-easy-align')
call dein#add('tpope/vim-abolish')
call dein#add('rking/ag.vim')
call dein#add('kana/vim-smartinput')
call dein#add('scrooloose/syntastic')
call dein#add('mattn/webapi-vim')
call dein#add('mattn/gist-vim')
call dein#end()
filetype plugin indent on
if dein#check_install()
call dein#install()
endif
set background=dark
colorscheme gruvbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment