Created
July 21, 2018 06:16
-
-
Save ultimatecoder/c6f2ba15fd39ffff1baef7822f4d0aa1 to your computer and use it in GitHub Desktop.
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
set incsearch | |
set autoindent | |
set backup | |
set ruler | |
set showcmd | |
set nu | |
set hlsearch | |
set exrc | |
set relativenumber | |
colorscheme molokai | |
set list | |
set listchars=tab:>-,trail:~,precedes:= | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
" Leader | |
let mapleader = ',' | |
" Vundle | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim " required | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'klen/python-mode' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Valloric/YouCompleteMe' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'yars' | |
Plugin 'vim-voom/VOoM' | |
Plugin 'elzr/vim-json' | |
Plugin 'Quramy/vison' | |
Plugin 'ternjs/tern_for_vim' | |
Plugin 'tpope/vim-surround' | |
Plugin 'reedes/vim-wordy' | |
Plugin 'parkr/vim-jekyll' | |
Plugin 'dpelle/vim-LanguageTool' | |
Plugin 'shime/vim-livedown' | |
Plugin 'ludovicchabant/vim-gutentags' | |
Plugin 'junegunn/goyo.vim' | |
Plugin 'ultimatecoder/goyo-doc' | |
Plugin 'vim-scripts/SyntaxAttr.vim' | |
Plugin 'mileszs/ack.vim' | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" Pymode | |
let g:pymode = 1 | |
" Pymode-Folding | |
let g:pymode_folding = 0 | |
" Pymode-Line | |
let g:pymode_options_colorcolumn = 1 | |
" Pymode-Virtualenv | |
let g:pymode_virtualenv = 1 | |
" Pymode-Code Checking | |
let g:pymode_lint = 0 | |
let g:pymode_lint_checkers = ['pyflakes', 'pep8', 'mccabe', 'pep257'] | |
let g:pymode_lint_on_fly = 1 | |
let g:pymode_lint_on_write = 1 | |
" Pymode-Rope | |
let g:pymode_rope = 0 | |
let g:pymode_rope_lookup_project = 0 | |
let g:pymode_rope_completion = 0 | |
let g:pymode_rope_goto_definition_bind= '<Leader>d' | |
let g:pymode_rope_rename_bind = '<Leader>r' | |
" Pymode-Custom-Mapping | |
nmap <Leader>2 :let g:pymode_python='python'<Cr> | |
nmap <Leader>3 :let g:pymode_python='python3'<Cr> | |
" Tagbar | |
nmap <Leader>t :TagbarOpen fj<Cr> | |
nmap <Leader>tc :Tagbar <Cr> | |
if &diff == 0 | |
autocmd FileType python nested :TagbarOpen | |
endif | |
let g:tagbar_left = 1 | |
" NERDTree - Custom-Mapping | |
nmap <Leader>n :NERDTreeToggle<Cr> | |
" YouCompleteMe | |
if &diff == 0 | |
let g:ycm_server_python_interpreter='/usr/bin/python' | |
endif | |
" VOoM - Custom Mapping | |
nmap <Leader>v :Voom rest<Cr> | |
autocmd BufRead *.rst :retab! 3 | |
autocmd BufRead *.rst :call voom#Init('rest') | |
" Custom Mapping | |
noremap j h | |
noremap k j | |
noremap l k | |
noremap ; l | |
" Markdown Jekyll | |
au FileType markdown setlocal textwidth=80 | |
" Jekyll | |
let g:jekyll_post_extension = '.md' | |
" Language tool | |
let g:languagetool_jar='$HOME/Jaysinh/LanguageTool-3.8/languagetool-commandline.jar' | |
" Goyo | |
let g:goyo_linenr = 1 | |
autocmd BufRead *.md Goyo | |
" Gnutentags | |
let g:gutentags_exclude_project_root = ['/home/bigj/Jaysinh/Blog'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment