Vim: diferència entre les revisions
Salta a la navegació
Salta a la cerca
mCap resum de modificació |
mCap resum de modificació |
||
(Hi ha 3 revisions intermèdies del mateix usuari que no es mostren) | |||
Línia 3: | Línia 3: | ||
Add to the end of /etc/vimrc | Add to the end of | ||
nano /etc/vimrc | |||
or | |||
nano /etc/vim/vimrc | |||
Use nano instead of vi to avoid the " to be applied to all rows | |||
<pre> | <pre> | ||
Línia 13: | Línia 18: | ||
set noai | set noai | ||
set background=dark | set background=dark | ||
set paste | |||
set term=xterm | |||
</pre> | </pre> | ||
the term=xterm is to repair when the arrow keys do not work https://vim.fandom.com/wiki/Fix_arrow_keys_that_display_A_B_C_D_on_remote_shell#Solution_22 |
Revisió de 21:51, 12 març 2023
Add to the end of
nano /etc/vimrc
or
nano /etc/vim/vimrc
Use nano instead of vi to avoid the " to be applied to all rows
"Agegit Marti: set noautoindent set nocindent set nosmartindent set noai set background=dark set paste set term=xterm
the term=xterm is to repair when the arrow keys do not work https://vim.fandom.com/wiki/Fix_arrow_keys_that_display_A_B_C_D_on_remote_shell#Solution_22