X7ROOT File Manager
Current Path:
/usr/share/vim/vim80/doc
usr
/
share
/
vim
/
vim80
/
doc
/
ðŸ“
..
📄
arabic.txt
(11.66 KB)
📄
autocmd.txt
(63.87 KB)
📄
change.txt
(73.12 KB)
📄
channel.txt
(30.1 KB)
📄
cmdline.txt
(46.17 KB)
📄
debug.txt
(7.01 KB)
📄
debugger.txt
(5.61 KB)
📄
develop.txt
(21.82 KB)
📄
diff.txt
(16.14 KB)
📄
digraph.txt
(60.67 KB)
📄
editing.txt
(71.46 KB)
📄
eval.txt
(434.04 KB)
📄
farsi.txt
(9.48 KB)
📄
filetype.txt
(25.33 KB)
📄
fold.txt
(23.14 KB)
📄
ft_ada.txt
(17.82 KB)
📄
ft_rust.txt
(9.3 KB)
📄
ft_sql.txt
(29.97 KB)
📄
gui.txt
(44.52 KB)
📄
gui_w32.txt
(18.47 KB)
📄
gui_x11.txt
(28.79 KB)
📄
hangulin.txt
(3.21 KB)
📄
hebrew.txt
(5.58 KB)
📄
help.txt
(8.38 KB)
📄
helphelp.txt
(14 KB)
📄
howto.txt
(2.84 KB)
📄
if_cscop.txt
(18.91 KB)
📄
if_lua.txt
(14.3 KB)
📄
if_mzsch.txt
(11.55 KB)
📄
if_ole.txt
(7.23 KB)
📄
if_perl.txt
(10.89 KB)
📄
if_pyth.txt
(37.05 KB)
📄
if_ruby.txt
(7.83 KB)
📄
if_sniff.txt
(266 B)
📄
if_tcl.txt
(22.49 KB)
📄
indent.txt
(38.5 KB)
📄
index.txt
(74.65 KB)
📄
insert.txt
(81.21 KB)
📄
intro.txt
(38.31 KB)
📄
map.txt
(63.15 KB)
📄
mbyte.txt
(57.92 KB)
📄
message.txt
(30.5 KB)
📄
mlang.txt
(7.67 KB)
📄
motion.txt
(50.39 KB)
📄
netbeans.txt
(36.13 KB)
📄
options.txt
(378.02 KB)
📄
os_390.txt
(4.64 KB)
📄
os_amiga.txt
(5.33 KB)
📄
os_beos.txt
(10.73 KB)
📄
os_dos.txt
(11.74 KB)
📄
os_mac.txt
(6.69 KB)
📄
os_mint.txt
(1.37 KB)
📄
os_msdos.txt
(518 B)
📄
os_os2.txt
(294 B)
📄
os_qnx.txt
(3.98 KB)
📄
os_risc.txt
(323 B)
📄
os_unix.txt
(2.53 KB)
📄
os_vms.txt
(31.35 KB)
📄
os_win32.txt
(13.04 KB)
📄
pattern.txt
(57.93 KB)
📄
pi_getscript.txt
(20.58 KB)
📄
pi_gzip.txt
(1.29 KB)
📄
pi_logipat.txt
(4.09 KB)
📄
pi_netrw.txt
(171.44 KB)
📄
pi_paren.txt
(2.22 KB)
📄
pi_spec.txt
(4.03 KB)
📄
pi_tar.txt
(6.5 KB)
📄
pi_vimball.txt
(11.58 KB)
📄
pi_zip.txt
(6.87 KB)
📄
print.txt
(30.43 KB)
📄
quickfix.txt
(67.4 KB)
📄
quickref.txt
(69.59 KB)
📄
quotes.txt
(12.44 KB)
📄
recover.txt
(10.44 KB)
📄
remote.txt
(8.22 KB)
📄
repeat.txt
(38.65 KB)
📄
rileft.txt
(4.86 KB)
📄
russian.txt
(3.02 KB)
📄
scroll.txt
(13.74 KB)
📄
sign.txt
(6.73 KB)
📄
spell.txt
(61.31 KB)
📄
sponsor.txt
(7.03 KB)
📄
starting.txt
(71.9 KB)
📄
syntax.txt
(212.37 KB)
📄
tabpage.txt
(16.33 KB)
📄
tags
(320.99 KB)
📄
tagsrch.txt
(35.78 KB)
📄
term.txt
(44.35 KB)
📄
terminal.txt
(32.78 KB)
📄
tips.txt
(20.07 KB)
📄
todo.txt
(289.32 KB)
📄
uganda.txt
(13.7 KB)
📄
undo.txt
(16.15 KB)
📄
usr_01.txt
(6.92 KB)
📄
usr_02.txt
(23.77 KB)
📄
usr_03.txt
(23.05 KB)
📄
usr_04.txt
(18.63 KB)
📄
usr_05.txt
(23.27 KB)
📄
usr_06.txt
(9.36 KB)
📄
usr_07.txt
(15.61 KB)
📄
usr_08.txt
(18.92 KB)
📄
usr_09.txt
(11.18 KB)
📄
usr_10.txt
(28.5 KB)
📄
usr_11.txt
(12.32 KB)
📄
usr_12.txt
(13.11 KB)
📄
usr_20.txt
(13.38 KB)
📄
usr_21.txt
(17.94 KB)
📄
usr_22.txt
(13.96 KB)
📄
usr_23.txt
(12.29 KB)
📄
usr_24.txt
(20.38 KB)
📄
usr_25.txt
(18.67 KB)
📄
usr_26.txt
(8.06 KB)
📄
usr_27.txt
(17.31 KB)
📄
usr_28.txt
(15.64 KB)
📄
usr_29.txt
(19.64 KB)
📄
usr_30.txt
(22.13 KB)
📄
usr_31.txt
(10.15 KB)
📄
usr_32.txt
(5.25 KB)
📄
usr_40.txt
(22.64 KB)
📄
usr_41.txt
(87.21 KB)
📄
usr_42.txt
(13.47 KB)
📄
usr_43.txt
(7.23 KB)
📄
usr_44.txt
(28.53 KB)
📄
usr_45.txt
(17.49 KB)
📄
usr_90.txt
(17.25 KB)
📄
usr_toc.txt
(9 KB)
📄
various.txt
(28.18 KB)
📄
version4.txt
(13.58 KB)
📄
version5.txt
(301.31 KB)
📄
version6.txt
(563.53 KB)
📄
version7.txt
(658.95 KB)
📄
version8.txt
(668.21 KB)
📄
vi_diff.txt
(41.81 KB)
📄
visual.txt
(21.33 KB)
📄
windows.txt
(51.79 KB)
📄
workshop.txt
(4.52 KB)
Editing: ft_rust.txt
*ft_rust.txt* Filetype plugin for Rust ============================================================================== CONTENTS *rust* 1. Introduction |rust-intro| 2. Settings |rust-settings| 3. Commands |rust-commands| 4. Mappings |rust-mappings| ============================================================================== INTRODUCTION *rust-intro* This plugin provides syntax and supporting functionality for the Rust filetype. ============================================================================== SETTINGS *rust-settings* This plugin has a few variables you can define in your vimrc that change the behavior of the plugin. *g:rustc_path* g:rustc_path~ Set this option to the path to rustc for use in the |:RustRun| and |:RustExpand| commands. If unset, "rustc" will be located in $PATH: > let g:rustc_path = $HOME."/bin/rustc" < *g:rustc_makeprg_no_percent* g:rustc_makeprg_no_percent~ Set this option to 1 to have 'makeprg' default to "rustc" instead of "rustc %": > let g:rustc_makeprg_no_percent = 1 < *g:rust_conceal* g:rust_conceal~ Set this option to turn on the basic |conceal| support: > let g:rust_conceal = 1 < *g:rust_conceal_mod_path* g:rust_conceal_mod_path~ Set this option to turn on |conceal| for the path connecting token "::": > let g:rust_conceal_mod_path = 1 < *g:rust_conceal_pub* g:rust_conceal_pub~ Set this option to turn on |conceal| for the "pub" token: > let g:rust_conceal_pub = 1 < *g:rust_recommended_style* g:rust_recommended_style~ Set this option to enable vim indentation and textwidth settings to conform to style conventions of the rust standard library (i.e. use 4 spaces for indents and sets 'textwidth' to 99). This option is enabled by default. To disable it: > let g:rust_recommended_style = 0 < *g:rust_fold* g:rust_fold~ Set this option to turn on |folding|: > let g:rust_fold = 1 < Value Effect ~ 0 No folding 1 Braced blocks are folded. All folds are open by default. 2 Braced blocks are folded. 'foldlevel' is left at the global value (all folds are closed by default). *g:rust_bang_comment_leader* g:rust_bang_comment_leader~ Set this option to 1 to preserve the leader on multi-line doc comments using the /*! syntax: > let g:rust_bang_comment_leader = 1 < *g:ftplugin_rust_source_path* g:ftplugin_rust_source_path~ Set this option to a path that should be prepended to 'path' for Rust source files: > let g:ftplugin_rust_source_path = $HOME.'/dev/rust' < *g:rustfmt_command* g:rustfmt_command~ Set this option to the name of the 'rustfmt' executable in your $PATH. If not specified it defaults to 'rustfmt' : > let g:rustfmt_command = 'rustfmt' < *g:rustfmt_autosave* g:rustfmt_autosave~ Set this option to 1 to run |:RustFmt| automatically when saving a buffer. If not specified it defaults to 0 : > let g:rustfmt_autosave = 0 < *g:rustfmt_fail_silently* g:rustfmt_fail_silently~ Set this option to 1 to prevent 'rustfmt' from populating the |location-list| with errors. If not specified it defaults to 0: > let g:rustfmt_fail_silently = 0 < *g:rustfmt_options* g:rustfmt_options~ Set this option to a string of options to pass to 'rustfmt'. The write-mode is already set to 'overwrite'. If not specified it defaults to '' : > let g:rustfmt_options = '' < *g:rust_playpen_url* g:rust_playpen_url~ Set this option to override the URL for the playpen to use: > let g:rust_playpen_url = 'https://play.rust-lang.org/' < *g:rust_shortener_url* g:rust_shortener_url~ Set this option to override the URL for the URL shortener: > let g:rust_shortener_url = 'https://is.gd/' < ============================================================================== COMMANDS *rust-commands* :RustRun [args] *:RustRun* :RustRun! [rustc-args] [--] [args] Compiles and runs the current file. If it has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The compiled binary is always placed in a temporary directory, but is run from the current directory. The arguments given to |:RustRun| will be passed to the compiled binary. If ! is specified, the arguments are passed to rustc instead. A "--" argument will separate the rustc arguments from the arguments passed to the binary. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustExpand [args] *:RustExpand* :RustExpand! [TYPE] [args] Expands the current file using --pretty and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustExpand| will be passed to rustc. This is largely intended for specifying various --cfg configurations. If ! is specified, the first argument is the expansion type to pass to rustc --pretty. Otherwise it will default to "expanded". If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustEmitIr [args] *:RustEmitIr* Compiles the current file to LLVM IR and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustEmitIr| will be passed to rustc. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustEmitAsm [args] *:RustEmitAsm* Compiles the current file to assembly and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustEmitAsm| will be passed to rustc. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustPlay *:RustPlay* This command will only work if you have web-api.vim installed (available at https://github.com/mattn/webapi-vim). It sends the current selection, or if nothing is selected, the entirety of the current buffer to the Rust playpen, and emits a message with the shortened URL to the playpen. |g:rust_playpen_url| is the base URL to the playpen, by default "https://play.rust-lang.org/". |g:rust_shortener_url| is the base URL for the shortener, by default "https://is.gd/" :RustFmt *:RustFmt* Runs |g:rustfmt_command| on the current buffer. If |g:rustfmt_options| is set then those will be passed to the executable. If |g:rustfmt_fail_silently| is 0 (the default) then it will populate the |location-list| with the errors from |g:rustfmt_command|. If |g:rustfmt_fail_silently| is set to 1 then it will not populate the |location-list|. :RustFmtRange *:RustFmtRange* Runs |g:rustfmt_command| with selected range. See |:RustFmt| for any other information. ============================================================================== MAPPINGS *rust-mappings* This plugin defines mappings for |[[| and |]]| to support hanging indents. It also has a few other mappings: *rust_<D-r>* <D-r> Executes |:RustRun| with no arguments. Note: This binding is only available in MacVim. *rust_<D-R>* <D-R> Populates the command line with |:RustRun|! using the arguments given to the last invocation, but does not execute it. Note: This binding is only available in MacVim. ============================================================================== vim:tw=78:sw=4:noet:ts=8:ft=help:norl:
Upload File
Create Folder