modif aide vimscode

This commit is contained in:
bastien 2023-05-24 12:49:01 +02:00
parent d3b9665df0
commit 702bca8885
2 changed files with 5 additions and 70 deletions

View file

@ -1,9 +1,4 @@
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 01 2021 01:51:08)
Use: vim [args] [file ...] open the specified file(s)
or: vim [args] - read the text from stdin
or: vim [args] -t marker open the file that contains the marker
or: vim [args] -q [fichErr] open at the place of the first error
VIM - Vi IMproved 8.2 - VIMSCODE - IDE Vim 1.0
VimsCode Arguments:
@ -11,63 +6,3 @@ VimsCode Arguments:
-e Load VimsCode with esp32 help
-p Load VimsCode with platform.io help
Vim Arguments:
-- Only file names are specified after this
-g Launch the graphical interface (like "gvim")
-f, --nofork Foreground: do not detach the GUI from the terminal
-v Mode Vi (as "vi")
-e Ex Mode (as "ex")
-E Enhanced Ex Mode
-s Silent mode (batch) (only for "ex")
-d diff mode (like "vimdiff")
-y Easy mode (like "evim", vim without modes)
-R Read-only mode (like "view")
-Z Restricted mode (like "rvim")
-m Prohibit registration of files
-M Prohibit any text changes
-b Binary mode
-l Mode lisp
-C Compatible with Vi: 'compatible'
-N Not fully compatible with Vi: 'nocompatible'
-V[N][<file>] Verbose mode [N level] [in <file>]
-D Debug mode
-n Do not use an exchange file, only memory
-r List exchange files and exit
-r <file> Recover a crashed session
-L Like -r
-Start in Arabic mode
-H Start in Hebrew mode
-T <term> Set terminal type to <terminal>
--no-a-term No warning if input/output is not a terminal
--ttyfail Quit if the input or output is not a terminal
-u <vimrc> Use <vimrc> instead of the usual vimrc
-U <gvimrc> Use <gvimrc> instead of usual gvimrc
--noplugin Do not load any graft
-p[N] Open N tabs (default: one for each file)
-o[N] Open N windows (default: one for each file)
-Y[N] Like -o but split vertically
+ Open at the end of the file
+<numL> Open the file to the <numL> line
--cmd <cmde> Run <command> before loading vimrc files
-c <cmde> Run <command> after the 1st file is loaded
-S <session> Source the <session> file after the 1st file is loaded
-s <src> Read the Normal mode commands from the <src> file
-w <dest> Add all commands typed in the <dest> file
-W <dest> Write all commands typed in the <dest> file
-x Edit encrypted files
-X Do not connect to an X server
--remote <fich> Edit <files> in a Vim server if possible
--remote-silent ... Same, but no error if no server
--remote-wait <fich> Like --remote but do not exit until the edit is complete
--remote-wait-silent Same, but no error if no server
--remote-tab[-wait][-silent] <fich> Like --remote but open a tab for each file
--remote-send <tche> Send <keys> to a Vim server and exit
--remote-expr <expr> Evaluate <expr> in a Vim server, display the result
--serverlist List available Vim server names and exit
--servername <name> Send to/become the Vim server named <name>
--startuptime <fich> Write timestamp messages on startup in <fich>
-i <viminfo> Use <viminfo> instead of the usual viminfo
--clean 'nocompatible', default settings, no graft or viminfo
-h or --help Show help (this message) then exit
--version View version information and exit

View file

@ -1,13 +1,13 @@
#!/bin/bash
if [ "$1" = '-a' ] || [ "$1" = '-arduino' ] ; then
vim -p $2 ~/.vim/help/Fr/aide-arduino
vim -p $2 ~/.vim/help/En/help-arduino
elif [ "$1" = '-e' ] || [ "$1" = '-esp' ] ; then
vim -p $2 ~/.vim/help/Fr/aide-esp32
vim -p $2 ~/.vim/help/En/help-esp32
elif [ "$1" = '-p' ] || [ "$1" = '-platform.io' ] ; then
vim -p $2 ~/.vim/help/Fr/aide-platform.io
vim -p $2 ~/.vim/help/En/help-platform.io
elif [ "$1" = '' ] || [ "$1" = '' ] ; then
cat ~/.vim/help/aide-vimscode
cat ~/.vim/help/help-vimscode
else
echo "Option $1 invalid"
fi