First Commit

This commit is contained in:
Thomas Avé 2016-01-24 19:32:42 +01:00
parent 6ac1fc899b
commit 77c0f040c6
19 changed files with 131 additions and 2 deletions

1
.vim
View File

@ -1 +0,0 @@
/home/billie/.vim

@ -0,0 +1 @@
Subproject commit d85ccf8c6c1fa88feff0c56b8fe271b7d91bd292

@ -0,0 +1 @@
Subproject commit 5f70ae6025e951f0154e3940d123138adffa4c88

@ -0,0 +1 @@
Subproject commit d05bf551a677ac70d5b6de707a7174a97dccd4dd

1
.vim/bundle/a.vim Submodule

@ -0,0 +1 @@
Subproject commit 2cbe946206ec622d9d8cf2c99317f204c4d41885

1
.vim/bundle/ctrlp.vim Submodule

@ -0,0 +1 @@
Subproject commit 564176f01d7f3f7f8ab452ff4e1f5314de7b0981

1
.vim/bundle/emmet-vim Submodule

@ -0,0 +1 @@
Subproject commit 0ccaa29dbde268888be21705b0de5de89b59ef48

@ -0,0 +1 @@
Subproject commit 69760cb3accce488cc072772ca918ac2cbf384ba

1
.vim/bundle/supertab Submodule

@ -0,0 +1 @@
Subproject commit 66511772a430a5eaad7f7d03dbb02e8f33c4a641

1
.vim/bundle/syntastic Submodule

@ -0,0 +1 @@
Subproject commit d1a179d750bd1d136d7f38e69f2c5b8439886de7

1
.vim/bundle/tagbar Submodule

@ -0,0 +1 @@
Subproject commit 7b36c46d17d57db34fdb0adac9ba6382d0bb5e66

@ -0,0 +1 @@
Subproject commit d07799421ae58eff738f9c23cd47a500c6631235

@ -0,0 +1 @@
Subproject commit a9a3b7384657bc1f60a963fd6c08c63fc48d61c3

@ -0,0 +1 @@
Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21

@ -0,0 +1 @@
Subproject commit a8024aaff835e1c2a90db54cac511713aeaaf3b7

@ -0,0 +1 @@
Subproject commit e777916540675d2c9789c1a6d68aefcfb1747db0

@ -0,0 +1 @@
Subproject commit fd36aa9c61e06d71befdbe8931f97137c489b065

@ -0,0 +1 @@
Subproject commit 2d05440ad23f97a7874ebd9b5de3a0e65d25d85c

1
.vimrc
View File

@ -1 +0,0 @@
/home/billie/.vimrc

114
.vimrc Normal file
View File

@ -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 <F5> :<C-u> ! python3 %<CR>
" Highlight line number of where cursor currently is
" Searching
set ignorecase
set smartcase
set incsearch
set hlsearch
nnoremap <leader><space> :noh<CR>
" 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 <silent> <F9> :TagbarToggle<CR>