Thread: VIM: The (un)official thread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by laserlight View Post
    Interesting. I have only ever used ESC for that, but what advantage would the other methods have? Wouldn't rebinding capslock made it inconvenient for those rare cases where you actually want to use it to eh, shout?
    Sure, but caps lock is on the home row, and escape is certainly not. I usually use ctrl + c. But that's rather... emacs'y. If you need to shout, just bind escape to caps lock, and caps lock to escape.

    Oh and you forgot to mention, turn of vi compatibility mode, because even the bugs are mimicked.

    Here's my .vimrc if anyone cares.
    Code:
    " zac's vimrc
    " Wed Feb 11 07:28:14 UTC 2005
    
    " func
    set nocompatible              " non vi compatible
    set nobackup                  " no backup files (~)
    set history=64                " command line history
    
    " searching
    set incsearch                 " incremental searching
    set ignorecase                " case insenitive search
    set smartcase                 " if search has uppercase letters then search is case-sensitive
    
    " behaviour
       " backspace over everything in indent mode
    set backspace=start,indent,eol
    set mouse=""                  " no mouse support in X11
    set confirm                   " always :confirm on exit
       " complete options 
    set completeopt=menu,longest,preview
    
    " appearance
    set number                    " line numbers
    set ruler                     " ruler
    set showcmd                   " display incomplete commands
    set showmatch                 " show the matching bracket for the last )
    set nowrap                    " no wrapping
    syn on                        " syntax highlighting
    set showtabline=2             " tab bar at the top
    
    " indenting
    set tabstop=3                 " tab = 3 spaces
    set expandtab                 " space tabs
    set cindent
    set autoindent
    set smartindent
    
    " colour scheme
    colorscheme delek
    Last edited by zacs7; 04-29-2009 at 03:49 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 02-26-2009, 11:48 PM
  2. Terminating secondary thread from another thread
    By wssoh85 in forum C++ Programming
    Replies: 13
    Last Post: 12-19-2008, 05:14 AM
  3. CreateThread ?!
    By Devil Panther in forum Windows Programming
    Replies: 13
    Last Post: 11-15-2005, 10:55 AM
  4. pointer to main thread from worker thread?
    By draegon in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2005, 06:35 AM
  5. Critical Sections, destroying
    By Hunter2 in forum Windows Programming
    Replies: 4
    Last Post: 09-02-2003, 10:36 PM

Tags for this Thread