Compare commits
No commits in common. "99256574ae82cd5c1a9013b92e9523f49e1b03f0" and "bfbe7c34672fa78ddb98d3e713b1591ca20e2cdd" have entirely different histories.
99256574ae
...
bfbe7c3467
@ -213,9 +213,6 @@ highlight ColorColumn ctermbg=236
|
||||
|
||||
" map
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
vnoremap S :s//g<Left><Left>
|
||||
vnoremap F <C-v>$A
|
||||
vnoremap f <C-v>0I
|
||||
nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown<CR><CR>
|
||||
map <C-d> :NERDTreeToggle<CR>
|
||||
nnoremap <silent> <C-t> :tabnew <CR>
|
||||
@ -260,10 +257,6 @@ map <Leader>, :CocAction<CR>
|
||||
map <Leader><Tab> Vgaip= <CR>
|
||||
nnoremap <leader>x :!chmod +x %<CR>
|
||||
|
||||
" Python
|
||||
autocmd BufRead,BufNewFile *.py set textwidth=0
|
||||
autocmd BufRead,BufNewFile *.py set fo-=t
|
||||
|
||||
" latex
|
||||
let g:tex_flavor = "latex"
|
||||
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!
|
||||
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,6 +1,4 @@
|
||||
.config/backup-started*
|
||||
.Xauthority
|
||||
.matplotlib
|
||||
.Trash
|
||||
.DS_Store
|
||||
.ansible
|
||||
@ -248,5 +246,4 @@ notes.org
|
||||
.config/backup.log
|
||||
.config/gh/config.yml
|
||||
.config/gh/hosts.yml
|
||||
.local/state/gh/state.yml
|
||||
.emacs.d/ido.last~
|
||||
.local/state/gh/state.yml
|
@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
MEGA_VOLUME="/Volumes/MEGA"
|
||||
ELEMENTS="/Volumes/ELEMENTS"
|
||||
MEGA="$HOME/MEGA"
|
||||
STARTED="$HOME/.config/backup-started-$(date +%d-%m)"
|
||||
|
||||
@ -12,22 +11,11 @@ function main(){
|
||||
$MEGA/Documents/Collage/Semestr2"
|
||||
rsync --bwlimit=2048 --update --progress -r \
|
||||
--exclude '*.mp4' --exclude '*.mkv'\
|
||||
--exclude '.debris' \
|
||||
"$HOME/Documents/Collage/Semestr2/"\
|
||||
"$MEGA/Documents/Collage/Semestr2/"
|
||||
echo -e "[LOG] $(date) Ended $HOME/Documents/Collage/Semestr2 ->\
|
||||
$MEGA/Documents/Collage/"
|
||||
|
||||
echo -e "[LOG] $(date) Started $HOME/Documents/Collage/Semestr2 ->\
|
||||
$ELEMENTS/Collage/Semestr2"
|
||||
rsync --bwlimit=2048 --update --progress -r \
|
||||
--exclude '*.mp4' --exclude '*.mkv'\
|
||||
--exclude '.debris' \
|
||||
"$HOME/Documents/Collage/Semestr2/"\
|
||||
"$ELEMENTS/Collage/Semestr2/"
|
||||
echo -e "[LOG] $(date) Ended $HOME/Documents/Collage/Semestr2 ->\
|
||||
$ELEMENTS/Documents/Collage/"
|
||||
|
||||
touch "$STARTED" && echo -e "[LOG] $(date) Created the file $STARTED"
|
||||
|
||||
echo -e "[LOG] $(date) Started $HOME/.ssh/ -> $MEGA/ssh"
|
||||
@ -42,7 +30,6 @@ $ELEMENTS/Documents/Collage/"
|
||||
then
|
||||
echo -e "[LOG] $(date) Started $MEGA -> $MEGA_VOLUME"
|
||||
rsync --bwlimit=2048 --update --progress -r --exclude '.DS_Store' \
|
||||
--exclude '.debris' \
|
||||
--exclude 'Icon*' \
|
||||
"$MEGA/" "$MEGA_VOLUME/"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user