dotfiles

andersuno
git clone git://git.andersuno.nu/dotfiles.git
Log | Files | Refs | README

commit 593c62a5ee27ae8b3f6fdde4916b4d7ec7e883ed
parent 376d2ee016baffd0cc6917b96ce429cd74b02142
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.bashrc | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
16 files changed, 174 insertions(+), 0 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -0,0 +1,64 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +#Foreground colors, Normal (non-bold) is the default, so the 0; prefix is optional. +# +#\e[0;30m = Dark Gray +#\e[1;30m = Bold Dark Gray +#\e[0;31m = Red +#\e[1;31m = Bold Red +#\e[0;32m = Green +#\e[1;32m = Bold Green +#\e[0;33m = Yellow +#\e[1;33m = Bold Yellow +#\e[0;34m = Blue +#\e[1;34m = Bold Blue +#\e[0;35m = Purple +#\e[1;35m = Bold Purple +#\e[0;36m = Turquoise +#\e[1;36m = Bold Turquoise +#\e[0;37m = Light Gray +#\e[1;37m = Bold Light Gray +# +#Background colors: +# +#\e[40m = Dark Gray +#\e[41m = Red +#\e[42m = Green +#\e[43m = Yellow +#\e[44m = Blue +#\e[45m = Purple +#\e[46m = Turquoise +#\e[47m = Light Gray + +set -o vi + +PATH=$PATH:/usr/sbin +PATH=$PATH:/home/anders/.vim/bundle +PATH=$PATH:/usr/lib + +#Exports +#export PS1='┌──[\u@\h]─[\w]\n└──╼ \$ ' +#export PS1='\[\033[0;32m\]\u\[\033[1;33m\]@\[\033[0;31m\]\h\[\033[0m\]:\[\033[0;34m\]\w\[\033[0m\]\$ ' + +export PS1="\[\e[1;32m\]┌──[\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\n\[\e[1;32m\]└──╼ \$\[\e[0;0m\] " +#export PS1="\[\e[1;32m\][\[\e[0;36m\]\u\[\e[0;32m\]@\[\e[0;31m\]\h\[\e[1;32m\]]─[\[\e[0;34m\]\w\[\e[1;32m\]]\$\[\e[0;0m\] " + +export RANGER_LOAD_DEFAULT_RC=FALSE +export EDITOR="vim" +export SUDO_EDITOR="vim" +export VISUAL="vim" +export XDG_CONFIG_HOME=$HOME/.config + +~/Scripts/pfetch 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.