~porcellis/dotfiles

4d201bc286a7d2aa649095ab7c4beb8059f37bf7 — Pedro Lucas Porcellis a month ago 8852c9a
Add tmux config and update urxvt config
2 files changed, 78 insertions(+), 12 deletions(-)

M home/.Xresources
A home/.tmux.conf
M home/.Xresources => home/.Xresources +35 -12
@@ 1,8 1,4 @@
URxvt*font xft:SF Mono:Regular:size=10
URxvt*boldFont xft:SF Mono:Bold:size=10
URxvt*italicFont xft:SF Mono:Italic:size=10
URxvt*boldItalicFont xft:SF Mono:BoldItalic:size=10

URxvt*font: xft:Hack:size=12:antialias=true:hinting=true,xft:IPAGothic:size=10,xft:Baekmuk Gulim:size=12,xft:Noto Color Emoji:size=10
! ------------------------------------------------------------------------------
!  Colors
! ------------------------------------------------------------------------------


@@ 51,21 47,48 @@ URxvt*boldItalicFont xft:SF Mono:BoldItalic:size=10
*color14:      base0F
*color15:      base07

URxvt.cursorBlink : 0
URxvt.cursorBlink: true

URxvt.lineSpace           : 0
URxvt.letterSpace         : -1
URxvt.letterSpace         : 0
URxvt.scrollBar           : false
URxvt.internalBorder      : 44
URxvt.internalBorder      : 10
URxvt.cursorUnderline     : false
URxvt.geometry            : 70x35
URxvt.thickness           : 5
URxvt.geometry            : 92x24
URxvt.thickness           : 1
URxvt.titleBar            : false
URxvt.intensityStyles     : false

URxvt.iso14755: false

!! Common Keybinds for Navigations
URxvt.keysym.Shift-Up: command:\033]720;1\007
URxvt.keysym.Shift-Down: command:\033]721;1\007
URxvt.keysym.Control-Up: \033[1;5A
URxvt.keysym.Control-Down: \033[1;5B
URxvt.keysym.Control-Right: \033[1;5C
URxvt.keysym.Control-Left: \033[1;5D

URxvt.keysym.Control-C: perl:clipboard:copy
URxvt.keysym.Control-Shift-C: perl:clipboard:copy
URxvt.keysym.Control-Shift-V: perl:clipboard:paste_escaped
URxvt.keysym.Control-V: perl:clipboard:paste

!! Copy Paste & Other Extensions
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
URxvt.copyCommand: xclip -i -selection clipboard
URxvt.pasteCommand: xclip -o -selection clipboard
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.urlLauncher: badwolf
URxvt.underlineURLs: true
URxvt.urlButton: 1


URxvt.perl-ext-common : default,matcher
URxvt.url-launcher    : firefox
URxvt.matcher.button  : 1

! ------------------------------------------------------------------------------

A home/.tmux.conf => home/.tmux.conf +43 -0
@@ 0,0 1,43 @@
set -g default-terminal "screen-256color"
setw -g mode-keys vi

bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."

# use vim-like keys for splits and windows
bind-key v split-window -h -c "#{pane_current_path}"
bind-key s split-window -v -c "#{pane_current_path}"
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key t swap-window -t +1
bind-key T swap-window -t -1

set-option -sg escape-time 0
set -s escape-time 0

# scrollback size

set -g history-limit 100000

# start with 1 instead of 0, works better for laptop keyboard
set -g base-index 1
set -g pane-base-index 1

bind-key C-d detach-client
bind-key C-p paste-buffer

# redraw stuff
bind r refresh-client

# allow to use mouse
#set -g mouse-utf8 on
#set -g mouse on

# swtich panes with alt
bind -n M-Left previous-window
bind -n M-Right next-window
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

#bind -t vi-copy y copy-pipe "xclip -sel clip -i"