Skip to content

Instantly share code, notes, and snippets.

@pyratin
pyratin / .vimrc
Last active May 28, 2024 12:30
.vimrc
set nocompatible
filetype off
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-obsession'
Plug 'scrooloose/nerdcommenter'
@pyratin
pyratin / .tmux.conf
Last active May 28, 2024 12:30
.tmux.conf
# Tmux settings
set -g default-terminal "xterm-256color"
# Set XTerm key bindings
setw -g xterm-keys on
# Set reload key to r
bind r source-file ~/.tmux.conf
@pyratin
pyratin / .zshrc
Last active June 24, 2023 05:55
.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"`
Session.vim
#!/bin/bash
xdotool windowactivate `xdotool search --desktop 0 --class "terminal"`
{
"coc.preferences.jumpCommand": "tabe"
}
#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;