This list gives all standard widgets (including those with and without default keybindings), a short summary, and the default key(s) for each, as found in Zsh 5.9 (emacs and vi modes).
Where available, the equivalent Bash Readline function and default keybinding are shown asCtrl-X(Bash Readline).
Widgets with no default keybinding are listed without a key.
Third-party/community/user widgets (e.g. fzf, npm, z4h, bash*) are also listed when requested, but are not present in default zsh.
- accept-and-hold
Ruby has recently merged namespaces as an experimental feature that is disabled by default, as of this writing.
This is a non-trivial development driven by @matz himself, and mainly implemented by @tagomoris, who just became a Ruby committer (🎉).
The feature has been cooking for a long time, with a first ticket opened a couple of years ago (#19744) and a revised one opened just last week (#21311).
| #!/usr/bin/env python3 | |
| # castanet.py: Script to connect a chromecast to a WiFi network. | |
| # | |
| # Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
| # without using the Google Home app at all, just using a normal computer. | |
| # | |
| # You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
| # network with your PC, and you also need to find out its IP yourself with e.g. | |
| # Wireshark. | |
| # |
| import bpy | |
| import math | |
| import numpy as np | |
| import nibabel as nib | |
| import matplotlib.pyplot as plt | |
| from Connectome_Spatial_Smoothing import CSS as css | |
| from cerebro import cerebro_brain_utils as cbu | |
| from cerebro import cerebro_brain_viewer as cbv |
| " Save in ~/.vim/ftplugin/markdown_open_link.vim | |
| nnoremap <buffer> gx :call <SID>OpenLink()<cr> | |
| function! s:OpenLink() | |
| let saved_view = winsaveview() | |
| defer winrestview(saved_view) | |
| let syntax_under_cursor = synIDattr(synID(line("."), col("."), 0), "name") | |
| let url = '' |
| " Save as ~/.vim/plugin/pophelp.vim | |
| let s:popup = 0 | |
| command! -range=0 -nargs=* -complete=help | |
| \ Pophelp call s:Open(<q-args>, <count>) | |
| command! Popclose call s:Close() | |
| function! s:Open(topic, count) abort | |
| if a:topic == '' |
| " Save as ~/.vim/ftplugin/netrw_icons.vim | |
| if exists('b:netrw_icons_loaded') | |
| finish | |
| endif | |
| let b:netrw_icons_loaded = 1 | |
| autocmd TextChanged <buffer> call s:NetrwAddIcons() | |
| if empty(prop_type_get('netrw_file_icon', {'bufnr': bufnr('%')})) |
- Install
msys2(because we needmingw64,gccandlibws2_32.a) - Open
msys2ormingw64and runpacman -S mingw64/mingw-w64-x86_64-mruby - Get MRuby and extract the folder
- Run
makeinside the foldermruby-3.3.0, there will be a new folder called/buildafter the compilation, we need the file at/build/host/lib/libmruby.a - Compile using the following command
gcc main.c -I"mruby-3.3.0/include" "mruby-3.3.0/build/host/lib/libmruby.a" "C:\msys64\mingw64\lib\libws2_32.a" -lm -o mainor substitue"C:\msys64\mingw64\lib\libws2_32.a"with-lws2_32 - Run the compiled binary
main.exe