Skip to content

Instantly share code, notes, and snippets.

View prime-hacker's full-sized avatar
🎯
Focusing

prime-hacker

🎯
Focusing
  • 03:54 (UTC +03:00)
View GitHub Profile
@prime-hacker
prime-hacker / tmux_vim_cheatsheet-v4.txt
Created May 16, 2026 19:23
TMUX and VIM Cheatsheet
===============================================================================
TMUX & VIM CONFIGURATION CHEATSHEET
===============================================================================
-------------------------------------------------------------------------------
1. TMUX CHEATSHEET
-------------------------------------------------------------------------------
Your configured Prefix is: Ctrl + a
You must press this combination first before hitting any of the command keys below
(unless explicitly marked as [No Prefix]).
" ===============================================================================
" MAC-ADAPTED & CLEANED VIMRC CONFIGURATION
" ===============================================================================
" NEEDED FOR THIS FILE TO WORK IN MACOS:
" 1. Install dependencies: brew install fzf node
" 2. Install vim-plug: curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" 3. Run :PlugInstall within Vim
" ==========================================
# NEEDED FOR THIS TO RUN PROPERLY IN MACOS:
# 1. Install Homebrew tools: brew install tmux-mem-cpu-load
# 2. TMUX Plugin Manager (https://github.com/tmux-plugins/tpm)
# 3. Type (your prefix + I) to install the plugins
set-option -g prefix C-a
# Command Sequence for Nested Tmux Sessions
bind-key a send-prefix
# Set the base index for windows to 1 instead of 0
@prime-hacker
prime-hacker / .linux-vimrc
Last active May 16, 2026 15:49
My Vim settings
" ===============================================================================
" LINUX-ADAPTED & CLEANED VIMRC CONFIGURATION
" ===============================================================================
" NEEDED FOR THIS FILE TO WORK IN LINUX:
" 1. Install dependencies: sudo apt install fzf nodejs npm
" 2. Install vim-plug: curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
" 3. Run :PlugInstall within Vim
" ==========================================
# NEEDED FOR THIS TO RUN PROPERLY IN LINUX:
# 1. Install system utilities: sudo apt install xclip tmux-mem-cpu-load
# 2. TMUX Plugin Manager (https://github.com/tmux-plugins/tpm)
# 3. Type (your prefix + I) to install the plugins
set-option -g prefix C-a
# Command Sequence for Nested Tmux Sessions
bind-key a send-prefix
# Set the base index for windows to 1 instead of 0