Compare commits

..

3 commits

Author SHA1 Message Date
Leon Grünewald
bac35f5254 Remove alerts from ntfy 2024-03-07 13:53:00 +01:00
Leon Grünewald
c4d46e4cf8 Add vimrc to shell 2024-03-07 13:53:00 +01:00
Leon Grünewald
140083567d Fix docker compose shortcuts 2024-03-07 13:53:00 +01:00
3 changed files with 55 additions and 11 deletions

View file

@ -52,11 +52,11 @@ subscribe:
command: 'notify-send "$t" "$m"' command: 'notify-send "$t" "$m"'
- topic: 'leon-services' - topic: 'leon-services'
command: 'notify-send "$t" "$m"' command: 'notify-send "$t" "$m"'
- topic: 'bonmercato-alerts' # - topic: 'bonmercato-alerts'
command: 'notify-send "$t" "$m"' # command: 'notify-send "$t" "$m"'
user: bonmercato # user: bonmercato
password: bonmercato # password: bonmercato
- topic: 'bonmercato-imports' # - topic: 'bonmercato-imports'
command: 'notify-send "$t" "$m"' # command: 'notify-send "$t" "$m"'
user: bonmercato # user: bonmercato
password: bonmercato # password: bonmercato

View file

@ -2,9 +2,9 @@ export BROWSER="firefox"
export EDITOR="vim" export EDITOR="vim"
alias gitroot='cd $(git rev-parse --show-toplevel)' alias gitroot='cd $(git rev-parse --show-toplevel)'
alias dc-up="docker-compose up" alias dc-up="docker compose up"
alias dc-upd="docker-compose up -d" alias dc-upd="docker compose up -d"
alias dc-down="docker-compose down" alias dc-down="docker compose down"
alias kubectl="minikube kubectl --" alias kubectl="minikube kubectl --"
# abbr cd $(find ~/workspace -mindepth 1 -maxdepth 1 -type d | sed "s|$HOME|~|g" | fzf) # abbr cd $(find ~/workspace -mindepth 1 -maxdepth 1 -type d | sed "s|$HOME|~|g" | fzf)
alias ws="cd ~/workspace/\$(ls ~/workspace | fzf)" alias ws="cd ~/workspace/\$(ls ~/workspace | fzf)"

44
shell/.vimrc Normal file
View file

@ -0,0 +1,44 @@
" Leader key
nnoremap <SPACE> <Nop>
let mapleader=' '
call plug#begin('~/.vim/plugged')
Plug 'ghifarit53/tokyonight-vim'
Plug 'justinmk/vim-sneak'
Plug 'mattn/emmet-vim'
Plug 'mipmip/vim-fluid'
Plug 'puremourning/vimspector'
call plug#end()
"" Vim Config
" Set completeopt to have a better completion experience
set completeopt=menuone,noinsert,noselect
" Avoid showing message extra message when using completion
set shortmess+=c
" Add clipboard support
set clipboard^=unnamed,unnamedplus
" Intendation
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
" UTF-8
set encoding=utf-8
set fileencodings=utf-8
set fileformats=unix,dos,mac
" Enable term color
set tgc
let g:tokyonight_style = 'night' " available: night, storm
let g:tokyonight_enable_italic = 0
colorscheme tokyonight
com! FormatXML :%!python3 -c "import xml.dom.minidom, sys; print(xml.dom.minidom.parse(sys.stdin).toprettyxml())"
nnoremap = :FormatXML<Cr>