Difference between revisions of "Vi"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{lc}}
 
[[wikipedia:vi]]
 
[[wikipedia:vi]]
  
 
* <code>[[/etc/vim/vimrc]]</code>
 
* <code>[[/etc/vim/vimrc]]</code>
 +
* <code>[[~/.vimrc]]</code>
 +
* <code>[[apt install vim]]</code>
  
  
[[set]] compatible (to stay at matching search result after escape)<ref>https://vi.stackexchange.com/questions/12961/stay-at-matching-search-result-after-escape</ref>
+
* <code>[[set (vi)|set]] [[compatible]] (to stay at matching search result after escape)</code><ref>https://vi.stackexchange.com/questions/12961/stay-at-matching-search-result-after-escape</ref>
  
 
Go directly to [[line]] 33:
 
Go directly to [[line]] 33:
  vi +33 /path/to/your_file.txt
 
  
 +
*<code>vi +33 /path/to/your_file.txt</code>
  
* <code>sudo update-alternatives --config editor</code><ref>https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix</ref>
+
 
 +
*<code>sudo [[update-alternatives]] --config editor</code><ref>https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix</ref>
 
* <code>sudo update-alternatives --config vi</code>
 
* <code>sudo update-alternatives --config vi</code>
  
Line 16: Line 20:
  
  
== Related terms ==
+
== Related ==
* <code>[[vim-cmd]] /hostsvc/hostsummary | grep inMaintenanceMode</code>
+
* [[VMware]]: <code>[[vim-cmd]] /hostsvc/hostsummary | grep inMaintenanceMode</code>
 +
* <code>[[nano]]</code>
 +
* [[ex]]
 +
:[[set list]]
  
 
== See also ==
 
== See also ==
* {{sudo}}
+
* {{sed}}
 
* {{vim}}
 
* {{vim}}
 
* {{vi}}
 
* {{vi}}

Latest revision as of 13:17, 20 December 2023

Advertising: