From 77c0f040c626a03850e26bc5647abf1b6c9eface Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sun, 24 Jan 2016 19:32:42 +0100 Subject: [PATCH] First Commit --- .vim | 1 - .vim/bundle/SearchComplete | 1 + .vim/bundle/Vundle.vim | 1 + .vim/bundle/YouCompleteMe | 1 + .vim/bundle/a.vim | 1 + .vim/bundle/ctrlp.vim | 1 + .vim/bundle/emmet-vim | 1 + .vim/bundle/python-syntax | 1 + .vim/bundle/supertab | 1 + .vim/bundle/syntastic | 1 + .vim/bundle/tagbar | 1 + .vim/bundle/vim-airline | 1 + .vim/bundle/vim-autoclose | 1 + .vim/bundle/vim-colors-solarized | 1 + .vim/bundle/vim-cpp-enhanced-highlight | 1 + .vim/bundle/vim-easymotion | 1 + .vim/bundle/vim-fugitive | 1 + .vim/bundle/vim-surround | 1 + .vimrc | 115 ++++++++++++++++++++++++- 19 files changed, 131 insertions(+), 2 deletions(-) delete mode 120000 .vim create mode 160000 .vim/bundle/SearchComplete create mode 160000 .vim/bundle/Vundle.vim create mode 160000 .vim/bundle/YouCompleteMe create mode 160000 .vim/bundle/a.vim create mode 160000 .vim/bundle/ctrlp.vim create mode 160000 .vim/bundle/emmet-vim create mode 160000 .vim/bundle/python-syntax create mode 160000 .vim/bundle/supertab create mode 160000 .vim/bundle/syntastic create mode 160000 .vim/bundle/tagbar create mode 160000 .vim/bundle/vim-airline create mode 160000 .vim/bundle/vim-autoclose create mode 160000 .vim/bundle/vim-colors-solarized create mode 160000 .vim/bundle/vim-cpp-enhanced-highlight create mode 160000 .vim/bundle/vim-easymotion create mode 160000 .vim/bundle/vim-fugitive create mode 160000 .vim/bundle/vim-surround mode change 120000 => 100644 .vimrc diff --git a/.vim b/.vim deleted file mode 120000 index 525a121..0000000 --- a/.vim +++ /dev/null @@ -1 +0,0 @@ -/home/billie/.vim \ No newline at end of file diff --git a/.vim/bundle/SearchComplete b/.vim/bundle/SearchComplete new file mode 160000 index 0000000..d85ccf8 --- /dev/null +++ b/.vim/bundle/SearchComplete @@ -0,0 +1 @@ +Subproject commit d85ccf8c6c1fa88feff0c56b8fe271b7d91bd292 diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim new file mode 160000 index 0000000..5f70ae6 --- /dev/null +++ b/.vim/bundle/Vundle.vim @@ -0,0 +1 @@ +Subproject commit 5f70ae6025e951f0154e3940d123138adffa4c88 diff --git a/.vim/bundle/YouCompleteMe b/.vim/bundle/YouCompleteMe new file mode 160000 index 0000000..d05bf55 --- /dev/null +++ b/.vim/bundle/YouCompleteMe @@ -0,0 +1 @@ +Subproject commit d05bf551a677ac70d5b6de707a7174a97dccd4dd diff --git a/.vim/bundle/a.vim b/.vim/bundle/a.vim new file mode 160000 index 0000000..2cbe946 --- /dev/null +++ b/.vim/bundle/a.vim @@ -0,0 +1 @@ +Subproject commit 2cbe946206ec622d9d8cf2c99317f204c4d41885 diff --git a/.vim/bundle/ctrlp.vim b/.vim/bundle/ctrlp.vim new file mode 160000 index 0000000..564176f --- /dev/null +++ b/.vim/bundle/ctrlp.vim @@ -0,0 +1 @@ +Subproject commit 564176f01d7f3f7f8ab452ff4e1f5314de7b0981 diff --git a/.vim/bundle/emmet-vim b/.vim/bundle/emmet-vim new file mode 160000 index 0000000..0ccaa29 --- /dev/null +++ b/.vim/bundle/emmet-vim @@ -0,0 +1 @@ +Subproject commit 0ccaa29dbde268888be21705b0de5de89b59ef48 diff --git a/.vim/bundle/python-syntax b/.vim/bundle/python-syntax new file mode 160000 index 0000000..69760cb --- /dev/null +++ b/.vim/bundle/python-syntax @@ -0,0 +1 @@ +Subproject commit 69760cb3accce488cc072772ca918ac2cbf384ba diff --git a/.vim/bundle/supertab b/.vim/bundle/supertab new file mode 160000 index 0000000..6651177 --- /dev/null +++ b/.vim/bundle/supertab @@ -0,0 +1 @@ +Subproject commit 66511772a430a5eaad7f7d03dbb02e8f33c4a641 diff --git a/.vim/bundle/syntastic b/.vim/bundle/syntastic new file mode 160000 index 0000000..d1a179d --- /dev/null +++ b/.vim/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit d1a179d750bd1d136d7f38e69f2c5b8439886de7 diff --git a/.vim/bundle/tagbar b/.vim/bundle/tagbar new file mode 160000 index 0000000..7b36c46 --- /dev/null +++ b/.vim/bundle/tagbar @@ -0,0 +1 @@ +Subproject commit 7b36c46d17d57db34fdb0adac9ba6382d0bb5e66 diff --git a/.vim/bundle/vim-airline b/.vim/bundle/vim-airline new file mode 160000 index 0000000..d077994 --- /dev/null +++ b/.vim/bundle/vim-airline @@ -0,0 +1 @@ +Subproject commit d07799421ae58eff738f9c23cd47a500c6631235 diff --git a/.vim/bundle/vim-autoclose b/.vim/bundle/vim-autoclose new file mode 160000 index 0000000..a9a3b73 --- /dev/null +++ b/.vim/bundle/vim-autoclose @@ -0,0 +1 @@ +Subproject commit a9a3b7384657bc1f60a963fd6c08c63fc48d61c3 diff --git a/.vim/bundle/vim-colors-solarized b/.vim/bundle/vim-colors-solarized new file mode 160000 index 0000000..528a59f --- /dev/null +++ b/.vim/bundle/vim-colors-solarized @@ -0,0 +1 @@ +Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21 diff --git a/.vim/bundle/vim-cpp-enhanced-highlight b/.vim/bundle/vim-cpp-enhanced-highlight new file mode 160000 index 0000000..a8024aa --- /dev/null +++ b/.vim/bundle/vim-cpp-enhanced-highlight @@ -0,0 +1 @@ +Subproject commit a8024aaff835e1c2a90db54cac511713aeaaf3b7 diff --git a/.vim/bundle/vim-easymotion b/.vim/bundle/vim-easymotion new file mode 160000 index 0000000..e777916 --- /dev/null +++ b/.vim/bundle/vim-easymotion @@ -0,0 +1 @@ +Subproject commit e777916540675d2c9789c1a6d68aefcfb1747db0 diff --git a/.vim/bundle/vim-fugitive b/.vim/bundle/vim-fugitive new file mode 160000 index 0000000..fd36aa9 --- /dev/null +++ b/.vim/bundle/vim-fugitive @@ -0,0 +1 @@ +Subproject commit fd36aa9c61e06d71befdbe8931f97137c489b065 diff --git a/.vim/bundle/vim-surround b/.vim/bundle/vim-surround new file mode 160000 index 0000000..2d05440 --- /dev/null +++ b/.vim/bundle/vim-surround @@ -0,0 +1 @@ +Subproject commit 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c diff --git a/.vimrc b/.vimrc deleted file mode 120000 index 0a3da9b..0000000 --- a/.vimrc +++ /dev/null @@ -1 +0,0 @@ -/home/billie/.vimrc \ No newline at end of file diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..c5eca07 --- /dev/null +++ b/.vimrc @@ -0,0 +1,114 @@ +" Vundle package managment +set nocompatible +filetype off +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +Plugin 'altercation/vim-colors-solarized' +Plugin 'gmarik/Vundle.vim' +Plugin 'bling/vim-airline' +Plugin 'easymotion/vim-easymotion' +Plugin 'ervandew/supertab' +Plugin 'hdima/python-syntax' +Plugin 'kien/ctrlp.vim' +Plugin 'majutsushi/tagbar' +Plugin 'mattn/emmet-vim' +Plugin 'octol/vim-cpp-enhanced-highlight' +Plugin 'scrooloose/syntastic' +Plugin 'Townk/vim-autoclose' +Plugin 'tpope/vim-fugitive' +Plugin 'tpope/vim-surround' +Plugin 'vim-scripts/a.vim' +Plugin 'vim-scripts/SearchComplete' +Plugin 'Valloric/YouCompleteMe' +call vundle#end() + +set exrc +set secure + +let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/.ycm_extra_conf.py' + +let mapleader="," + +" Autoindent for filetype +filetype plugin indent on +set autoindent + +set encoding=utf-8 +set scrolloff=4 +set sidescrolloff=3 + +" Unsaved buffer switching +set hidden + +" Line numbering +set number +set numberwidth=5 + +" Persistent undo +set undodir=~/.vim/undo/ +set undofile +set undolevels=1000 +set undoreload=10000 + +" Enable the mouse +:set mouse=a + +" Python execution +:nnoremap : ! python3 % + +" Highlight line number of where cursor currently is + + +" Searching +set ignorecase +set smartcase +set incsearch +set hlsearch +nnoremap :noh + +" Text wrapping +set lbr + +" Tabs +if has("autocmd") + filetype plugin indent on + autocmd FileType make set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab +endif + +" Terminal colors +set t_Co=256 + +set tabstop=4 +set shiftwidth=4 +set softtabstop=4 +set expandtab + +" Tab completion +set wildmode=longest,list +set wildmenu + +" syntastic +" see .vim/after/ftplugin/python.vim as well +let g:syntastic_always_populate_loc_list = 1 +set statusline+=%#warningmsg# +set statusline+=%{SyntasticStatuslineFlag()} +set statusline+=%* + +let g:syntastic_auto_loc_list = 1 +let g:syntastic_check_on_open = 1 +let g:syntastic_check_on_wq = 1 + +set guifont=Ubuntu\ Mono\ derivative\ Powerline\ 13 +let g:airline_powerline_fonts = 1 +set laststatus=2 +set ttimeoutlen=50 + + " Color scheme +syntax enable +set background=dark +let g:solarized_termcolors=256 +colorscheme solarized + +let g:tagbar_sort = 0 +nnoremap :TagbarToggle +