OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
vim
/
vim80
/
macros
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:13:33 AM
rwxr-xr-x
📄
README.txt
1.09 KB
04/18/2023 09:20:34 AM
rw-r--r--
📄
editexisting.vim
124 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📁
hanoi
-
05/09/2024 07:13:33 AM
rwxr-xr-x
📄
justify.vim
109 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
less.bat
288 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
less.sh
588 bytes
04/18/2023 09:20:34 AM
rwxr-xr-x
📄
less.vim
5.44 KB
04/18/2023 09:20:34 AM
rw-r--r--
📁
life
-
05/09/2024 07:13:33 AM
rwxr-xr-x
📄
matchit.vim
124 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📁
maze
-
05/09/2024 07:13:33 AM
rwxr-xr-x
📄
shellmenu.vim
115 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📄
swapmous.vim
114 bytes
04/18/2023 09:20:34 AM
rw-r--r--
📁
urm
-
05/09/2024 07:13:33 AM
rwxr-xr-x
Editing: less.sh
Close
#!/bin/sh # Shell script to start Vim with less.vim. # Read stdin if no arguments were given and stdin was redirected. if test -t 1; then if test $# = 0; then if test -t 0; then echo "Missing filename" 1>&2 exit fi vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - else vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@" fi else # Output is not a terminal, cat arguments or stdin if test $# = 0; then if test -t 0; then echo "Missing filename" 1>&2 exit fi cat else cat "$@" fi fi