As configured in my dotfiles.
start new:
tmux
start new with session name:
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
As configured in my dotfiles.
start new:
tmux
start new with session name:
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
Map | Action |
---|---|
<F1> | Causes Netrw to issue help |
<cr> | Netrw will enter the directory or read the file |
<del> | Netrw will attempt to remove the file/directory |
- | Makes Netrw go up one directory |
a | Toggles between normal display, hiding (suppress display of files matching g:netrw_list_hide) showing (display only files which match g:netrw_list_hide) |
c | Make browsing directory the current directory |
C | Setting the editing window |
d | Make a directory |
Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
Directive | Description |
---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |
import sys | |
import inspect | |
import time | |
import traceback | |
def deeper(func, depth): | |
if depth > 0: | |
return deeper(func, depth-1) | |
else: | |
return func() |
filetype indent plugin on | |
set encoding=utf-8 | |
scriptencoding utf-8 | |
if !exists('g:syntax_on') | |
syntax enable | |
endif | |
set t_Co=256 |
" Tomorrow Night Bright - Full Colour and 256 Colour | |
" http://chriskempson.com | |
" | |
" Hex colour conversion functions borrowed from the theme "Desert256"" | |
" Default GUI Colours | |
let s:foreground = "eaeaea" | |
let s:background = "000000" | |
let s:selection = "424242" | |
let s:line = "2a2a2a" |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
[sqlfluff] | |
verbose = 0 | |
nocolor = False | |
dialect = bigquery | |
templater = dbt | |
rules = None | |
exclude_rules = L034, L016, L044, L029, | |
recurse = 0 | |
output_line_length = 100 | |
runaway_limit = 10 |