fish-shell/share/completions/commandline.fish
axel 91c745e4b5 Add the possibility to set the cursor position using the commandline builtin
darcs-hash:20061004213948-ac50b-3f673edeb01390bb3f280812d90bc8469f2f8ba8.gz
2006-10-05 07:39:48 +10:00

15 lines
951 B
Fish

complete -c commandline -s a -l append -d (N_ "Add text to the end of the selected area")
complete -c commandline -s i -l insert -d (N_ "Add text at cursor")
complete -c commandline -s r -l replace -d (N_ "Replace selected part")
complete -c commandline -s j -l current-job -d (N_ "Select job under cursor")
complete -c commandline -s p -l current-process -d (N_ "Select process under cursor")
complete -c commandline -s t -l current-token -d (N_ "Select token under cursor")
complete -c commandline -s b -l current-buffer -d (N_ "Select entire command line (default)")
complete -c commandline -s c -l cut-at-cursor -d (N_ "Only return that part of the command line before the cursor")
complete -c commandline -s f -l function -d (N_ "Inject readline functions to reader")
complete -c commandline -s I -l input -d (N_ "Specify command to operate on")
complete -c commandline -s C -l cursor -d (N_ "Set/get cursor position, not buffer contents")