Skip to content

Instantly share code, notes, and snippets.

@cyb-ahmadh
Last active January 2, 2019 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyb-ahmadh/336b7cb625336f217a08f35a632c283c to your computer and use it in GitHub Desktop.
Save cyb-ahmadh/336b7cb625336f217a08f35a632c283c to your computer and use it in GitHub Desktop.
vimrc
set nocompatible " be iMproved, required
filetype indent on " required
set number
set lines=35 columns=150
set colorcolumn=100
let mapleader=" "
set hidden
set history=100
set nowrap
set tabstop=2
set shiftwidth=2
set expandtab
set smartindent
set autoindent
nnoremap <Leader><Leader> :e#<CR>
set showmatch
nnoremap <C-s> :w<CR>
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'kien/ctrlp.vim'
Plugin 'chriskempson/tomorrow-theme'
Plugin 'itchyny/lightline.vim'
" Show status line
set laststatus=2
if !has('gui_running')
set t_Co=256
endif
Plugin 'airblade/vim-gitgutter'
Plugin 'tpope/vim-fugitive'
Plugin 'terryma/vim-multiple-cursors'
" Ruby specific
Plugin 'vim-ruby/vim-ruby'
Plugin 'tpope/vim-bundler'
Plugin 'tpope/vim-rails'
set wildignore+=*.log,*.sql,*.cache
syntax on
colorscheme Tomorrow-Night
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
map <leader>s :source ~/.vimrc<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment