Created
April 30, 2017 01:16
-
-
Save anonymous/35e86eb481b5aca55d5f03eab69aba4a to your computer and use it in GitHub Desktop.
For use at job
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
" Use Vim settings rather than Vi settings | |
" Required to be at the beginning of file | |
set nocompatible | |
" Required | |
filetype off | |
" Turn on syntax highlighting | |
syntax on | |
" Hilight text that is wider than 80 columns | |
match ColorColumn "\%80v." | |
set number | |
set history=3000 | |
set pastetoggle=<F2> | |
set cursorline | |
set visualbell | |
set autoindent | |
set smartindent | |
set smarttab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set tabstop=2 | |
set incsearch | |
set hlsearch | |
set ignorecase | |
set smartcase | |
set noswapfile | |
set nobackup | |
set nowb | |
noremap jk <esc> | |
noremap <esc> <nop> | |
noremap Q <nop> | |
set nofoldenable | |
set nowrap | |
" | |
"================ Vundle Modules ====================== | |
" Set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tomtom/tcomment_vim' | |
Plugin 'kristijanhusak/vim-multiple-cursors' | |
Plugin 'justinmk/vim-sneak' | |
Plugin 'xolox/vim-misc' | |
Plugin 'xolox/vim-session' | |
Plugin 'jiangmiao/auto-pairs' | |
Plugin 'sjl/gundo.vim' | |
Plugin 'wincent/command-t' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'dkprice/vim-easygrep' | |
Plugin 'junegunn/goyo.vim' | |
Plugin 'rking/ag.vim' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'joonty/vdebug' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'jistr/vim-nerdtree-tabs' | |
Plugin 'powerline/powerline' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'schickling/vim-bufonly' | |
Plugin 'vim-scripts/activity-log' | |
Plugin 'vim-scripts/a.vim' | |
call vundle#end() " required | |
"================ Toggle Keymaps ====================== | |
:nmap \f zi<CR> | |
:nmap \e :NERDTreeToggle<CR> | |
:nmap \t :TagbarToggle<CR> | |
:nmap \g :GundoToggle<CR> | |
:nmap \b :Bufonly<CR> | |
:nmap \o :Goyo<CR> | |
filetype plugin indent on " required | |
let g:indentLine_color_term = 239 | |
let g:indentLine_color_tty_light = 7 " (default: 4) | |
let g:indentLine_color_dark = 1 " (default: 2) | |
let g:session_autosave = 'no' | |
autocmd VimEnter * if !argc() | NERDTree | endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment