Created
May 19, 2018 08:30
-
-
Save KamaKAzii/3e13eaea68a650a21984a58eb15cce19 to your computer and use it in GitHub Desktop.
vim dotfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kchmck/vim-coffee-script' | |
Plugin 'othree/yajs.vim' | |
Plugin 'slim-template/vim-slim.git' | |
Plugin 'tpope/vim-haml' | |
Plugin 'tpope/vim-dispatch' | |
Plugin 'tpope/vim-rails' | |
Plugin 'leafgarland/typescript-vim.git' | |
Plugin 'digitaltoad/vim-pug.git' | |
Plugin 'Shougo/vimproc.vim' | |
Plugin 'Quramy/tsuquyomi' | |
Plugin 'mattn/emmet-vim' | |
call vundle#end() " required | |
filetype plugin indent on " required | |
autocmd BufNewFile,BufRead *.ejs set syntax=html | |
autocmd BufWritePre *.py :%s/\s\+$//e | |
syntax on | |
se ts=2 | |
se sts=2 | |
set expandtab | |
set autoindent | |
set shiftwidth=2 | |
set backspace=2 " backspace on two-spaces deletes both | |
set history=1000 | |
set undolevels=1000 | |
set showmatch | |
set mat=1 " how many tenths of a second to blink for | |
set title | |
set visualbell | |
set noerrorbells | |
set nobackup | |
set noswapfile | |
set smartcase | |
set hlsearch | |
set incsearch | |
set number | |
filetype on " define commands based on filetype | |
filetype indent on " auto-indent | |
filetype plugin on " enable plugins based on filetype | |
nnoremap <c-j> <c-w>j | |
nnoremap <c-k> <c-w>k | |
nnoremap <c-h> <c-w>h | |
nnoremap <c-l> <c-w>l | |
:imap jk <Esc> | |
let g:ctrlp_custom_ignore = { | |
\ 'dir': '\v[\/](tmp|node_modules)', | |
\ 'file': '\v\.(exe|so|dll|cache)$', | |
\ } | |
let g:tsuquyomi_completion_detail = 1 | |
colorscheme molokai | |
set cursorline | |
set cursorcolumn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment