cleanup
This commit is contained in:
@@ -1 +0,0 @@
|
||||
**/.claude/settings.local.json
|
||||
40
irbrc
40
irbrc
@@ -1,40 +0,0 @@
|
||||
#$LOAD_PATH << File.expand_path('~/.ruby')
|
||||
|
||||
# Make gems available
|
||||
require 'rubygems'
|
||||
require 'irb/completion'
|
||||
|
||||
# Save history
|
||||
IRB.conf[:SAVE_HISTORY] = 1500
|
||||
IRB.conf[:HISTORY_FILE] = File.expand_path('~/.irb_history')
|
||||
|
||||
# Automatic Indentation
|
||||
IRB.conf[:AUTO_INDENT] = true
|
||||
|
||||
# Load the readline module.
|
||||
IRB.conf[:USE_READLINE] = true
|
||||
|
||||
# Remove the annoying irb(main):001:0 and replace with >>
|
||||
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
||||
|
||||
begin
|
||||
require 'interactive_editor'
|
||||
rescue LoadError => err
|
||||
warn "Couldn't load interactive_editor: #{err}"
|
||||
end
|
||||
|
||||
begin
|
||||
require 'awesome_print'
|
||||
AwesomePrint.irb!
|
||||
rescue LoadError => err
|
||||
warn "Couldn't load awesome_print: #{err}"
|
||||
end
|
||||
|
||||
script_console_running = ENV.include?('RAILS_ENV') && IRB.conf[:LOAD_MODULES] && IRB.conf[:LOAD_MODULES].include?('console_with_helpers')
|
||||
rails_running = ENV.include?('RAILS_ENV') && !(IRB.conf[:LOAD_MODULES] && IRB.conf[:LOAD_MODULES].include?('console_with_helpers'))
|
||||
irb_standalone_running = !script_console_running && !rails_running
|
||||
|
||||
if script_console_running
|
||||
require 'logger'
|
||||
Object.const_set(:RAILS_DEFAULT_LOGGER, Logger.new(STDOUT))
|
||||
end
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
Style/FrozenStringLiteralComment:
|
||||
Enabled: false
|
||||
|
||||
Layout/LineLength:
|
||||
Max: 120
|
||||
@@ -1,83 +0,0 @@
|
||||
# use vi mode
|
||||
set -g mode-keys vi
|
||||
|
||||
# remap tmux
|
||||
set -g prefix C-a
|
||||
unbind C-b
|
||||
bind C-a send-prefix
|
||||
|
||||
# sane scrolling
|
||||
setw -g mouse on
|
||||
bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
|
||||
bind -n WheelDownPane select-pane -t= \; send-keys -M
|
||||
|
||||
#setting the delay between prefix and command
|
||||
set -sg escape-time 1
|
||||
|
||||
# start window index of 1 instead of 0
|
||||
set-option -g base-index 1
|
||||
|
||||
# Start panes at 1 instead of 0. tmux 1.6 only
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# Status line left side
|
||||
set -g status-left-length 40
|
||||
set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
|
||||
|
||||
# Status line right side
|
||||
# 28 Nov 18:15
|
||||
set -g status-right '#[fg=blue]%d %b %R'
|
||||
|
||||
# Update the status bar every sixty seconds
|
||||
set -g status-interval 30
|
||||
|
||||
# Center the window list
|
||||
set -g status-justify centre
|
||||
|
||||
# default statusbar colors
|
||||
set -g status-fg white
|
||||
set -g status-bg default
|
||||
set -g status-attr bright
|
||||
|
||||
# default window title colors
|
||||
set-window-option -g window-status-fg white
|
||||
set-window-option -g window-status-bg default
|
||||
set-window-option -g window-status-attr dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg white
|
||||
set-window-option -g window-status-current-bg default
|
||||
set-window-option -g window-status-current-attr bright
|
||||
|
||||
# reload config
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
|
||||
# auto window rename
|
||||
set-window-option -g automatic-rename
|
||||
|
||||
# enable activity alerts
|
||||
setw -g monitor-activity on
|
||||
set -g visual-activity on
|
||||
|
||||
# splitting panes
|
||||
bind _ split-window -h
|
||||
bind - split-window -v
|
||||
|
||||
# set correct term
|
||||
set -g default-terminal xterm
|
||||
|
||||
# easily toggle synchronization (mnemonic: e is for echo)
|
||||
bind e setw synchronize-panes on
|
||||
bind E setw synchronize-panes off
|
||||
|
||||
# moving between panes
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Pane resizing
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
Reference in New Issue
Block a user