mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1
Tmux-Part2
" Vim Set Up | |
" Language: vim-script | |
" Author: Junho Lee (TOT0Ro) | |
let g:vimdir = $HOME .. '/.vim' | |
" -------------------------------- Plugin ----------------------------------- | |
call plug#begin() |
#073642 08 | |
#268BD2 09 | |
#859900 10 | |
#2AA198 11 | |
#DC322F 12 | |
#D33682 13 | |
#B58900 14 | |
#FDF6E3 15 | |
#002B36 00 | |
#839496 01 |
mac 기준으로 Tmux 설치부터 기본적인 명령어를 알아가고자 한다.
Tutorial용으로 참고할만한 블로그는 아래와같다.
Tmux-Part1
Tmux-Part2
# 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 |
#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); | |
} |
// 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', |
#!/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 |
#!/bin/bash | |
# apt update | |
apt-get update | |
# basic files | |
apt-get install -y openssh-server vim python python3 tmux | |
# fzf | |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | |
~/.fzf/install |
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
umask 0022 |