Created
February 21, 2011 09:38
-
-
Save r2k0/836862 to your computer and use it in GitHub Desktop.
my vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set ls=2 | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set showcmd "shows what you are typing as a command | |
set foldmethod=marker "folding | |
set autoindent | |
set incsearch | |
set nobackup | |
set notitle | |
set nu | |
set laststatus=2 | |
set statusline=%F%m%r%h%w[%L][%{&ff}]%y[%p%%][%04l,%04v] | |
set expandtab | |
set smarttab | |
set cursorcolumn | |
set cursorline | |
set nosmartindent " no smart indent | |
set backspace=2 | |
set ignorecase "ignoring case | |
set smartcase | |
set incsearch "incremental searching | |
set hlsearch "highlight the search | |
set nohidden "remove the buffer | |
"create the directories first | |
set backup | |
set backupdir=~/.vim/backup | |
set directory=~/.vim/tmp | |
"key mappings | |
map <C-o> <esc>:browse tabnew<cr> | |
map <C-t> <esc>:tabnew<cr> | |
map tc <esc>:tabclose<cr> | |
map tp <esc>:tabprevious<cr> | |
map tn <esc>:tabnext<cr> | |
"color scheme | |
colorscheme darkZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment