Created
March 21, 2016 19:15
-
-
Save mekhami/3fe0f0f0e0f865e34285 to your computer and use it in GitHub Desktop.
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
| execute pathogen#infect() | |
| syntax on | |
| filetype plugin indent on | |
| set ts=4 | |
| set sw=4 | |
| set sts=4 | |
| set textwidth=79 | |
| set expandtab | |
| set autoindent | |
| set clipboard=unnamed | |
| set background=dark | |
| " relative line numbers | |
| set rnu | |
| colorscheme base16-atelierheath | |
| set foldmethod=manual | |
| " Settings for vim-airline | |
| set laststatus=2 | |
| let g:airline_powerline_fonts = 1 | |
| let g:airline_theme='term' | |
| " Settings for CtrlP | |
| set runtimepath^=~/.vim/bundle/ctrlp.vim | |
| set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.pyc,*/node_modules/*,*/bower_components/* | |
| " Settings for gist-vim | |
| let g:gist_detect_filetype = 1 | |
| let g:gist_open_browser_after_post = 1 | |
| let g:gist_browser_command = 'google-chrome %URL% &' | |
| " Automatically save views/folds | |
| set sessionoptions+=folds | |
| let g:startify_session_dir = "~/.vim/sessions" | |
| let g:startify_list_order = ['sessions', 'files', 'dir', 'bookmarks'] | |
| let g:startify_session_persistence = 1 | |
| let g:startify_custom_header = | |
| \ map(split(system('fortune | cowsay'), '\n'), '" ". v:val') + ['',''] | |
| let g:startify_relative_path = 1 | |
| let g:ctrlp_reuse_window = 'startify' | |
| " Ultisnips and YCM settings | |
| let g:UltiSnipsExpandTrigger="<c-k>" | |
| let g:UltiSnipsJumpForwardTrigger="<c-k>" | |
| let g:UltiSnipsJumpBackwardTrigger="<s-c-j>" | |
| let g:UltiSnipsSnippetDirectories=["UltiSnips"] | |
| autocmd BufWinLeave *.* mkview | |
| autocmd BufWinEnter *.* silent loadview |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment