Skip to content

Instantly share code, notes, and snippets.

@pyratin
pyratin / .vimrc
Last active September 13, 2025 06:21
.vimrc
set nocompatible
filetype off
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-obsession'
Plug 'scrooloose/nerdcommenter'
@pyratin
pyratin / .tmux.conf
Last active October 2, 2025 02:47
.tmux.conf
# Tmux settings
# Set XTerm key bindings
setw -g xterm-keys on
# Count sessions start at 1
set -g base-index 1
# Use vim bindings
setw -g mode-keys vi
@pyratin
pyratin / .zshrc
Last active October 26, 2025 05:52
.zshrc
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
fast-syntax-highlighting
zsh-autocomplete
)
setopt nosharehistory
#!/bin/bash
[ $(xfconf-query -c accessibility -p /MouseKeys) == "false" ] \
&& $(xfconf-query -c accessibility -p /MouseKeys -s true) \
|| $(xfconf-query -c accessibility -p /MouseKeys -s false)
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "chromium"`
@pyratin
pyratin / .config-git-ignore
Last active June 22, 2025 03:47
.config/git/ignore
Session.vim
@pyratin
pyratin / .terminal.sh
Last active September 13, 2025 06:18
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "alacritty"`
{
"coc.preferences.jumpCommand": "tabe",
"eslint.alwaysShowStatus": true,
"diagnostic.errorSign": "󰅚 ",
"diagnostic.warningSign": "󰀪 ",
"diagnostic.infoSign": "󰋽 ",
"diagnostic.hintSign": "󰌶 ",
"suggest.completionItemKindLabels": {
"text": "󰉿",
"method": "󰆧",
#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker {
padding: 3px 4px;
background: #444;
border: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#vimiumHintMarkerContainer div span {
color: #fff;
text-shadow: none;
@pyratin
pyratin / .gitconfig
Last active April 3, 2025 04:09
.gitconfig
[user]
name = shivapand
email = [email protected]
[core]
editor = nvim
[difftool]
prompt = true
[diff]
tool = nvimdiff
[difftool "nvimdiff"]