Initial commit: tmux, kitty, nvim, fish configs managed by GNU Stow
This commit is contained in:
315
kitty/.config/kitty.conf
Normal file
315
kitty/.config/kitty.conf
Normal file
@@ -0,0 +1,315 @@
|
||||
# kitty 터미널 설정 파일
|
||||
# 작성 일시: 2025-08-17
|
||||
|
||||
# ========================================
|
||||
# 폰트 설정
|
||||
# ========================================
|
||||
|
||||
# 기본 폰트 크기 (17pt로 설정 - 적당한 크기)
|
||||
font_size 17.0
|
||||
|
||||
# 폰트 패밀리 (Fira Code Nerd Font)
|
||||
font_family FiraCode Nerd Font Light
|
||||
bold_font FiraCode Nerd Font Regular
|
||||
italic_font FiraCode Nerd Font Light Italic
|
||||
bold_italic_font FiraCode Nerd Font Italic
|
||||
|
||||
# Nerd Font 아이콘 최적화
|
||||
narrow_symbols U+E0A0-U+E0A2,U+E0B0-U+E0B3
|
||||
symbol_map U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0C8,U+E0CA,U+E0CC-U+E0D2,U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E62F,U+E700-U+E7C5,U+F000-U+F2E0,U+F300-U+F31C,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 FiraCode Nerd Font
|
||||
|
||||
# 한글 폰트 최적화 설정
|
||||
# 한글도 Fira Code로 통일 (영문과 일관성)
|
||||
# symbol_map U+AC00-U+D7A3,U+1100-U+11FF,U+3130-U+318F,U+A960-U+A97F,U+D7B0-U+D7FF,U+302E-U+302F D2Coding
|
||||
|
||||
# 폰트 렌더링 최적화
|
||||
text_composition_strategy platform
|
||||
font_features FiraCode-Nerd-Font +liga +calt
|
||||
|
||||
# 글자 간격 및 라인 높이 최적화
|
||||
adjust_line_height 110%
|
||||
adjust_column_width 0
|
||||
modify_font underline_position 2
|
||||
modify_font underline_thickness 150%
|
||||
|
||||
# 안티앨리어싱 및 힌팅 최적화 (macOS)
|
||||
macos_thicken_font 0
|
||||
text_fg_override_threshold 0
|
||||
disable_ligatures cursor
|
||||
|
||||
# ========================================
|
||||
# 색상 및 테마 설정 - Dracula Theme
|
||||
# ========================================
|
||||
|
||||
# Dracula 테마 적용
|
||||
include dracula.conf
|
||||
|
||||
# # 이전 색상 테마 (어두운 배경에 밝은 글씨) - 백업용 주석
|
||||
# background #1e1e1e
|
||||
# foreground #d4d4d4
|
||||
# cursor #ffffff
|
||||
#
|
||||
# # 선택 영역 색상
|
||||
# selection_background #264f78
|
||||
# selection_foreground #ffffff
|
||||
#
|
||||
# # URL 링크 색상
|
||||
# url_color #569cd6
|
||||
#
|
||||
# # 터미널 색상 팔레트
|
||||
# color0 #1e1e1e
|
||||
# color1 #f44747
|
||||
# color2 #608b4e
|
||||
# color3 #dcdcaa
|
||||
# color4 #569cd6
|
||||
# color5 #c678dd
|
||||
# color6 #56b6c2
|
||||
# color7 #d4d4d4
|
||||
# color8 #808080
|
||||
# color9 #f44747
|
||||
# color10 #608b4e
|
||||
# color11 #dcdcaa
|
||||
# color12 #569cd6
|
||||
# color13 #c678dd
|
||||
# color14 #56b6c2
|
||||
# color15 #ffffff
|
||||
|
||||
# ========================================
|
||||
# 창 및 레이아웃 설정
|
||||
# ========================================
|
||||
|
||||
# 창 여백 설정
|
||||
window_padding_width 8
|
||||
|
||||
# 창 테두리 제거
|
||||
draw_minimal_borders yes
|
||||
window_border_width 0.5pt
|
||||
active_border_color #569cd6
|
||||
inactive_border_color #808080
|
||||
|
||||
# 창 크기 기억
|
||||
remember_window_size yes
|
||||
initial_window_width 100c
|
||||
initial_window_height 30c
|
||||
|
||||
# 탭바 설정
|
||||
tab_bar_edge top
|
||||
tab_bar_style powerline
|
||||
tab_powerline_style slanted
|
||||
tab_bar_margin_width 0.0
|
||||
tab_bar_margin_height 5.0 0.0
|
||||
tab_bar_min_tabs 2
|
||||
tab_switch_strategy previous
|
||||
|
||||
# 활성/비활성 탭 색상 (Dracula에서 자동 적용)
|
||||
# active_tab_foreground #000
|
||||
# active_tab_background #eee
|
||||
# inactive_tab_foreground #444
|
||||
# inactive_tab_background #999
|
||||
|
||||
# 새 창/탭에서 현재 디렉토리 유지
|
||||
map cmd+t new_tab_with_cwd
|
||||
map cmd+enter new_window_with_cwd
|
||||
|
||||
# ========================================
|
||||
# 키보드 단축키 설정
|
||||
# ========================================
|
||||
|
||||
# 폰트 크기 조절
|
||||
map cmd+equal change_font_size all +1.0
|
||||
map cmd+plus change_font_size all +1.0
|
||||
map cmd+minus change_font_size all -1.0
|
||||
map cmd+0 change_font_size all 0
|
||||
|
||||
# 투명도 조절
|
||||
map cmd+shift+equal set_background_opacity +0.1
|
||||
map cmd+shift+minus set_background_opacity -0.1
|
||||
map cmd+shift+0 set_background_opacity 0.85
|
||||
|
||||
# 창 분할
|
||||
map cmd+d new_window_with_cwd
|
||||
map cmd+shift+d split_window_right
|
||||
map cmd+shift+v split_window_down
|
||||
|
||||
# 창 간 이동
|
||||
map cmd+left previous_window
|
||||
map cmd+right next_window
|
||||
|
||||
# 탭 관리
|
||||
map cmd+1 goto_tab 1
|
||||
map cmd+2 goto_tab 2
|
||||
map cmd+3 goto_tab 3
|
||||
map cmd+4 goto_tab 4
|
||||
map cmd+5 goto_tab 5
|
||||
|
||||
# 복사/붙여넣기
|
||||
map cmd+c copy_to_clipboard
|
||||
map cmd+v paste_from_clipboard
|
||||
map cmd+shift+s paste_from_selection
|
||||
|
||||
# 빠른 검색
|
||||
map cmd+f show_scrollback
|
||||
map cmd+g scroll_to_prompt 1
|
||||
map cmd+shift+g scroll_to_prompt -1
|
||||
|
||||
# 창 관리 개선
|
||||
map cmd+w close_window
|
||||
map cmd+shift+w close_tab
|
||||
map cmd+shift+t new_tab
|
||||
map cmd+option+left previous_tab
|
||||
map cmd+option+right next_tab
|
||||
|
||||
# 전체화면
|
||||
map cmd+shift+f toggle_fullscreen
|
||||
|
||||
# 줌 인/아웃
|
||||
map cmd+shift+equal increase_font_size
|
||||
map cmd+shift+minus decrease_font_size
|
||||
map cmd+shift+backspace restore_font_size
|
||||
|
||||
# 빠른 설정 다시로드
|
||||
map cmd+shift+r load_config_file
|
||||
|
||||
# Fish shell 단축키 추가
|
||||
map cmd+shift+z scroll_to_prompt -1
|
||||
map cmd+shift+x scroll_to_prompt 1
|
||||
map cmd+shift+o show_last_command_output
|
||||
|
||||
# Fish shell 명령어 실행 결과 보기
|
||||
map cmd+ctrl+g show_scrollback
|
||||
|
||||
# ========================================
|
||||
# tmux 통합 키 매핑
|
||||
# ========================================
|
||||
|
||||
# tmux 세션 관리
|
||||
map cmd+shift+n launch --type=tab --title="New Session" fish -c "tmux new-session"
|
||||
map cmd+shift+a launch --type=tab --title="Attach Session" fish -c "tmux attach || tmux new-session"
|
||||
|
||||
# tmux 창/패널 이동 (kitty + tmux 협력)
|
||||
map cmd+shift+left send_text all \x01h
|
||||
map cmd+shift+right send_text all \x01l
|
||||
map cmd+shift+up send_text all \x01k
|
||||
map cmd+shift+down send_text all \x01j
|
||||
|
||||
# tmux 세션 선택
|
||||
map cmd+shift+s launch --type=overlay fish -c "tmux choose-session"
|
||||
|
||||
# 클립보드 히스토리 관리 (kitten 사용)
|
||||
map cmd+shift+h launch --type=overlay --title="Clipboard History" kitty +kitten clipboard
|
||||
|
||||
# 이미지 뷰어 (icat kitten)
|
||||
map cmd+shift+i launch --type=overlay --title="Image Viewer" fish -c "ls *.{png,jpg,jpeg,gif,webp} 2>/dev/null | head -10 | xargs -I {} kitty +kitten icat --align center {}"
|
||||
|
||||
# 파일 diff 뷰어 (kitten diff)
|
||||
map cmd+shift+d launch --type=overlay --title="File Diff" fish -c "read -P 'File 1: ' file1; read -P 'File 2: ' file2; kitty +kitten diff $file1 $file2"
|
||||
|
||||
# 유니코드 입력기
|
||||
map cmd+shift+u launch --type=overlay --title="Unicode Input" kitty +kitten unicode_input
|
||||
|
||||
# ========================================
|
||||
# Shell Integration 설정
|
||||
# ========================================
|
||||
|
||||
# Shell integration 활성화 (fish, zsh, bash 지원)
|
||||
shell_integration enabled
|
||||
|
||||
# 기본 셸을 fish로 설정
|
||||
shell /opt/homebrew/bin/fish
|
||||
|
||||
# 프롬프트 마킹 활성화 (명령어 구분)
|
||||
shell_integration_path /opt/homebrew/bin/fish
|
||||
|
||||
# ========================================
|
||||
# 성능 및 기타 설정
|
||||
# ========================================
|
||||
|
||||
# 스크롤백 라인 수
|
||||
scrollback_lines 10000
|
||||
|
||||
# 마우스 지원 강화
|
||||
mouse_hide_wait 3.0
|
||||
copy_on_select yes
|
||||
strip_trailing_spaces smart
|
||||
select_by_word_characters @-./_~?&=%+#
|
||||
|
||||
# 터미널 벨 비활성화
|
||||
enable_audio_bell no
|
||||
visual_bell_duration 0.0
|
||||
|
||||
# URL 및 파일 경로 인식
|
||||
detect_urls yes
|
||||
url_style curly
|
||||
open_url_with default
|
||||
|
||||
# 스크롤 최적화
|
||||
wheel_scroll_multiplier 5.0
|
||||
touch_scroll_multiplier 1.0
|
||||
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
|
||||
|
||||
# 자동 업데이트 확인
|
||||
update_check_interval 24
|
||||
|
||||
# 시작시 최적화
|
||||
startup_session none
|
||||
allow_hyperlinks yes
|
||||
|
||||
# 이모지 및 리가처 지원
|
||||
disable_ligatures never
|
||||
|
||||
# 유니코드 입력 지원 강화
|
||||
# 원격 제어는 보안상 비활성화 (필요시에만 활성화)
|
||||
# allow_remote_control yes
|
||||
# listen_on unix:/tmp/kitty
|
||||
|
||||
# 폰트 렌더링 품질 향상
|
||||
repaint_delay 10
|
||||
input_delay 3
|
||||
|
||||
# 배경 투명도 설정 (0.0 = 완전 투명, 1.0 = 완전 불투명)
|
||||
background_opacity 0.8
|
||||
|
||||
# 동적 투명도 조절 활성화
|
||||
dynamic_background_opacity yes
|
||||
|
||||
# GPU 가속 사용
|
||||
sync_to_monitor yes
|
||||
|
||||
# ========================================
|
||||
# 한국어 입력 최적화
|
||||
# ========================================
|
||||
|
||||
# IME 지원 향상
|
||||
macos_option_as_alt yes
|
||||
macos_quit_when_last_window_closed yes
|
||||
macos_colorspace srgb
|
||||
macos_hide_from_tasks no
|
||||
|
||||
# 한글 입력시 커서 깜빡임 최적화
|
||||
cursor_blink_interval 0.5
|
||||
cursor_stop_blinking_after 15.0
|
||||
|
||||
# 한글 입력 지연 최소화
|
||||
macos_traditional_fullscreen no
|
||||
hide_window_decorations titlebar-only
|
||||
|
||||
# 한글 조합 문자 처리 개선
|
||||
combine_glyphs yes
|
||||
force_ltr no
|
||||
|
||||
# ========================================
|
||||
# 추가 macOS 최적화
|
||||
# ========================================
|
||||
|
||||
# 창 제목 표시 최적화
|
||||
macos_show_window_title_in menubar
|
||||
macos_menubar_title_max_length 0
|
||||
|
||||
# 커서 최적화
|
||||
macos_custom_beam_cursor yes
|
||||
|
||||
# 창 닫기 확인 비활성화
|
||||
confirm_os_window_close 0
|
||||
|
||||
# 성능 최적화
|
||||
single_window_margin_width -1
|
||||
Reference in New Issue
Block a user