Difference between revisions of "VIM"

From Vlsiwiki
Jump to: navigation, search
(Configuration)
(Shortcuts)
Line 24: Line 24:
  
 
* :''x'' - Jump to line 'x' in the file
 
* :''x'' - Jump to line 'x' in the file
* y''d''y or ''d''yy - Copy d lines to clipboard
+
* y''x''y or ''x''yy - Copy x lines to clipboard
 +
* d''x''d or ''x''dd - Cut x lines to clipboard
  
 
=== Configuration ===
 
=== Configuration ===

Revision as of 02:23, 17 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

Configuration