Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


vim_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vim_tips [2012/09/12 06:26] – created juckinsvim_tips [2022/06/09 14:00] (current) juckins
Line 1: Line 1:
-__Disable automatic comment insertion__+==== Vi and Vim Tips ==== 
 + 
 +__Disable automatic comment insertion in vi (vim)__ 
 + 
 +[[http://vim.wikia.com/wiki/Disable_automatic_comment_insertion]]
  
 Create ~/.vimrc and insert this line: Create ~/.vimrc and insert this line:
Line 5: Line 9:
 <code> <code>
 autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
 +colorscheme peachpuff
 </code> </code>
  
-[[http://vim.wikia.com/wiki/Disable_automatic_comment_insertion]]+Colors: https://mamchenkov.net/wordpress/2004/05/10/vim-for-perl-developers/ 
  
vim_tips.1347445586.txt.gz · Last modified: 2012/09/12 06:26 by juckins