function! <sid>CCR()
if getcmdtype() isnot# ':'
return "\<CR>"
endif
let cmdline = getcmdline()
if cmdline =~# '\v^\s*(ls|files|buffers)!?\s*(\s[+\-=auhx%#]+)?$'
" like :ls but prompts for a buffer command
return "\<CR>:b"
elseif cmdline =~# '\v/(#|nu%[mber])$'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abrenúncio abrenuncio | |
absíntio absintio | |
abundância abundancia | |
abóbada abobada | |
abóbora abobora | |
acarícia acaricia | |
aciróloga acirologa | |
acirólogo acirologo | |
acróstica acrostica | |
acróstico acrostico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use utf8; | |
my (@list, @paronyms); | |
my $file = shift; | |
die "Usage: $0 LIST" unless $file; | |
open(LIST, "+<:encoding(UTF-8)", $file) or die "$0: Can't open $file $!"; | |
push(@list, $_) while <LIST>; # Read whole list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abacateiro | |
abade | |
abate | |
abafo | |
abalo | |
abano | |
aberta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.\" Automatically generated by Pandoc 1.19.2.1 | |
.\" | |
.TH "PANDOC\-CROSSREF" "1" "Octobre 2017" "" "" | |
.hy | |
.SH pandoc\-crossref | |
.PP | |
pandoc\-crossref is a pandoc filter for numbering figures, equations, | |
tables and cross\-references to them. | |
.PP | |
Input file (like |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% PANDOC-CROSSREF(1) | |
% Nikolay Yakimov | |
% October 2017 | |
# pandoc-crossref | |
pandoc-crossref is a pandoc filter for numbering figures, equations, tables and cross-references to them. | |
Input file (like [demo.md][demo-md]) can be converted into [html][html], [latex][latex], [pdf][pdf], [md][md] or other formats. |
Bind this shell script to a hotkey. On hitting the hotkey, you can fuzzy search a password among those managed by the command-line tool https://www.passwordstore.org/. On selecting one of them, it is pasted at the current cursor position.
This script depends on "rofi", "dmenu", "zenity", "xsel" and "xdotool" which most linux distros offer as install packages.
To bind this shell script to a hotkey, say Meta+P
:
- Paste the below shell-script code into a file, say
~/bin/passy
, make it executable.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# From | |
# Based on: | |
# https://github.com/BarbUk/dotfiles/blob/master/bin/snippy | |
# https://git.zx2c4.com/password-store/tree/contrib/dmenu/passmenu | |
DIR=${HOME}/.snippy | |
MENU_ENGINE="rofi" | |
DMENU_ARGS='-dmenu -i -sort -lines 25' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.TH peco 1 "2018-11-17" "0.5.3" "https://github.com/peco/peco/" | |
.hy | |
.SH peco | |
.PP | |
Simplistic interactive filtering tool | |
.PP | |
\f[I]NOTE\f[R]: If you are viewing this on Github, this document refers | |
to the state of \f[C]peco\f[R] in whatever current branch you are | |
viewing, \f[I]not\f[R] necessarily the state of a currently released | |
version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[parameter(Position=0,Mandatory=$false)][string]$PSReadlineChordProvider = 'Ctrl+t', | |
[parameter(Position=1,Mandatory=$false)][string]$PSReadlineChordReverseHistory = 'Ctrl+r', | |
[parameter(Position=1,Mandatory=$false)][string]$PSReadlineChordSetLocation = 'Alt+c', | |
[parameter(Position=1,Mandatory=$false)][string]$PSReadlineChordReverseHistoryArgs = 'Alt+a') | |
function Invoke-FuzzyEdit() { | |
param($Directory=$null) | |
$files = @() |
OlderNewer