dotfiles

andersuno dotfiles
Log | Files | Refs

commit 162aa491e076ff92c53c9bc36e2d13fa42a38e38
parent 323848a50f45c2be1621068cde70128bd34b7116
Author: andersuno <anders.hedman01@gmail.com>
Date:   Wed,  9 Oct 2019 19:28:05 +0200

 Changes to be committed:
	new file:   .bash_aliases
	new file:   .bashrc
	new file:   .fehbg
	new file:   .vimrc
	new file:   Wallpapers/arch.png
	new file:   Wallpapers/arch2.jpg
	new file:   Wallpapers/arch3.jpg
	new file:   Wallpapers/arch4.jpg
	new file:   Wallpapers/arch5.jpg
	new file:   Wallpapers/brake.jpg
	new file:   Wallpapers/debian1.jpg
	new file:   Wallpapers/debian2.png
	new file:   Wallpapers/debian3.jpg
	new file:   Wallpapers/gnu1.jpg
	new file:   Wallpapers/gnu2.png
	new file:   Wallpapers/kaliarch.jpg
	new file:   Wallpapers/matrix.jpg

Diffstat:
A.fehbg | 2++
A.vimrc | 108+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
AWallpapers/arch.png | 0
AWallpapers/arch2.jpg | 0
AWallpapers/arch3.jpg | 0
AWallpapers/arch4.jpg | 0
AWallpapers/arch5.jpg | 0
AWallpapers/brake.jpg | 0
AWallpapers/debian1.jpg | 0
AWallpapers/debian2.png | 0
AWallpapers/debian3.jpg | 0
AWallpapers/gnu1.jpg | 0
AWallpapers/gnu2.png | 0
AWallpapers/kaliarch.jpg | 0
AWallpapers/matrix.jpg | 0
15 files changed, 110 insertions(+), 0 deletions(-)

diff --git a/.fehbg b/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --no-fehbg --bg-scale '/usr/share/backgrounds/archlinux/archlinux-simplyblack.png' diff --git a/.vimrc b/.vimrc @@ -0,0 +1,108 @@ +set nocompatible +filetype off +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() +Plugin 'gmarik/Vundle.vim' +Plugin 'vim-scripts/indentpython.vim' +Plugin 'vim-syntastic/syntastic' +Plugin 'Valloric/YouCompleteMe' +Plugin 'nvie/vim-flake8' +Plugin 'vim-airline/vim-airline' +Plugin 'vim-airline/vim-airline-themes' +Plugin 'tpope/vim-fugitive' +Plugin 'airblade/vim-gitgutter' +"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} +"plugins here----- +call vundle#end() +filetype plugin indent on + +let python_highlight_all=1 + +"Ycm +let g:ycm_add_preview_to_completeopt = 0 +let g:ycm_autoclose_preview_window_after_completion = 1 +let g:ycm_autoclose_preview_window_after_insertion = 1 + + +" Airline +let g:airline_powerline_fonts = 1 + +if !exists('g:airline_symbols') + let g:airline_symbols = {} +endif + +" unicode symbols + let g:airline_left_sep = '»' + let g:airline_left_sep = '▶' + let g:airline_right_sep = '«' + let g:airline_right_sep = '◀' + let g:airline_symbols.linenr = '␊' + let g:airline_symbols.linenr = '␤' + let g:airline_symbols.linenr = '¶' + let g:airline_symbols.branch = '⎇' + let g:airline_symbols.paste = 'ρ' + let g:airline_symbols.paste = 'Þ' + let g:airline_symbols.paste = '∥' + let g:airline_symbols.notexists = 'Ɇ' + let g:airline_symbols.whitespace = 'Ξ' + +" airline symbols + let g:airline_left_sep = '' + let g:airline_left_alt_sep = '' + let g:airline_right_sep = '' + let g:airline_right_alt_sep = '' + let g:airline_symbols.branch = '' + let g:airline_symbols.readonly = '🔒🔒🔒🔒🔒' + let g:airline_symbols.linenr = '' + +" Powerline +let g:Powerline_symbols = 'fancy' +set laststatus=2 + +syntax on +set number +set relativenumber +set mouse= +set ttymouse= +set hlsearch +set smartcase +set scrolloff=2 +set wildmenu +"set cursorline +"set ruler +:command Q q +:command W w +:command WQ wq + +" Enable folding +set foldmethod=indent +set foldlevel=99 + +" Enable folding with the spacebar +nnoremap <space> za + +" Python PEP 8 +"au BufNewFile,BufRead *.py +au Filetype python + \setlocal tabstop=4 + \setlocal softtabstop=4 + \setlocal shiftwidth=4 + \setlocal textwidth=79 + \setlocal expandtab + \setlocal autoindent + \setlocal fileformat=unix + +" Other filespecific settings +au BufNewFile,BufRead *.js, *.html, *.css + \set tabstop=2 + \set softtabstop=2 + \set shiftwidth=2 + +" Mark bad whitespace +highlight ExtraWhitespace ctermbg=red guibg=red +" Trailing whitespace +au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match ExtraWhitespace /\s\+$/ +" Show tabs that are not at the start of a line: +match ExtraWhitespace /[^\t]\zs\t\+/ + + diff --git a/Wallpapers/arch.png b/Wallpapers/arch.png Binary files differ. diff --git a/Wallpapers/arch2.jpg b/Wallpapers/arch2.jpg Binary files differ. diff --git a/Wallpapers/arch3.jpg b/Wallpapers/arch3.jpg Binary files differ. diff --git a/Wallpapers/arch4.jpg b/Wallpapers/arch4.jpg Binary files differ. diff --git a/Wallpapers/arch5.jpg b/Wallpapers/arch5.jpg Binary files differ. diff --git a/Wallpapers/brake.jpg b/Wallpapers/brake.jpg Binary files differ. diff --git a/Wallpapers/debian1.jpg b/Wallpapers/debian1.jpg Binary files differ. diff --git a/Wallpapers/debian2.png b/Wallpapers/debian2.png Binary files differ. diff --git a/Wallpapers/debian3.jpg b/Wallpapers/debian3.jpg Binary files differ. diff --git a/Wallpapers/gnu1.jpg b/Wallpapers/gnu1.jpg Binary files differ. diff --git a/Wallpapers/gnu2.png b/Wallpapers/gnu2.png Binary files differ. diff --git a/Wallpapers/kaliarch.jpg b/Wallpapers/kaliarch.jpg Binary files differ. diff --git a/Wallpapers/matrix.jpg b/Wallpapers/matrix.jpg Binary files differ.