first push

This commit is contained in:
Marco Thomas
2019-10-31 10:26:11 +01:00
commit 6448ba1959
6 changed files with 122 additions and 0 deletions

18
dotfiles/bashrc Executable file
View File

@@ -0,0 +1,18 @@
# bashrc from Marc
export PS1="\[\033[0;37m\][\t] \[\033[0;32m\]\u\[\033[m\]@\h: \[\033[1;34m\]\w\[\033[m\] \n> "
LS_COLORS=$LS_COLORS:'di=1;32:'
export LS_COLORS
alias lizenz='cat /home/mfriedl/LIZENZ'
alias dotdrop='/home/mthomas/dotfiles/dotdrop.sh --cfg=/home/mthomas/dotfiles/config.yaml'
# export {http,ftp,https}_proxy=http://tst-proxy.genua.de:8888
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

47
dotfiles/vimrc Normal file
View File

@@ -0,0 +1,47 @@
set noswapfile
syntax on
colorscheme onedark
filetype indent plugin on
set tabstop=4 "Number of visual spaces per TAB
set softtabstop=4 "Number of spaces in tab when editing
set shiftwidth=4 "How many columns text is indented
set noexpandtab "Tab ARE NOT spaces
set smartindent "Indent source code
set incsearch
set ignorecase
set smartcase
set hlsearch
nnoremap<leader><space> :nohlsearch<CR>
cmap Wq wq
cmap Q q
cmap W w
cmap q1 q!
set list
hi SpecialKey ctermbg=White
set listchars=tab:\ \ ,trail:\
set number
:highlight LineNr ctermfg=white
set mat=5 "blink when matching found
set confirm
set showmode
set showmatch
set colorcolumn=80
if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
endif
set mouse=a
set mouse=c
au BufNewFile,BufRead *.itex set filetype=tex