User Tools

Site Tools


haas:fall2019:unix:vim_customize

Differences

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

Link to this comparison view

haas:fall2019:unix:vim_customize [2012/09/15 12:45] (current)
Line 1: Line 1:
 +======Customizing your VIM session======
 +Since we'll be using VIM quite a bit this semester (and hopefully beyond!), we should customize it to make it even more useful than it is already!
  
 +=====Create/​Edit your ~/.vimrc file=====
 +Open your vim config file:
 +
 +<cli>
 +lab46:~$ vim ~/.vimrc
 +</​cli>​
 +
 +=====Enter settings=====
 +Here are some good starter settings you may find useful. Use your references to look up what these options do.
 +
 +<​code>​
 +set tabstop=4
 +set shiftwidth=4
 +syn on
 +set cursorline
 +set number
 +set smartindent
 +</​code>​
 +
 +Save and exit when done.
 +
 +When you next open vim to edit a file, you should notice some differences in both appearance and behavior.
haas/fall2019/unix/vim_customize.txt · Last modified: 2012/09/15 12:45 (external edit)