vim /home/ercan/.vimrc
syntax on
set background=dark
set ruler
set more
set autoread
set number
set hidden
set noautowrite
set lazyredraw
set showmode
set showcmd
set nocompatible
set autoindent smartindent
set smarttab
set tabstop=2
set shiftwidth=2
set scrolloff=5
set sidescrolloff=5
set history=200
set backspace=indent,eol,start
set linebreak
set cmdheight=2
set undolevels=1000
set updatecount=100
set complete=.,w,b,u,U,t,i,d
set ttyfast
set noerrorbells
set shell=bash
set fileformats=unix
set ff=unix
filetype on
filetype indent on
filetype plugin on
set wildmode=longest:full
set wildmenu
let maplocalleader=','
set laststatus=2
set incsearch
set ignorecase
set hlsearch
set showmatch
set diffopt=filler,iwhite
set statusline=[%n]\ %<%.99f\ %h%w%m%r%{exists('*CapsLockStatusline')?CapsLockStatusline():''}%y%=%-16(\ %l,%c-%v\ %)%P
set laststatus=2
set cursorline
highlight CursorLine guibg=lightblue guifg=white ctermbg=blue " ctermfg=white
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>
" NERDTree configuration
let NERDTreeWinSize=35
" map to toggle NERDTree window
:map <F5> :NERDTree <enter>
:map <F6> :NERDTreeFind <enter>
:map <F8> :NERDTreeClose <enter>
:map <F7> :NERDTreeToggle <enter>
Comments
Post a Comment