$mod
refers to the modifier key (alt by default)
startx i3
start i3 from command line$mod+<Enter>
open a terminal$mod+d
open dmenu (text based program launcher)$mod+r
resize mode ( or to leave resize mode)$mod+shift+e
exit i3
# United States Postal Service (USPS) abbreviations. | |
abbreviations = [ | |
# https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#States. | |
"AK", "AL", "AR", "AZ", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "IA", | |
"ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", | |
"MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", | |
"OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VT", "WA", "WI", | |
"WV", "WY", | |
# https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#Federal_district. | |
"DC", |
import json | |
import requests | |
# Authentication for user filing issue (must have read/write access to | |
# repository to add issue to) | |
USERNAME = 'CHANGEME' | |
PASSWORD = 'CHANGEME' | |
# The repository to add this issue to | |
REPO_OWNER = 'CHANGEME' |
Now located at https://github.com/JeffPaine/beautiful_idiomatic_python.
Github gists don't support Pull Requests or any notifications, which made it impossible for me to maintain this (surprisingly popular) gist with fixes, respond to comments and so on. In the interest of maintaining the quality of this resource for others, I've moved it to a proper repo. Cheers!
set list
Shows invisible characters.set listchars
What invisibile characters should be set to, see :h listchars
for complete list.map
creates a key map that works in normal, visual, select and operator pending modesmap!
creates a key map that works in insert and command-line mode./disconnect
disconnect from a server/connect
connect to a server e.g. /connect irc.corp.google.com
/join #test
join the #test channel/statusbar window remove time
remove time from statusbar/statusbar window reset
reset statusbar to default/ignore -channels #chan1,#chan2 * JOINS PARTS QUITS NICKS
ignore joins, parts, etc on the listed channels/c
clear the window