Last active
September 25, 2017 20:25
-
-
Save souhaiebtar/c457262d6576a14ddb461037194d25eb to your computer and use it in GitHub Desktop.
my vim config file
This file contains 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
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
call plug#begin('~/.vim/plugged') | |
" Plugins go here | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-fugitive' | |
Plug 'vim-syntastic/syntastic' | |
Plug 'nanotech/jellybeans.vim' | |
Plug 'Lokaltog/vim-powerline' | |
Plug 'scrooloose/nerdtree' | |
Plug 'tpope/vim-surround' | |
Plug 'mattn/vim-fz' | |
Plug 'plasticboy/vim-markdown' | |
Plug 'tpope/vim-tbone' | |
Plug 'junegunn/vim-oblique' | |
Plug 'ConradIrwin/vim-bracketed-paste' | |
Plug 'mbbill/undotree' | |
Plug 'junegunn/vim-easy-align' | |
Plug 'junegunn/vim-github-dashboard' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'zerowidth/vim-copy-as-rtf' | |
Plug 'junegunn/vim-emoji' | |
Plug 'pangloss/vim-javascript' | |
Plug 'junegunn/vim-ruby-x' | |
Plug 'tpope/vim-surround' | |
Plug 'mileszs/ack.vim' | |
Plug 'majutsushi/tagbar' | |
Plug 'junegunn/limelight.vim' | |
Plug 'junegunn/goyo.vim' | |
Plug 'gregsexton/gitv' | |
Plug 'junegunn/seoul256.vim' | |
Plug 'tpope/vim-commentary' | |
Plug 'tpope/vim-repeat' | |
Plug 'junegunn/vim-fnr' | |
Plug 'tpope/vim-rails' | |
Plug 'vim-ruby/vim-ruby' | |
Plug 'rust-lang/rust.vim' | |
Plug 'keith/investigate.vim' | |
Plug 'junegunn/vim-pseudocl' | |
Plug 'slim-template/vim-slim' | |
Plug 'Yggdroot/indentLine' | |
Plug 'vim-scripts/paredit.vim' | |
Plug 'sickill/vim-monokai' | |
Plug 'tomasr/molokai' | |
call plug#end() | |
syntax enable | |
color monokai | |
set cursorline | |
set expandtab | |
set modelines=0 | |
set number | |
set encoding=utf-8 | |
set showcmd " display incomplete commands | |
filetype plugin indent on " load file type plugins + indentation | |
"" Whitespace | |
set nowrap " don't wrap lines | |
set tabstop=2 shiftwidth=2 " a tab is two spaces (or set this to 4) | |
set expandtab " use spaces, not tabs (optional) | |
set backspace=indent,eol,start " backspace through everything in insert mode | |
"" Searching | |
set hlsearch " highlight matches | |
set incsearch " incremental searching | |
set ignorecase " searches are case insensitive... | |
set smartcase " ... unless they contain at least one capital letter | |
" yank to clipboard | |
if has("clipboard") | |
set clipboard=unnamed " copy to the system clipboard | |
if has("unnamedplus") " X11 support | |
set clipboard+=unnamedplus | |
endif | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment