Skip to content

Instantly share code, notes, and snippets.

@roylee0704
Forked from sas1ni69/.vimrc
Last active August 29, 2015 14:22
Show Gist options
  • Save roylee0704/f397350585e4adf9de8c to your computer and use it in GitHub Desktop.
Save roylee0704/f397350585e4adf9de8c to your computer and use it in GitHub Desktop.
execute pathogen#infect()
filetype plugin on
filetype indent on
let mapleader=","
colorscheme monokai
set background=dark
set clipboard=unnamed
set cursorline
set expandtab
set hlsearch
set nowrap
set noswapfile
set number
set shiftwidth=2
set showmatch
set smarttab
set t_Co=256
set tabstop=2
set laststatus=2
set ttimeoutlen=50
set shell=bash
syntax enable
map <C-k> :NERDTreeToggle<CR>
map <Leader>t :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>l :call RunLastSpec()<CR>
map <Leader>a :call RunAllSpecs()<CR>
let g:ctrlp_prompt_mappings = {
\ 'AcceptSelection("e")': ['<c-t>'],
\ 'AcceptSelection("t")': ['<cr>', '<2-LeftMouse>'],
\ }
let g:multi_cursor_next_key='<C-n>'
let g:multi_cursor_prev_key='<C-i>'
let g:multi_cursor_skip_key='<C-x>'
let g:multi_cursor_quit_key='<C-c>'
let g:airline_powerline_fonts=1
let NERDTreeShowHidden=1
let g:rspec_command = "!rspec --drb {spec}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment