Skip to content

Instantly share code, notes, and snippets.

@jnaulty
jnaulty / .tmux.conf
Last active July 24, 2021 20:21 — forked from nicolasochem/.tmux.conf
The best tmux and vim configuration in the universe
# Our .tmux.conf file
# Setting the prefix from C-b to C-s
set -g prefix C-s
# enable vi keys.
setw -g mode-keys vi
# Free the original Ctrl-b prefix keybinding
unbind C-b
#setting the delay between prefix and command
set -sg escape-time 1
@tsl0922
tsl0922 / .tmux.conf
Last active April 27, 2026 17:51
vim style tmux config
# vim style tmux config
# use C-a, since it's on the home row and easier to hit than C-b
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# Easy config reload
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
@kearnh
kearnh / maps.vim
Created October 28, 2011 08:45
Custom Vim mappings
" -----------------------------------------------------------------------------
" -- Navigation
" Find start of next number
noremap <silent> <c-f> /\<\d<CR>
"noremap <silent> <c-t> ?\<\d<CR>
" open empty tab
noremap <silent> <c-t> :tabe<CR>