Tmux command8/8/2023 ![]() ![]() This is why changes to the design often result in plenty of lines in your config. You’ll want tmux to give a consistent look which is why you most likely have to change the looks of quite a lot of elements tmux displays. To change your prefix from C-b to C-a, simply add following lines to your nf:Ĭhanging the colors and design of tmux is a little more complex than what I’ve presented so far. This allows me to nicely trigger my prefix key combo. On top of the C-a binding I’ve also remapped my Caps Lock key to act as Ctrl since I’m not using Caps Lock anyways. Personally I’m using C-a instead but note that this might interfere with bash’s “go to beginning of line” command 1. Probably the most common change among tmux users is to change the prefix from the rather awkward C-b to something that’s a little more accessible. The man page ( man tmux) will tell you the exact location, just have a look at documentation for the -f parameter. The location of this directory will be different accross different operating systems. if you should feel the urge to start tmux as super user (please think about this carefully!)) you can also put your nf into a system-wide directory. If you want to share a configuration for multiple users (e.g. It’s a hidden file) tmux will pick this configuration file for your current user. ![]() If you store that file as ~/.nf ( Note: there’s a period as the first character in the file name. tmux uses a file called nf to store its configuration. Customizing tmuxĬustomizing tmux is as easy as editing a text file. Let me tell you something about the basics of customizing tmux and share some of the configurations I find most useful. Judging from the copious blog posts and dotfiles repos on GitHub there are many people out there who feel the urge to make tmux behave a little different to make it more comfortable to use.Īnd actually it’s quite easy to customize the look and feel of tmux. If you’ve followed that guide you might have had a feeling that many people have when working with tmux for the first time: “These key combinations are really awkward!”. ![]() In my previous blog post I gave a quick and easy introduction to tmux and explained how to use tmux with a basic configuration. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |