User Tools

Site Tools


apple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apple [2023/02/28 17:14] – [BSD vs. Linux commands] dblumeapple [2024/04/26 20:44] (current) – [BSD vs. Linux commands] add tmux-256color dblume
Line 21: Line 21:
       * Set Key Repeat to fastest, and Delay until Repeat to second shortest.       * Set Key Repeat to fastest, and Delay until Repeat to second shortest.
       * Some apps don't repeat anything because some keys have a character accent menu. To disable: <code>defaults write -g ApplePressAndHoldEnabled -bool false</code>       * Some apps don't repeat anything because some keys have a character accent menu. To disable: <code>defaults write -g ApplePressAndHoldEnabled -bool false</code>
-      * Microsoft Natural Ergonomic Keyboard 4000 doesn't have a current driverThat's OK.+      * 2024 Microsoft Natural Ergonomic Keyboard needs [[https://karabiner-elements.pqrs.org/|Karabiner Elements]] to make the following two swaps: 
 +        * left_option -> left_command 
 +        * application -> left_option
       * Swap the Option and Command keys.       * Swap the Option and Command keys.
     * Dock     * Dock
Line 73: Line 75:
 Log out of that console window and log back in again. Log out of that console window and log back in again.
  
 +==== tmux and "tmux-256color" ====
 +
 +We set tmux to set $TERM to "tmux" so that neovim's highlight can include italics. And we bump it to "tmux-256color" so that VisiData can make use of all its colors. (Dot plot AirPassengers.csv but don't set the month column to any format.)
 +
 +VisiData will complain it "could not find terminfo database". So we [[https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1?permalink_comment_id=4206886#gistcomment-4206886|manually use the one provided by a tmux developer]]...
 +
 +  curl -O "https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color"
 +  sudo tic -x tmux-256color
 +
 +That should install the database into /usr/share/terminfo
  
 ===== Tips ===== ===== Tips =====
apple.1677633265.txt.gz · Last modified: 2023/04/12 20:44 (external edit)