Difference between revisions of "VIM"

From Vlsiwiki
Jump to: navigation, search
(Configuration)
(Configuration)
Line 49: Line 49:
 
=== Configuration ===
 
=== Configuration ===
  
* This is a color scheme which I created for myself, but feel free to use it; works best on black backgrounds. [http://users.soe.ucsc.edu/~IanLee1521/files/ian.vim ian.vim]  -- [http://users.soe.ucsc.edu/~IanLee1521/files/ian.vim Screenshot]
+
* This is a color scheme which I created for myself, but feel free to use it; works best on black backgrounds. [http://users.soe.ucsc.edu/~IanLee1521/files/ian.vim ian.vim]  -- [http://users.soe.ucsc.edu/~IanLee1521/files/vim_colorscheme_ian.png Screenshot]
 
* To install, place the file in your ~/.vim/colors/ directory, (~/.vim/colors/ian.vim), and add the following line to your .vimrc or .gvimrc file
 
* To install, place the file in your ~/.vim/colors/ directory, (~/.vim/colors/ian.vim), and add the following line to your .vimrc or .gvimrc file
  
 
  colorscheme ian
 
  colorscheme ian

Revision as of 23:20, 20 January 2010

Under Construction!

Latex

Shortcuts

Configuration

Verilog

Shortcuts

Configuration

C/C++

Shortcuts

Configuration

Editing

Shortcuts

  •  :x - Jump to line 'x' in the file
  • yxy or xyy - Copy x lines to clipboard
  • dxd or xdd - Cut x lines to clipboard

Configuration

Configuration file to have efficient editing.

set nocompatible      " Disables troublesome VI compatibilty
set title             " Sets the title bar to give the filename and path
set ruler             " Enables the location information in bottom right corner
set nowrap            " Disables text wrapping
set ignorecase        " Searches ignore case
set wildmenu          " Menu for autocomplete of filenames
set number            " Prints line numbers on left of screen

Color Scheme

Shortcuts

  • Change the current colorscheme
:colorscheme schemename

Configuration

  • This is a color scheme which I created for myself, but feel free to use it; works best on black backgrounds. ian.vim -- Screenshot
  • To install, place the file in your ~/.vim/colors/ directory, (~/.vim/colors/ian.vim), and add the following line to your .vimrc or .gvimrc file
colorscheme ian