Utak-atik konfigurasi .vimrc

Maaf St Ignucius, tapi saya lebih mudheng pakai vim daripada emacs.

" ~/.vimrc
"
" Basic
set nocompatible
set noexrc
set background=dark		"necessary?
set cpoptions=aABceFsmq 	"had no idea
syntax on

" General
filetype plugin indent on
set autoread
set backspace=indent,eol,start
set ffs=unix,dos,mac
set mouse=a
set number
"set cursorcolumn 		"bugging :(
set cursorline	 		"useful :)
set incsearch
"set list	 		"bugging too :(
set numberwidth=4
set ruler
set showcmd
set showmatch
set statusline=%F%m%r%h%w[%L]%y[%p%%][%04l,%04v]

set encoding=utf8
set expandtab
set softtabstop=4
set shiftwidth=4

set ignorecase
set smartcase
set formatoptions=rq

set wildmenu
set nobackup nowb noswapfile
set autoindent
set smartindent
set wrap
"set foldenable                 "necessary?

" better yanking
map Y y$
" ROT 13. Fun :)
map <F12> ggVGg?
" quick tab
map <leader>tn :tabnew<cr>
map <leader>te :tabedit
map <leader>tc :tabclose<cr>
map <leader>tm :tabmove
" quick save
nmap <leader>w :w!<cr>

Kok nggak dari dulu saya ninggalin nano ya?

2 thoughts on “Utak-atik konfigurasi .vimrc

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s