<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=DEBIAN_-_Post-Install_VIM</id>
	<title>DEBIAN - Post-Install VIM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=DEBIAN_-_Post-Install_VIM"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=DEBIAN_-_Post-Install_VIM&amp;action=history"/>
	<updated>2026-05-02T18:43:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=DEBIAN_-_Post-Install_VIM&amp;diff=1058&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Wiki&quot; to &quot;Category:Wiki

&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;
&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=DEBIAN_-_Post-Install_VIM&amp;diff=1058&amp;oldid=prev"/>
		<updated>2026-01-17T08:50:09Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:50, 17 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=DEBIAN_-_Post-Install_VIM&amp;diff=486&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Wiki    == Script File ==   &lt;nowiki&gt; #!/bin/sh # # To run after VIM installation   ##### Test pre-existent config file echo &quot;/root/.vimrc test...&quot; if [ -e ~/.vimrc ] then 	echo &quot;# A previous Vim config file is present!&quot; &amp;&amp;  	# Backup previous config file 	echo &quot;# Backup before updating...&quot; &amp;&amp; 	cp -v ~/.vimrc ~/.vimrc.BACKUP &amp;&amp; 	 	# Append new conf to file 	echo &quot;# Updating config file...&quot; &amp;&amp; 	echo &quot;\&quot; Remove auto VISUAL mode on mouse selection&quot; &gt;&gt; ~/.vimrc &amp;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=DEBIAN_-_Post-Install_VIM&amp;diff=486&amp;oldid=prev"/>
		<updated>2025-12-14T07:19:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;    == Script File ==   &amp;lt;nowiki&amp;gt; #!/bin/sh # # To run after VIM installation   ##### Test pre-existent config file echo &amp;quot;/root/.vimrc test...&amp;quot; if [ -e ~/.vimrc ] then 	echo &amp;quot;# A previous Vim config file is present!&amp;quot; &amp;amp;&amp;amp;  	# Backup previous config file 	echo &amp;quot;# Backup before updating...&amp;quot; &amp;amp;&amp;amp; 	cp -v ~/.vimrc ~/.vimrc.BACKUP &amp;amp;&amp;amp; 	 	# Append new conf to file 	echo &amp;quot;# Updating config file...&amp;quot; &amp;amp;&amp;amp; 	echo &amp;quot;\&amp;quot; Remove auto VISUAL mode on mouse selection&amp;quot; &amp;gt;&amp;gt; ~/.vimrc &amp;amp;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Wiki]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Script File ==&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#&lt;br /&gt;
# To run after VIM installation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##### Test pre-existent config file&lt;br /&gt;
echo &amp;quot;/root/.vimrc test...&amp;quot;&lt;br /&gt;
if [ -e ~/.vimrc ]&lt;br /&gt;
then&lt;br /&gt;
	echo &amp;quot;# A previous Vim config file is present!&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
&lt;br /&gt;
	# Backup previous config file&lt;br /&gt;
	echo &amp;quot;# Backup before updating...&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
	cp -v ~/.vimrc ~/.vimrc.BACKUP &amp;amp;&amp;amp;&lt;br /&gt;
	&lt;br /&gt;
	# Append new conf to file&lt;br /&gt;
	echo &amp;quot;# Updating config file...&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
	echo &amp;quot;\&amp;quot; Remove auto VISUAL mode on mouse selection&amp;quot; &amp;gt;&amp;gt; ~/.vimrc &amp;amp;&amp;amp;&lt;br /&gt;
	echo &amp;quot;set mouse-=a&amp;quot; &amp;gt;&amp;gt; ~/.vimrc &amp;amp;&amp;amp;&lt;br /&gt;
&lt;br /&gt;
	echo &amp;quot;Success!!!&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
	exit 0&lt;br /&gt;
else&lt;br /&gt;
	echo &amp;quot;# No previous Vim config file found, creating it...&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
	touch ~/.vimrc &amp;amp;&amp;amp;&lt;br /&gt;
&lt;br /&gt;
	# Append new conf to file&lt;br /&gt;
        echo &amp;quot;# Updating config file...&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
        echo &amp;quot;\&amp;quot; Remove auto VISUAL mode on mouse selection&amp;quot; &amp;gt;&amp;gt; ~/.vimrc &amp;amp;&amp;amp;&lt;br /&gt;
        echo &amp;quot;set mouse-=a&amp;quot; &amp;gt;&amp;gt; ~/.vimrc &amp;amp;&amp;amp;&lt;br /&gt;
&lt;br /&gt;
        echo &amp;quot;Success!!!&amp;quot; &amp;amp;&amp;amp;&lt;br /&gt;
        exit 0&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
exit 0&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>