mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1
Tmux-Part2
| #!/bin/bash | |
| # Tmux 설정 | |
| if ! [ -e "~/.tmux.conf" ]; then | |
| curl "https://gist.githubusercontent.com/TOT0RoKR/f1bfaaaa88716fd5e491f17f3038998f/raw/78b00228e0df94bb8ff02c17325d46b62883b94a/.tmux.conf" > ~/.tmux.conf | |
| fi | |
| # fzf 설치 | |
| if ! [ -e "~/.fzf/" ]; then | |
| git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // choose either `'stable'` for receiving highly polished, | |
| // or `'canary'` for less polished but more frequent updates | |
| updateChannel: 'stable', |
| #include <stdio.h> | |
| void file_open(FILE** fp) | |
| { | |
| char str[1024]; | |
| *fp || (((*fp = fopen("test.txt", "w"), fprintf(*fp, "hello!\n")), fclose(*fp)), *fp = fopen("test.txt", "r")); | |
| fscanf(*fp, "%s", str); | |
| printf("%s", str); | |
| } |
| # set -g mouse on | |
| # mouse scroll | |
| set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
| # 256 color | |
| set -g default-terminal "screen-256color" | |
| setw -g mode-keys vi |
mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1
Tmux-Part2
| #073642 08 | |
| #268BD2 09 | |
| #859900 10 | |
| #2AA198 11 | |
| #DC322F 12 | |
| #D33682 13 | |
| #B58900 14 | |
| #FDF6E3 15 | |
| #002B36 00 | |
| #839496 01 |
| " Vim Set Up | |
| " Language: vim-script | |
| " Author: Junho Lee (TOT0Ro) | |
| let g:vimdir = $HOME .. '/.vim' | |
| if has('nvim') | |
| let g:local_data_dir = $HOME .. '/.local/share/nvim' | |
| else | |
| let g:local_data_dir = $HOME .. '/.vim/local' | |
| endif |