Difference between revisions of "Vi"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 14: Line 14:
  
 
* [[Bash]]: <code>[[set -o vi]]</code> (<code>~./[[.bash_profile]]</code>)
 
* [[Bash]]: <code>[[set -o vi]]</code> (<code>~./[[.bash_profile]]</code>)
 +
 +
 +
== Related terms ==
 +
* <code>[[vim-cmd]] /hostsvc/hostsummary | grep inMaintenanceMode</code>
  
 
== See also ==
 
== See also ==

Revision as of 12:19, 5 April 2021

wikipedia:vi

/etc/vim/vimrc


set compatible (to stay at matching search result after escape)[1]

Go directly to line 33:

  vi +33 /path/to/your_file.txt


  • sudo update-alternatives --config editor[2]
  • sudo update-alternatives --config vi


Related terms

  • vim-cmd /hostsvc/hostsummary | grep inMaintenanceMode

See also

  • https://vi.stackexchange.com/questions/12961/stay-at-matching-search-result-after-escape
  • https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix
  • Advertising: