pprint $edit:insert:binding
- print keyboard shortcuts
Hit arrow up, tab/shift+tab,Esc, Enter
Alt+,
- explode last command to pick args
Ctrl+N
- navigation mode
#! /usr/bin/env nix-shell | |
#! nix-shell --pure -i python -p "python38.withPackages (ps: [ ps.django ])" | |
#! nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/82b5f87fcc710a99c47c5ffe441589807a8202af.tar.gz | |
import django | |
print(django) |
All lines bleow should start with tmux
ls # list-sessions
new -s "bee" #new-session
function fish_prompt --description 'Write out the prompt' | |
set -l color_cwd | |
set -l suffix | |
switch "$USER" | |
case root toor | |
if set -q fish_color_cwd_root | |
set color_cwd $fish_color_cwd_root | |
else | |
set color_cwd $fish_color_cwd | |
end |
{ | |
"workbench.iconTheme": "vscode-icons", | |
"editor.wordWrap": "on", | |
"editor.minimap.enabled": true, | |
"zenMode.hideTabs": false, | |
"zenMode.hideStatusBar": false, | |
"extensions.autoUpdate": true, | |
"telemetry.enableTelemetry": false, | |
"vim.hlsearch": true, | |
"vim.statusBarColorControl": true |
# Panda | |
# Go to https://code.pyret.org/ to see the result | |
# More about Pyret programming language: | |
# https://www.pyret.org/ | |
include image | |
background = empty-scene(200, 200) | |
ear = circle(12, "solid", "black") |
" Basic config | |
set autoread " Automatically reload modified buffer | |
set autowriteall " Automatically write files when some commands occur | |
set backupcopy=yes " Fix Hot Module Reloading for parcel js | |
set colorcolumn=80 " Colour column 80 | |
set cursorcolumn " Highlight the column currently under cursor | |
set cursorline " Highlight the line currently under cursor | |
set expandtab " Use spaces instead of tabs | |
set foldlevel=20 " Folds with a higher level will be closed | |
set foldmethod=indent |