/
usr
/
share
/
vim
/
vim91
/
doc
/
/usr/share/vim/vim91/doc
mkdir
upload
Name
Size
Mode
Actions
arabic.txt
12204
0644
edit
dl
rm
autocmd.txt
77872
0644
edit
dl
rm
builtin.txt
432001
0644
edit
dl
rm
change.txt
80714
0644
edit
dl
rm
channel.txt
59103
0644
edit
dl
rm
cmdline.txt
53181
0644
edit
dl
rm
debug.txt
6896
0644
edit
dl
rm
debugger.txt
5443
0644
edit
dl
rm
develop.txt
23118
0644
edit
dl
rm
diff.txt
18341
0644
edit
dl
rm
digraph.txt
62443
0644
edit
dl
rm
editing.txt
77499
0644
edit
dl
rm
eval.txt
173232
0644
edit
dl
rm
farsi.txt
523
0644
edit
dl
rm
filetype.txt
30622
0644
edit
dl
rm
fold.txt
24730
0644
edit
dl
rm
ft_ada.txt
18212
0644
edit
dl
rm
ft_context.txt
5161
0644
edit
dl
rm
ft_mp.txt
4706
0644
edit
dl
rm
ft_ps1.txt
2187
0644
edit
dl
rm
ft_raku.txt
4219
0644
edit
dl
rm
ft_rust.txt
19800
0644
edit
dl
rm
ft_sql.txt
30694
0644
edit
dl
rm
gui.txt
53499
0644
edit
dl
rm
gui_w32.txt
19123
0644
edit
dl
rm
gui_x11.txt
29318
0644
edit
dl
rm
hangulin.txt
598
0644
edit
dl
rm
hebrew.txt
5666
0644
edit
dl
rm
help.txt
9491
0644
edit
dl
rm
help.txt.vim-tiny
1350
0644
edit
dl
rm
helphelp.txt
16060
0644
edit
dl
rm
howto.txt
2916
0644
edit
dl
rm
if_cscop.txt
19325
0644
edit
dl
rm
if_lua.txt
18546
0644
edit
dl
rm
if_mzsch.txt
11941
0644
edit
dl
rm
if_ole.txt
7117
0644
edit
dl
rm
if_perl.txt
11451
0644
edit
dl
rm
if_pyth.txt
40820
0644
edit
dl
rm
if_ruby.txt
8516
0644
edit
dl
rm
if_sniff.txt
271
0644
edit
dl
rm
if_tcl.txt
22948
0644
edit
dl
rm
indent.txt
43699
0644
edit
dl
rm
index.txt
82373
0644
edit
dl
rm
insert.txt
88124
0644
edit
dl
rm
intro.txt
39623
0644
edit
dl
rm
map.txt
81176
0644
edit
dl
rm
mbyte.txt
58640
0644
edit
dl
rm
message.txt
31931
0644
edit
dl
rm
mlang.txt
8160
0644
edit
dl
rm
motion.txt
54387
0644
edit
dl
rm
netbeans.txt
37957
0644
edit
dl
rm
options.txt
419402
0644
edit
dl
rm
os_390.txt
4741
0644
edit
dl
rm
os_amiga.txt
5466
0644
edit
dl
rm
os_beos.txt
293
0644
edit
dl
rm
os_dos.txt
15495
0644
edit
dl
rm
os_haiku.txt
8543
0644
edit
dl
rm
os_mac.txt
6856
0644
edit
dl
rm
os_mint.txt
391
0644
edit
dl
rm
os_msdos.txt
523
0644
edit
dl
rm
os_os2.txt
299
0644
edit
dl
rm
os_qnx.txt
4071
0644
edit
dl
rm
os_risc.txt
328
0644
edit
dl
rm
os_unix.txt
2607
0644
edit
dl
rm
os_vms.txt
33743
0644
edit
dl
rm
os_win32.txt
14912
0644
edit
dl
rm
pattern.txt
63653
0644
edit
dl
rm
pi_getscript.txt
21077
0644
edit
dl
rm
pi_gzip.txt
1547
0644
edit
dl
rm
pi_logipat.txt
4196
0644
edit
dl
rm
pi_netrw.txt
181735
0644
edit
dl
rm
pi_paren.txt
2274
0644
edit
dl
rm
pi_spec.txt
4127
0644
edit
dl
rm
pi_tar.txt
7191
0644
edit
dl
rm
pi_vimball.txt
11859
0644
edit
dl
rm
pi_zip.txt
7778
0644
edit
dl
rm
popup.txt
40382
0644
edit
dl
rm
print.txt
31445
0644
edit
dl
rm
quickfix.txt
85701
0644
edit
dl
rm
quickref.txt
73061
0644
edit
dl
rm
quotes.txt
12748
0644
edit
dl
rm
README.Debian
324
0644
edit
dl
rm
recover.txt
10727
0644
edit
dl
rm
remote.txt
8626
0644
edit
dl
rm
repeat.txt
46502
0644
edit
dl
rm
rileft.txt
5063
0644
edit
dl
rm
russian.txt
3024
0644
edit
dl
rm
scroll.txt
14356
0644
edit
dl
rm
sign.txt
26860
0644
edit
dl
rm
spell.txt
64205
0644
edit
dl
rm
sponsor.txt
6776
0644
edit
dl
rm
starting.txt
74540
0644
edit
dl
rm
syntax.txt
237597
0644
edit
dl
rm
tabpage.txt
17246
0644
edit
dl
rm
tags
391091
0644
edit
dl
rm
tags.vim-tiny
1935
0644
edit
dl
rm
tagsrch.txt
40475
0644
edit
dl
rm
term.txt
55685
0644
edit
dl
rm
terminal.txt
63169
0644
edit
dl
rm
testing.txt
22507
0644
edit
dl
rm
textprop.txt
20478
0644
edit
dl
rm
tips.txt
21336
0644
edit
dl
rm
todo.txt
316358
0644
edit
dl
rm
uganda.txt
13052
0644
edit
dl
rm
undo.txt
17811
0644
edit
dl
rm
userfunc.txt
20624
0644
edit
dl
rm
usr_01.txt
7076
0644
edit
dl
rm
usr_02.txt
24228
0644
edit
dl
rm
usr_03.txt
23934
0644
edit
dl
rm
usr_04.txt
19131
0644
edit
dl
rm
usr_05.txt
27946
0644
edit
dl
rm
usr_06.txt
10639
0644
edit
dl
rm
usr_07.txt
15995
0644
edit
dl
rm
usr_08.txt
19379
0644
edit
dl
rm
usr_09.txt
11502
0644
edit
dl
rm
usr_10.txt
29200
0644
edit
dl
rm
usr_11.txt
13025
0644
edit
dl
rm
usr_12.txt
13433
0644
edit
dl
rm
usr_20.txt
13733
0644
edit
dl
rm
usr_21.txt
18456
0644
edit
dl
rm
usr_22.txt
14904
0644
edit
dl
rm
usr_23.txt
12744
0644
edit
dl
rm
usr_24.txt
20827
0644
edit
dl
rm
usr_25.txt
19176
0644
edit
dl
rm
usr_26.txt
8259
0644
edit
dl
rm
usr_27.txt
17709
0644
edit
dl
rm
usr_28.txt
16020
0644
edit
dl
rm
usr_29.txt
20259
0644
edit
dl
rm
usr_30.txt
22658
0644
edit
dl
rm
usr_31.txt
10399
0644
edit
dl
rm
usr_32.txt
5378
0644
edit
dl
rm
usr_40.txt
23554
0644
edit
dl
rm
usr_41.txt
65272
0644
edit
dl
rm
usr_42.txt
13853
0644
edit
dl
rm
usr_43.txt
7409
0644
edit
dl
rm
usr_44.txt
28948
0644
edit
dl
rm
usr_45.txt
17680
0644
edit
dl
rm
usr_50.txt
4554
0644
edit
dl
rm
usr_51.txt
25517
0644
edit
dl
rm
usr_52.txt
13498
0644
edit
dl
rm
usr_90.txt
16778
0644
edit
dl
rm
usr_toc.txt
9886
0644
edit
dl
rm
various.txt
32432
0644
edit
dl
rm
version4.txt
13911
0644
edit
dl
rm
version5.txt
308529
0644
edit
dl
rm
version6.txt
576942
0644
edit
dl
rm
version7.txt
674698
0644
edit
dl
rm
version8.txt
1599852
0644
edit
dl
rm
version9.txt
1611325
0644
edit
dl
rm
vim9.txt
91753
0644
edit
dl
rm
vim9class.txt
41040
0644
edit
dl
rm
visual.txt
22625
0644
edit
dl
rm
vi_diff.txt
57404
0644
edit
dl
rm
windows.txt
58706
0644
edit
dl
rm
workshop.txt
371
0644
edit
dl
rm
Edit:
/usr/share/vim/vim91/doc/os_haiku.txt
(8543B)
*os_haiku.txt* For Vim version 9.1. Last change: 2020 May 13 VIM REFERENCE MANUAL by Bram Moolenaar *Haiku* This file contains the particularities for the Haiku version of Vim. For matters not discussed in this file, Vim behaves very much like the Unix |os_unix.txt| version. Haiku is an open-source operating system inspired by BeOS, that specifically targets personal computing. 1. General |haiku-general| 2. Compiling Vim |haiku-compiling| 3. The Haiku GUI |haiku-gui| 4. The $VIM directory |haiku-vimdir| 5. The $USER_SETTINGS_DIR directory |haiku-user-settings-dir| 6. Drag & Drop |haiku-dragndrop| 7. Single Launch vs. Multiple Launch |haiku-launch| 8. Fonts |haiku-fonts| 9. The meta key modifier |haiku-meta| 10. Mouse key mappings |haiku-mouse| 11. Color names |haiku-colors| 12. GUI Toolbar Images |haiku-toolbar-images| 13. Credits |haiku-support-credits| 14. Bugs & to-do |haiku-bugs| 1. General *haiku-general* The default syntax highlighting mostly works with different foreground colors to highlight items. This works best if you set your Terminal window to a darkish background and light letters. Some middle-grey background (for instance (r,g,b)=(168,168,168)) with black letters also works nicely. 2. Compiling Vim *haiku-compiling* Vim can be compiled using the standard configure/make approach. Running ./configure without any arguments or passing --enable-gui=haiku, will compile vim with the Haiku GUI support. Run ./configure --help , to find out other features you can enable/disable. Haiku uses "ncurses6" as its terminal library, therefore you need to have "ncurses6_devel" package installed from HaikuDepot in order to configure the Haiku build. Just append "--with-tlib=ncurses" to ./configure command. Now you should use "make" to compile Vim, then "make install" to install it. For seamless integration into Haiku, the GUI-less vim binary should be additionally installed over the GUI version. Typical build commands are: ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \ --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \ --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \ --with-tlib=ncurses make clean make install ./configure --prefix=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY` \ --datarootdir=`finddir B_SYSTEM_NONPACKAGED_DATA_DIRECTORY` \ --mandir=`finddir B_SYSTEM_NONPACKAGED_DIRECTORY`/documentation/man \ --with-tlib=ncurses \ --disable-gui make clean make install 3. The Haiku GUI *haiku-gui* Normally Vim starts with the GUI if you start it as gvim or vim -g. The vim version with GUI tries to determine if it was started from the Tracker instead of the Terminal, and if so, uses the GUI anyway. However, the current detection scheme is fooled if you use the command "vim - </dev/null". Stuff that does not work yet: - Mouse up events are not generated when outside the window. You can notice this when selecting text and moving the cursor outside the window, then letting go of the mouse button. Another way is when you drag the scrollbar and do the same thing. Because Vim still thinks you are still playing with the scrollbar it won't change it itself. There is a workaround which kicks in when the window is activated or deactivated (so it works best with focus- follows-mouse turned on). - The cursor does not flash. 4. The $VIM directory *haiku-vimdir* $VIM is the symbolic name for the place where Vim's support files are stored. The default value for $VIM is set at compile time and can be determined with: :version The normal value is /boot/system/data/vim for Haikuports version, /boot/system/non-packaged/data/vim for manual builds. If you don't like it you can set the VIM environment variable to override this, or set 'helpfile' in your .vimrc: > :if version >= 500 : set helpfile=~/vim/runtime/doc/help.txt : syntax on :endif 5. The $USER_SETTINGS_DIR directory *haiku-user-settings-dir* $USER_SETTINGS_DIR is the symbolic name for the place where Haiku configuration and settings files are stored. The normal value is /boot/home/config/settings. 6. Drag & Drop *haiku-dragndrop* You can drop files and directories on either the Vim icon (starts a new Vim session, unless you use the File Types application to set Vim to be "Single Launch") or on the Vim window (starts editing the files). Dropping a folder sets Vim's current working directory |:cd| |:pwd|. If you drop files or folders with either SHIFT key pressed, Vim changes directory to the folder that contains the first item dropped. When starting Vim, there is no need to press shift: Vim behaves as if you do. Files dropped set the current argument list. |argument-list| 7. Single Launch vs. Multiple Launch *haiku-launch* As distributed Vim's Application Flags (as seen in the FileTypes preference) are set to Multiple Launch. If you prefer, you can set them to Single Launch instead. Attempts to start a second copy of Vim will cause the first Vim to open the files instead. This works from the Tracker but also from the command line. In the latter case, non-file (option) arguments are not supported. Another drawback of the Single Launch is silent ignore of "Open With ..." requests by vim instance that running as non-GUI application even GUI support was compiled in. Vim instance running with GUI has no such problems. NB: Only the GUI version has a BApplication (and hence Application Flags). This section does not apply to the GUI-less version, should you compile one. 8. Fonts *haiku-fonts* Set fonts with > :set guifont=DejaVu_Sans_Mono/Book/12 where the first part is the font family, the second part the style, and the third part the size. You can use underscores instead of spaces in family and style. Best results are obtained with monospaced fonts. Vim attempts to use all fonts in B_FIXED_SPACING mode but apparently this does not work for proportional fonts (despite what the BeBook says). To verify which encodings are supported by the current font give the > :digraphs command, which lists a bunch of characters with their ISO Latin 1 encoding. If, for instance, there are "box" characters among them, or the last character isn't a dotted-y, then for this font the encoding does not work. If the font you specify is unavailable, you get the system fixed font. GUI Font Selection Dialog is available at giving the: :set guifont=* command. 9. The meta key modifier *haiku-meta* The META key modifier is obtained by the left or right OPTION keys. This is because the ALT (aka COMMAND) keys are not passed to applications. 10. Mouse key mappings *haiku-mouse* Vim calls the various mouse buttons LeftMouse, MiddleMouse and RightMouse. If you use the default Mouse preference settings these names indeed correspond to reality. Vim uses this mapping: Button 1 -> LeftMouse, Button 2 -> RightMouse, Button 3 -> MiddleMouse. If your mouse has fewer than 3 buttons you can provide your own mapping from mouse clicks with modifier(s) to other mouse buttons. See the file $VIM/macros/swapmous.vim for an example. |gui-mouse-mapping| 11. Color names *haiku-colors* Vim has a number of color names built-in. Additional names can be defined in |v:colornames|. See |:colorscheme| for details. 12. GUI Toolbar Images *haiku-toolbar-images* Alternative set of toolbar images should be the PNG image of any height you like. Image width is calculated to contain at least 32 buttons in one-row cells. The image should be stored under the name $VIRUNTIME/bitmaps/builtin-tools.png More info about the buttons assignment are at |builtin-tools|. 13. Credits *haiku-support-credits* Haiku port is based on work done for BeOS version by many people - BeBox GUI support Copyright 1998 by Olaf Seibert; - Ported to R4 by Richard Offer <richard@whitequeen.com> Jul 99; - Those who contributed, not listed above but not forgotten; - Haiku support by Siarzhuk Zharski <imker@gmx.li> Apr-Mai 2009. All the changes and patches released under vim-license. Thank you, all! 14. Bugs & to-do *haiku-bugs* The port is under development now and far away from the perfect state. For bug reports, patches and wishes, please use the Vim mailing list or Vim Github repository. Mailing list: https://www.vim.org/maillist.php Vim Github repository: https://github.com/vim/vim vim:tw=78:ts=8:ft=help:norl:
Save
cmd:
run