update dotfiles

This commit is contained in:
piccihud 2024-05-18 21:09:36 +02:00
parent 1ed92409b7
commit 2feb844565
4 changed files with 9 additions and 10 deletions

View File

@ -125,7 +125,7 @@ export PATH="$PATH:HOME/.local/bin:$HOME/bin:$HOME/.local/share/flatpak/exports/
# alias
alias update="sudo apt update && sudo apt upgrade ; sudo apt autoremove ; flatpak upgrade -y ; flatpak uninstall --unused -y ; pipx upgrade-all"
alias ll='eza -lh --icons'
alias ll='eza -lh --icons -g'
alias install="sudo apt install --no-install-recommends"
alias purge="sudo apt purge -y"
alias autoremove="sudo apt autoremove -y"
@ -134,7 +134,7 @@ alias autopurge="sudo apt autopurge -y"
alias search="apt search"
alias v="vim 2> /dev/null"
alias sv="sudo vim 2> /dev/null"
alias ga="git add ."
alias ga="git add"
alias push="git push -u origin master"
alias pull="git pull"
alias gs="git status"
@ -147,7 +147,6 @@ alias nn="ncdu --color dark"
alias pd="pandoc -f markdown -t pdf --pdf-engine=xelatex -V lang=it -V colorlinks=true -V linkcolor=teal -V urlcolor=teal -V toccolor=gray --template eisvogel --listings -V table-use-row-colors=true"
alias fh="feh"
alias fhm="feh -m"
alias yy="/home/dado/git/yazi/target/release/yazi"
# PS1

10
.vimrc
View File

@ -63,10 +63,10 @@ Plugin 'VundleVim/Vundle.vim'
" All of your Plugins must be added before the following line
"
" Plugin 'preservim/nerdtree'
Plugin 'jasonccox/vim-wayland-clipboard'
Plugin 'gabrielelana/vim-markdown'
Plugin 'itchyny/vim-cursorword'
Plugin 'preservim/nerdtree'
Plugin 'iamcco/markdown-preview.nvim'
Plugin 'iamcco/mathjax-support-for-mkdp'
Plugin 'alvan/vim-closetag'
@ -134,16 +134,16 @@ let g:ycm_python_binary_path='/usr/bin/python3'
" NERD-TREE ------------------------------------------------------------- {{{
"
" Start NERDTree and put the cursor back in the other window.
autocmd VimEnter * NERDTree | wincmd p"
"autocmd VimEnter * NERDTree | wincmd p"
"
" Exit Vim if NERDTree is the only window remaining in the only tab.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif"
"autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif"
"
" Close the tab if NERDTree is the only window remaining in it.
autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
"autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
"
" Open the existing NERDTree on each new tab.
autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
"autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif
" }}}

View File

@ -24,5 +24,5 @@ exec 'syncthing &'
exec 'seahorse'
exec_always 'autotiling -w 1 2 3 4 5 6 7 8 9 10'
exec 'appimagelauncherd'
exec '~/Applications/filen_x86_64.AppImage &'
# exec '~/Applications/filen_x86_64.AppImage &'
# exec 'nextcloud'

View File

@ -214,7 +214,7 @@ bindsym $mod+r mode "resize"
#
# App shortcuts
#
bindsym $mod+shift+n exec thunar
bindsym $mod+shift+n exec gnome-commander
bindsym $mod+o exec firefox
#