My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 397df90cd77cbbbec87261638ba3d59d2875b028
Parent: ff18bf68461d966fec0afad280cf47950425aed3
Author: mcol <mcol@posteo.net>
Date: 2025-06-16 15:38:00 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2025-06-16 15:38:00 +0100

stuff

rc.conf Modified

@@ -614,7 +614,7 @@
 map r3 shell convert %s -rotate 270 %s
 
 # drag files
-map <C-d> shell dragon-drag-and-drop -a -x %p &> /dev/null &
+map <C-d> shell dragon-drop -T -a -x %p &> /dev/null &
 #map <C-d> shell cp %s /tmp/%s && dragon-drag-and-drop -a -x /tmp/%s &> /dev/null &
 
 # filter while finding

functions.zsh Modified

@@ -30,13 +30,13 @@
     touch $1
     chmod +x $1
     echo -e "#!/usr/bin/env bash\n" > $1
-    vim +2 $1
+    nvim +2 $1
 }
 shebangpy() { # create new file, add shebang, and vim
     touch $1
     chmod +x $1
     echo -e "#!/usr/bin/env python3\n" > $1
-    vim +2 $1
+    nvim +2 $1
 }
 
 # copy file path to clipboard

aliases Modified

@@ -21,6 +21,7 @@
 alias dc=docker-compose
 alias vim=nvim
 alias fv="fzf --print0 | xargs -0 -o nvim"
+alias cat=bat
 
 if [[ -n "$WAYLAND_DISPLAY" ]]
 then
@@ -124,6 +125,7 @@
 alias psiu='python setup.py -q install --user'
 alias m=make
 alias mc='make clean'
+alias vimrc='nvim ~/.vim/pack/vim-misc/start/self/plugin/settings.vim'
 check() { pytest -xs --pdbcls pudb.debugger:Debugger $@; }
 
 # quick edits
@@ -144,7 +146,6 @@
 alias gz='cd $HOME/.zsh; l'
 alias gR='cd $HOME/reach'
 
-alias c='cargo'
-alias cw='cargo-watch -c -q -x run'
 alias cb='cargo build --'
 alias cf='cargo fmt'
+alias cf='cargo run'