golden hour
/usr/share/vim/vim82/doc
⬆️ Go Up
Upload
File/Folder
Size
Actions
arabic.txt
11.62 KB
Del
OK
autocmd.txt
70.53 KB
Del
OK
change.txt
76.22 KB
Del
OK
channel.txt
49.13 KB
Del
OK
cmdline.txt
48.19 KB
Del
OK
debug.txt
6.73 KB
Del
OK
debugger.txt
5.32 KB
Del
OK
develop.txt
22.33 KB
Del
OK
diff.txt
16.63 KB
Del
OK
digraph.txt
60.53 KB
Del
OK
editing.txt
72.42 KB
Del
OK
eval.txt
528.52 KB
Del
OK
farsi.txt
523 B
Del
OK
filetype.txt
26.95 KB
Del
OK
fold.txt
23.13 KB
Del
OK
ft_ada.txt
17.82 KB
Del
OK
ft_rust.txt
9.37 KB
Del
OK
ft_sql.txt
29.98 KB
Del
OK
gui.txt
51.5 KB
Del
OK
gui_w32.txt
19 KB
Del
OK
gui_x11.txt
29.21 KB
Del
OK
hangulin.txt
598 B
Del
OK
hebrew.txt
5.53 KB
Del
OK
help.txt
8.69 KB
Del
OK
helphelp.txt
15.36 KB
Del
OK
howto.txt
2.85 KB
Del
OK
if_cscop.txt
18.87 KB
Del
OK
if_lua.txt
16.36 KB
Del
OK
if_mzsch.txt
11.66 KB
Del
OK
if_ole.txt
7.19 KB
Del
OK
if_perl.txt
11.02 KB
Del
OK
if_pyth.txt
37.53 KB
Del
OK
if_ruby.txt
8.32 KB
Del
OK
if_sniff.txt
271 B
Del
OK
if_tcl.txt
22.41 KB
Del
OK
indent.txt
41.29 KB
Del
OK
index.txt
78.75 KB
Del
OK
insert.txt
83.29 KB
Del
OK
intro.txt
38.06 KB
Del
OK
map.txt
69.14 KB
Del
OK
mbyte.txt
58.24 KB
Del
OK
message.txt
30.69 KB
Del
OK
mlang.txt
8 KB
Del
OK
motion.txt
50.14 KB
Del
OK
netbeans.txt
37.09 KB
Del
OK
options.txt
382.14 KB
Del
OK
os_390.txt
4.64 KB
Del
OK
os_amiga.txt
5.34 KB
Del
OK
os_beos.txt
293 B
Del
OK
os_dos.txt
12.09 KB
Del
OK
os_haiku.txt
8.39 KB
Del
OK
os_mac.txt
6.7 KB
Del
OK
os_mint.txt
391 B
Del
OK
os_msdos.txt
523 B
Del
OK
os_os2.txt
299 B
Del
OK
os_qnx.txt
3.98 KB
Del
OK
os_risc.txt
328 B
Del
OK
os_unix.txt
2.54 KB
Del
OK
os_vms.txt
32.13 KB
Del
OK
os_win32.txt
13.04 KB
Del
OK
pattern.txt
58.73 KB
Del
OK
pi_getscript.txt
20.59 KB
Del
OK
pi_gzip.txt
1.26 KB
Del
OK
pi_logipat.txt
4.1 KB
Del
OK
pi_netrw.txt
175.08 KB
Del
OK
pi_paren.txt
2.22 KB
Del
OK
pi_spec.txt
4.03 KB
Del
OK
pi_tar.txt
6.65 KB
Del
OK
pi_vimball.txt
11.58 KB
Del
OK
pi_zip.txt
7.12 KB
Del
OK
popup.txt
38.55 KB
Del
OK
print.txt
30.3 KB
Del
OK
quickfix.txt
80.98 KB
Del
OK
quickref.txt
70.45 KB
Del
OK
quotes.txt
12.45 KB
Del
OK
recover.txt
10.47 KB
Del
OK
remote.txt
8.22 KB
Del
OK
repeat.txt
41.2 KB
Del
OK
rileft.txt
4.82 KB
Del
OK
russian.txt
2.95 KB
Del
OK
scroll.txt
13.46 KB
Del
OK
sign.txt
25.25 KB
Del
OK
spell.txt
62.6 KB
Del
OK
sponsor.txt
7.03 KB
Del
OK
starting.txt
71.87 KB
Del
OK
syntax.txt
220.57 KB
Del
OK
tabpage.txt
16.84 KB
Del
OK
tags
346.5 KB
Del
OK
tagsrch.txt
39.33 KB
Del
OK
term.txt
46.38 KB
Del
OK
terminal.txt
54.79 KB
Del
OK
testing.txt
14.6 KB
Del
OK
textprop.txt
13.09 KB
Del
OK
tips.txt
20.57 KB
Del
OK
todo.txt
302.17 KB
Del
OK
uganda.txt
13.7 KB
Del
OK
undo.txt
16.2 KB
Del
OK
usr_01.txt
6.92 KB
Del
OK
usr_02.txt
23.66 KB
Del
OK
usr_03.txt
23.31 KB
Del
OK
usr_04.txt
18.68 KB
Del
OK
usr_05.txt
26.39 KB
Del
OK
usr_06.txt
9.39 KB
Del
OK
usr_07.txt
15.62 KB
Del
OK
usr_08.txt
18.92 KB
Del
OK
usr_09.txt
11.23 KB
Del
OK
usr_10.txt
28.52 KB
Del
OK
usr_11.txt
12.72 KB
Del
OK
usr_12.txt
13.11 KB
Del
OK
usr_20.txt
13.39 KB
Del
OK
usr_21.txt
18.02 KB
Del
OK
usr_22.txt
14.65 KB
Del
OK
usr_23.txt
12.45 KB
Del
OK
usr_24.txt
20.34 KB
Del
OK
usr_25.txt
18.73 KB
Del
OK
usr_26.txt
8.07 KB
Del
OK
usr_27.txt
17.29 KB
Del
OK
usr_28.txt
15.64 KB
Del
OK
usr_29.txt
19.65 KB
Del
OK
usr_30.txt
22.13 KB
Del
OK
usr_31.txt
10.16 KB
Del
OK
usr_32.txt
5.25 KB
Del
OK
usr_40.txt
22.65 KB
Del
OK
usr_41.txt
95.1 KB
Del
OK
usr_42.txt
13.53 KB
Del
OK
usr_43.txt
7.24 KB
Del
OK
usr_44.txt
28.27 KB
Del
OK
usr_45.txt
17.27 KB
Del
OK
usr_46.txt
6.93 KB
Del
OK
usr_90.txt
16.44 KB
Del
OK
usr_toc.txt
9.28 KB
Del
OK
various.txt
30.37 KB
Del
OK
version4.txt
13.58 KB
Del
OK
version5.txt
301.3 KB
Del
OK
version6.txt
563.42 KB
Del
OK
version7.txt
658.89 KB
Del
OK
version8.txt
1.85 MB
Del
OK
vi_diff.txt
56.08 KB
Del
OK
vim9.txt
55.82 KB
Del
OK
visual.txt
21.28 KB
Del
OK
windows.txt
54.43 KB
Del
OK
workshop.txt
371 B
Del
OK
Edit: os_haiku.txt
*os_haiku.txt* For Vim version 8.2. 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=ncurses6" 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 \ 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 \ --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 are read from the file $VIMRUNTIME/rgb.txt, if present. This file is basically the color database from X. Names used from this file are cached for efficiency. 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