A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learnbyexample.github.io/vim_reference/CLI-options.html below:

CLI options - Vim Reference Guide

CLI options

This chapter discusses some of the options you can use when starting Vim from the command line. A Unix/Linux distribution is assumed for the examples shown in this chapter. Syntax and features might vary for other platforms like Windows.

Documentation links:

Recall that you need to add - prefix for built-in help on CLI options, :h -y for example.

Default Help Tabs and Splits

You can append a number to each of these options to specify how many tabs or splits you want. For example, gvim -p3 *.py opens three tabs irrespective of the number of input files. Empty buffers will be used if there aren't enough input files to satisfy the given number.

Easy mode

See also novim-mode plugin, which aims to make Vim behave more like a normal editor.

Readonly and Restricted modes Cursor position Execute command

As per :h -c, "You can use up to 10 + or -c arguments in a Vim command. They are executed in the order given. A -S argument counts as a -c argument as well"

--cmd option is similar to the -c option, but executes the command before loading any vimrc files.

Quickfix

See Vim and the quickfix list and stackoverflow: How do you use Vim's quickfix feature? to learn more about this feature.

See :h quickfix for documentation.

Vimrc and Plugins

Here's a neat table from :h --noplugin:

argument vimrc plugins defaults.vim (nothing) yes yes yes -u NONE no no no -u DEFAULTS no no yes -u NORC no yes no --noplugin yes no yes Session and Viminfo

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4