Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 224) sorted by relevance

123456789

/vim-8.2.3635/src/testdir/
H A Dtest_shell.vim1 " Test for the shell related options ('shell', 'shellcmdflag', 'shellpipe',
82 " set the shell options for the current 'shell'
90 call assert_report('Failed to run shell command, shell: ' .. e[0]
105 let save_shell = &shell
106 set shell=
109 shell
114 let &shell = save_shell
132 let save_shell = &shell
133 set shell=bash
147 set shell=tcsh
[all …]
H A Dtest_system.vim103 let shell_save = &shell
106 " Set 'shell' always needs noshellslash.
117 " Matrix tests: 'shell' * 'shellxquote'
118 for shell in shell_tests
119 let &shell = shell
123 let msg = printf('shell=%s shellxquote=%s', &shell, &shellxquote)
141 let &shell = shell_save
H A Dtest_suspend.vim25 " Wait for shell prompt.
41 " Suspend and wait for shell prompt.
50 " Wait for shell prompt.
56 " Wait until Vim actually exited and shell shows a prompt
69 " Wait for shell prompt.
88 " Suspend and wait for shell prompt. Then "fg" will restore Vim.
100 " Wait until Vim actually exited and shell shows a prompt
H A Dtest_terminal.vim89 " Wait for the shell to display a prompt
378 \ 'set shell=/bin/sh noruler',
401 " stop shell
564 " shell terminal closes automatically
568 " Wait for the shell to display a prompt
577 " Wait for the shell to display a prompt
680 " Wait for the shell to display a prompt
720 let buf = term_start(&shell)
978 let cmd = &shell
1225 " quit the shell, it will make Vim exit
[all …]
H A Dtest_terminal3.vim20 let buf = term_start(&shell, {})
36 " exec is a shell builtin command, should fail without a shell.
41 term ++shell exec ls runtest.vim
45 " dir is a shell builtin command, should fail without a shell.
57 term ++shell dir.com /b runtest.vim
522 let buf1 = term_start(&shell, #{hidden: 1})
524 let buf2 = term_start(&shell, #{hidden: 1})
533 exe 'terminal' &shell &shellcmdflag 'exit'
547 let buf = term_start(&shell, #{hidden: 1})
778 " Test for sync buffer cwd with shell's pwd
H A Ddos.vim3 set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=>
6 set shell=cmd.exe
H A Dtest_fnamemodify.vim5 let save_shell = &shell
8 set shell=sh
61 set shell=tcsh
65 let &shell = save_shell
H A Dtest_escaped_glob.vim16 " Execute these commands in the sandbox, so that using the shell fails.
17 " Setting 'shell' to an invalid name causes a memory leak.
H A Dterm_util.vim22 " Stops the shell running in terminal "buf".
159 " Open a terminal with a shell, assign the job to g:job and return the buffer
163 let buf = term_start([&shell, '/k'], a:options)
165 let buf = term_start(&shell, a:options)
H A Dtest_startup_utf8.vim37 set shell=bash
39 set shell=zsh
/vim-8.2.3635/runtime/tools/
H A Dshtags.pl81 next unless $shell;
82 if( $shell eq "sh" )
88 if( $shell eq "ksh" )
95 if( $shell eq "perl" )
103 if( $shell eq "tcl" )
134 $shell = $opt_s;
138 $shell = "sh" if /^:$/ || /^#!.*\/bin\/sh/;
139 $shell = "ksh" if /^#!.*\/ksh/;
140 $shell = "perl" if /^#!.*\/perl/;
141 $shell = "tcl" if /^#!.*\/wish/;
[all …]
/vim-8.2.3635/runtime/doc/
H A Dos_dos.txt19 9. Shell option default |dos-shell|
82 is especially useful when using a Unix-like 'shell'.
276 9. Shell option default *dos-shell*
282 subshell. Return to Vim with "exit". |'shell'| |CTRL-Z|
284 If you are running a third-party shell, you may need to set the
295 For Dos 16 bit this starts the shell as:
296 <shell> -c "command name" >file
298 <shell> -c "command name >file"
302 for the presence of "sh" anywhere in the 'shell' option. If it is present,
315 If 'shell' includes "powershell" in the filename at startup then VIM sets
[all …]
H A Dusr_21.txt14 |21.2| Executing shell commands
28 Vim and takes you back to the shell it was started in. You can then do any
33 {any sequence of shell commands}
41 Only Unix has support for this. On other systems Vim will start a shell for
43 But it's a new shell, not the one that you started Vim from.
44 When you are running the GUI you can't go back to the shell where Vim was
48 *21.2* Executing shell commands
73 better at it. You can start a new shell this way: >
75 :shell
78 shell is started.
[all …]
H A Dos_amiga.txt21 - Put a shell that accepts a command with "-c" (e.g. "Csh" from Fish disk
37 is too small. Try increasing the stack size. In a shell use the Stack
78 commands. This depends on the shell you use (that is why it is not done
126 3) Add the following lines to your s:shell-startup (Important!).
137 and change the s:shell-startup to:
H A Dvarious.txt237 *:sh* *:shell* *E371*
238 :sh[ell] This command starts a shell. When the shell exits
240 name for the shell command comes from 'shell' option.
248 :!{cmd} Execute {cmd} with the shell. See also the 'shell'
257 A '|' in {cmd} is passed to the shell, you cannot use
284 shell. If you want an interactive shell to be used
299 Also see |shell-window|.
380 *+fork* Unix only: |fork| shell commands
762 using the shell script "$VIMRUNTIME/macros/less.sh".
764 This shell script uses the Vim script "$VIMRUNTIME/macros/less.vim". It sets
H A Dusr_26.txt15 |26.4| Using Vim from a shell script
137 *26.4* Using Vim from a shell script
141 do a lot of typing. The other is to write a shell script to do the work.
155 batch mode, use this shell script: >
162 The for-done loop is a shell construct to repeat the two lines in between,
H A Dtips.txt29 Executing shell commands in a window |shell-window|
101 create it with the shell command "mkid file1 file2 ..".
302 If your .cshrc (or other file, depending on the shell used) is very long, you
313 Another way is to include the "-f" flag in the 'shell' option, e.g.: >
315 :set shell=csh\ -f
410 Executing shell commands in a window *shell-window*
/vim-8.2.3635/runtime/pack/dist/opt/shellmenu/plugin/
H A Dshellmenu.vim1 " When you're writing shell scripts and you are in doubt which test to use,
2 " which shell environment variables are defined, what the syntax of the case
7 " Attached is a Vim script file for turning gvim into a shell script editor.
74 imenu SpShVars.Process number of this shell ${$}
114 imenu Set.Print shell input lines as they are read set -v
/vim-8.2.3635/runtime/syntax/
H A Dreadline.vim346 \ shell-forward-word
347 \ shell-backward-word
348 \ shell-expand-line
356 \ shell-kill-word
357 \ shell-backward-kill-word
374 \ display-shell-version
H A Dsh.vim2 " Language: shell (sh) Korn shell (ksh) bash (sh)
16 " If the shell script itself specifies which shell to use, use it
27 let s:shell = ""
29 let s:shell = resolve("/bin/sh")
31 let s:shell = resolve("/usr/bin/sh")
33 if s:shell =~ '\<ksh\>'
35 elseif s:shell =~ '\<bash\>'
37 elseif s:shell =~ '\<dash\>'
40 unlet s:shell
114 " Set up folding commands for shell {{{1
[all …]
H A Dtmux.vim72 \ bell-action default-command default-shell default-size destroy-unattached
101 \ display-popup displayp find-window findw if if-shell join-pane joinp
112 \ respawnw rotate-window rotatew run run-shell save-buffer saveb
H A Dtpp.vim33 syn match tppPageLocalSwitchKey contained "^--\%(horline\|-\|\%(begin\|end\)\%(\%(shell\)\?output\|…
50 " shell command
/vim-8.2.3635/.github/workflows/
H A Dci.yml377 shell: bash
394 shell: cmd
407 shell: cmd
436 shell: cmd
442 shell: cmd
467 shell: msys2 {0}
486 # shell: cmd
499 shell: cmd
/vim-8.2.3635/src/
H A Dgui_motif.c655 Widget shell = XtParent(dialog_child); in manage_centered() local
670 XQueryPointer(XtDisplay(shell), XtWindow(shell), &root, &child, in manage_centered()
675 XGetGeometry(XtDisplay(shell), XtWindow(shell), &root, &win_x, &win_y, in manage_centered()
683 maxX = XtScreen(shell)->width - width; in manage_centered()
684 maxY = XtScreen(shell)->height - height; in manage_centered()
695 XtVaSetValues(shell, XmNx, x, XmNy, y, NULL); in manage_centered()
698 XtMapWidget(shell); in manage_centered()
903 Widget shell; in gui_mch_add_menu() local
962 shell = XtVaCreateWidget("subMenuShell", in gui_mch_add_menu()
967 gui_motif_menu_colors(shell); in gui_mch_add_menu()
[all …]
/vim-8.2.3635/runtime/
H A Dscripts.vim69 " Bourne-like shell scripts: bash bash2 ksh ksh93 sh
85 " Z shell scripts
197 " Fish shell
212 " Bourne-like shell scripts: sh ksh bash bash2
216 " Z shell scripts

123456789