dotfiles
scripts
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
I wrote a script to get rid of terrible keybindings
Features: Changing keyboard brightness Changing screen brightness Going to a workspace Moving window to a workspace Changing volume Disabling touchpad(Need an extra script): https://github.com/zim0369/dotfiles/blob/main/scripts/toggle_touchpad toggle picom
-
It only took me a day to port from vimscript to lua. It's worth it.
Just comparing these two files: 1, 2 makes it obvious how much boilerplate it involves to migrate to lua. With the speed-up being unnoticeable without benchmarking, this migration from one perfectly fine config to another looks like a game, where the player is not interested in the result, but rather in the process itself.
-
HOP.NVIM doesn't have it's own highlighting, instead inherits the color of the text underneath, rendering the markers indistinguishable. How do I resolved this issue(pure lua config)?
HERE IS MY CONFIG
-
Suggest me convenient shortcuts that don't mess up with vim defaults.
Here it is.
-
History isn't smooth
If I write a few lines in vim and undo while writing then vim would erase most of the lines, making undo useless. It also happens when using Ctrl+o. The cursor jumps back in time to a very very very old position. I want history to be smooth just like it was in default vim but I don't know what line in my vimrc could be causing this.
-
Is vim slow with large files and syntax on?
The problems I face with neovim are running code. And also running code which takes input. Neovim just emits ansi escape codes or if a program needs any input then it'd panic the program. Specifically in my vimrc https://github.com/zim0369/dotfiles/blob/main/rcs/vimrc If you take a look at the last block of code written in vimscript which helps me run any program without having to leave vim, doesn't work well with neovim. If you can help me make it work smoothly with neovim then it'd be great.
- Is slow scroll ever going to be fixed?
-
Unable to quickly switch from insert to normal mode.
Here is my vimrc. It's kinda neat. Please take a look and lemme know what I'm doing wrong. Thanks in advance.
- zim0369/dotfiles: my configs
-
Dumping Tmux
I personally don't like tmux though I have a really good tmux config https://github.com/zim0369/dotfiles
scripts
-
What's in your crontab?
The weather one is pretty straightforward: it pulls weather info from openweathermap.org. But please make sure to create and use your own API key.
-
Simple shell script for copying passwords from keepassxc database to clipboard.
Here's my script for typing or copying a password and/or username from a pass password store: passmenu2. It's called passmenu2 because it's based on the passmenu script that ships with pass, extended to support usernames. It expects password files whose first two lines have the following form:
-
I would love a notification when my battery is critically low
You can check out my battery-warn script. I use acpi because it's easy, and xmessage for notification.
-
I wrote a script to get rid of terrible keybindings
Also, if you use dmenu (or rofi), it's easy to create little scripts to adjust the volume, change the brightness, and so on. Here's an example of mine: volmenu.
-
Rsync based backup!
I wrote an rsync script called bkup-home that backs up my home directory (excluding files from an exclude list) to a mounted external drive. Pretty simple. Been using it for many years, and don't need anything fancier.
What are some alternatives?
tasks.vim - Async jobs and tasks
hosts-update-timer - systemd timer that updates /etc/hosts using the StevenBlack hosts repository
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
git-credential-keepassxc - Helper that allows Git (and shell scripts) to use KeePassXC as credential store
dotfiles
onchange - CLI utility to automatically run commands on file change
suckless.tags - Script to go to a tag and move master window to a tag with ease.
gnome-shell-extensions-sync - Syncs gnome shell keybindings, tweaks settings and extensions with their configuration across all gnome installations
vim-pencil - Rethinking Vim as a tool for writing
polybar-scripts - This is a community project. We write and collect scripts for polybar!
FastFold - Speed up Vim by updating folds only when called-for.
pass-import - A pass extension for importing data from most existing password managers