Skip to content

Instantly share code, notes, and snippets.

@pyratin
pyratin / .vimrc
Last active June 28, 2025 12:22
.vimrc
set nocompatible
filetype off
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-obsession'
Plug 'scrooloose/nerdcommenter'
@pyratin
pyratin / .tmux.conf
Last active June 28, 2025 12:36
.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 June 28, 2025 12:37
.zshrc
setopt nosharehistory
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_FIND_NO_DUPS
setopt HIST_SAVE_NO_DUPS
setopt HIST_REDUCE_BLANKS
export EDITOR=nvim
#!/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
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "terminal"`
{
"coc.preferences.jumpCommand": "tabe",
"eslint.alwaysShowStatus": true
}
#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"]