diff --git a/nvim/.config/nvim/ginit.vim b/nvim/.config/nvim/ginit.vim index 57fd3ca..ee6d91e 100644 --- a/nvim/.config/nvim/ginit.vim +++ b/nvim/.config/nvim/ginit.vim @@ -1,3 +1,3 @@ -GuiFont Input:h20 +GuiFont Input Mono:h20 color blackboard diff --git a/zsh/.zshrc.local b/zsh/.zshrc.local index 236830e..9009b8d 100644 --- a/zsh/.zshrc.local +++ b/zsh/.zshrc.local @@ -9,9 +9,6 @@ export EDITOR='nvim' export PAGER='less' export BROWSER='qutebrowser' -# Add dotnet tools -# export PATH="$PATH:/home/sakhmatd/.dotnet/tools" - ############################################################ ## Functions ############################################################ @@ -38,6 +35,29 @@ transfer() rm -f $tmpfile; } +# Format a file close to suckless.org guidelines +indent_suckless() +{ + indent $1 -brs \ + -nprs \ + -npcs \ + -i8 \ + -fc1 \ + -br \ + -brf \ + -saf \ + -sai \ + -saw \ + -ncs \ + -nfca \ + -il0 \ + -ce \ + -nss \ + -c0 \ + -cd0 \ + -ut \ + -o $2 +} ############################################################ ## Aliases