Last active
June 7, 2017 18:49
-
-
Save psqq/ab603254990291cbeadb8154f2caa2b2 to your computer and use it in GitHub Desktop.
My configs
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
| BasedOnStyle: LLVM | |
| IndentWidth: 2 | |
| ColumnLimit: 80 |
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
| "-----=====##### VUNDLE #####=====----- | |
| " install: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " 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 'ciaranm/detectindent' | |
| Plugin 'tpope/vim-fugitive' | |
| Plugin 'rhysd/vim-clang-format' | |
| " All of your Plugins must be added before the following line | |
| call vundle#end() " required | |
| filetype plugin indent on " required | |
| " To ignore plugin indent changes, instead use: | |
| "filetype plugin on | |
| " | |
| " Brief help | |
| " :PluginList - lists configured plugins | |
| " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
| " :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
| " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
| " | |
| " see :h vundle for more details or wiki for FAQ | |
| " Put your non-Plugin stuff after this line | |
| "-----=====##### MY CONFIG #####=====----- | |
| filetype plugin indent on | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set expandtab | |
| set ai | |
| set cin | |
| set showmatch | |
| set hlsearch | |
| set incsearch | |
| set ignorecase | |
| set lz | |
| set number | |
| " hotkeys | |
| map <f2>cf :ClangFormat<cr> | |
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
| GLOBIGNORE=".:.." | |
| curl -H 'Cache-Control: no-cache' -L https://gist.github.com/psqq/ab603254990291cbeadb8154f2caa2b2/download \ | |
| > ab603254990291cbeadb8154f2caa2b2.zip && \ | |
| unzip ab603254990291cbeadb8154f2caa2b2.zip && \ | |
| mv ab603254990291cbeadb8154f2caa2b2-master/* ~/ && \ | |
| rm -rf ab603254990291cbeadb8154f2caa2b2-master ab603254990291cbeadb8154f2caa2b2.zip | |
| # end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment