{"id":322,"date":"2018-12-18T08:39:26","date_gmt":"2018-12-17T23:39:26","guid":{"rendered":"https:\/\/ahnbk.com\/?p=322"},"modified":"2020-03-24T16:40:18","modified_gmt":"2020-03-24T07:40:18","slug":"tmux","status":"publish","type":"post","link":"https:\/\/ahnbk.com\/?p=322","title":{"rendered":"tmux"},"content":{"rendered":"\n<p>tmux \ub2e4\uc6b4\ub85c\ub4dc:&nbsp;<a href=\"https:\/\/github.com\/tmux\/tmux\/wiki\">https:\/\/github.com\/tmux\/tmux\/wiki<\/a> \ud604\uc7ac \ucd5c\uc2e0\ubc84\uc804\uc740 3.0a<\/p>\n\n\n\n<p><strong>\ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo apt install libevent-dev libcurses-ocaml-dev<\/code><\/pre>\n\n\n\n<p><strong>\uc555\ucd95 \ud574\uc81c \ubc0f \ube4c\ub4dc<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ tar zxf tmux-3.0a.tar.gz\n$ cd tmux-3.0a\n$ .\/configure\n$ make -j8\n$ sudo make install<\/code><\/pre>\n\n\n\n<p><strong>tmux plugin manager \uc124\uce58<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git clone https:\/\/github.com\/tmux-plugins\/tpm ~\/.tmux\/plugins\/tpm<\/code><\/pre>\n\n\n\n<p><strong>tmux option \uc124\uc815<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ vi ~\/.tmux.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>set -g @plugin 'tmux-plugins\/tpm'\nset -g @plugin 'tmux-plugins\/tmux-sensible'\nset -g @plugin 'tmux-plugins\/tmux-yank'\n\nset -g mouse on\nset -g destroy-unattached on\nsetw -g monitor-activity on\nset -g visual-activity on\nset -g default-terminal \"screen-256color\"\nset -g history-limit 30000\n\nset -g base-index 1\nset -g pane-base-index 1\n\n# Pane splitting.\nbind \\\\ split-window -h -c \"#{pane_current_path}\"\nbind - split-window -v -c \"#{pane_current_path}\"\nbind r source-file ~\/.tmux.conf \\; display \"Reloaded ~\/.tmux.conf\"\n\nrun '~\/.tmux\/plugins\/tpm\/tpm'<\/code><\/pre>\n\n\n\n<p>\ud130\ubbf8\ub110\uc744 \uc2e4\ud589\ud560 \ub54c \uc790\ub3d9\uc73c\ub85c tmux\ub97c \uc2e4\ud589\ud558\uac8c \ud558\ub824\uba74,  Terminal > Preferences > Profiles<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"1153\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=1153\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?fit=1518%2C1222&amp;ssl=1\" data-orig-size=\"1518,1222\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-9\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?fit=1000%2C805&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?fit=525%2C423&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" width=\"525\" height=\"423\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?resize=525%2C423&#038;ssl=1\" alt=\"\" class=\"wp-image-1153\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?w=1518&amp;ssl=1 1518w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?resize=1000%2C805&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?resize=768%2C618&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-9.png?w=1050&amp;ssl=1 1050w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>\uc640 \uac19\uc774 \ucd94\uac00\ud558\uace0 \ucc3d \ub2eb\uae30.<\/p>\n\n\n\n<p>\ub2e4\uc2dc \ud130\ubbf8\ub110\uc744 \uc2e4\ud589\ud558\uba74,<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"1154\" data-permalink=\"https:\/\/ahnbk.com\/?attachment_id=1154\" data-orig-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?fit=2010%2C1290&amp;ssl=1\" data-orig-size=\"2010,1290\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-10\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?fit=1000%2C642&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?fit=525%2C337&amp;ssl=1\" decoding=\"async\" loading=\"lazy\" width=\"525\" height=\"337\" src=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?resize=525%2C337&#038;ssl=1\" alt=\"\" class=\"wp-image-1154\" srcset=\"https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?resize=2000%2C1284&amp;ssl=1 2000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?resize=1000%2C642&amp;ssl=1 1000w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?resize=768%2C493&amp;ssl=1 768w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?resize=1536%2C986&amp;ssl=1 1536w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?w=2010&amp;ssl=1 2010w, https:\/\/i0.wp.com\/ahnbk.com\/wp-content\/uploads\/2020\/03\/image-10.png?w=1050&amp;ssl=1 1050w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>\uc640 \uac19\uc774 \uc790\ub3d9\uc73c\ub85c tmux\uac00 \uc2e4\ud589\ub428.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>tmux \ub2e4\uc6b4\ub85c\ub4dc:&nbsp;https:\/\/github.com\/tmux\/tmux\/wiki \ud604\uc7ac \ucd5c\uc2e0\ubc84\uc804\uc740 3.0a \ud544\uc694\ud55c \ud328\ud0a4\uc9c0 \uc124\uce58 \uc555\ucd95 \ud574\uc81c \ubc0f \ube4c\ub4dc tmux plugin manager \uc124\uce58 tmux option \uc124\uc815 \ud130\ubbf8\ub110\uc744 \uc2e4\ud589\ud560 \ub54c \uc790\ub3d9\uc73c\ub85c tmux\ub97c \uc2e4\ud589\ud558\uac8c \ud558\ub824\uba74, Terminal > Preferences > Profiles \uc640 \uac19\uc774 \ucd94\uac00\ud558\uace0 \ucc3d \ub2eb\uae30. \ub2e4\uc2dc \ud130\ubbf8\ub110\uc744 \uc2e4\ud589\ud558\uba74, \uc640 \uac19\uc774 \uc790\ub3d9\uc73c\ub85c tmux\uac00 \uc2e4\ud589\ub428.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false},"categories":[59],"tags":[46,47],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s2wXSW-tmux","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/322"}],"collection":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322"}],"version-history":[{"count":4,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions"}],"predecessor-version":[{"id":1155,"href":"https:\/\/ahnbk.com\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions\/1155"}],"wp:attachment":[{"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahnbk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}