set nocompatible
set nobackup
set nowritebackup
set nu
set is
set hls
set ruler
"set ignorecase
set incsearch
set smartcase
set tabstop=4 shiftwidth=4 expandtab
set guioptions-=T
" set guioptions-=m
set backspace=indent,eol,start
syntax on
syntax enable
colorscheme desert
" Setting the font in the GUI
if has("gui_running")
if has("gui_gtk2")
set guifont=Courier\ New\ 11
elseif has("gui_photon")
set guifont=Courier\ New:s11
elseif has("gui_kde")
set guifont=Courier\ New/11/-1/5/50/0/0/0/1/0
elseif has("x11")
set guifont=-*-courier-medium-r-normal-*-*-180-*-*-m-*-*
else
set guifont=Courier_New:h11:cDEFAULT
endif
endif
" Close the tab windows
map <M-F4> :bd<CR>
" Toggle the taglist window
map <M-F8> :TlistToggle<CR>
" Switch between .c & .h
nnoremap <silent> <F12> :A<CR>
"map <BACKSPACE> X
nmap <c-s> :w<CR>
imap <c-s> <Esc>:w<CR>a"
" Move to the next or previous tab
map <C-H> :bp<CR>
map <C-L> :bn<CR>
" Move between the splitted windows
map <C-J> <C-W>j<C-W>
map <C-K> <C-W>k<C-W>
set nobackup
set nowritebackup
set nu
set is
set hls
set ruler
"set ignorecase
set incsearch
set smartcase
set tabstop=4 shiftwidth=4 expandtab
set guioptions-=T
" set guioptions-=m
set backspace=indent,eol,start
syntax on
syntax enable
colorscheme desert
" Setting the font in the GUI
if has("gui_running")
if has("gui_gtk2")
set guifont=Courier\ New\ 11
elseif has("gui_photon")
set guifont=Courier\ New:s11
elseif has("gui_kde")
set guifont=Courier\ New/11/-1/5/50/0/0/0/1/0
elseif has("x11")
set guifont=-*-courier-medium-r-normal-*-*-180-*-*-m-*-*
else
set guifont=Courier_New:h11:cDEFAULT
endif
endif
" Close the tab windows
map <M-F4> :bd<CR>
" Toggle the taglist window
map <M-F8> :TlistToggle<CR>
" Switch between .c & .h
nnoremap <silent> <F12> :A<CR>
"map <BACKSPACE> X
nmap <c-s> :w<CR>
imap <c-s> <Esc>:w<CR>a"
" Move to the next or previous tab
map <C-H> :bp<CR>
map <C-L> :bn<CR>
" Move between the splitted windows
map <C-J> <C-W>j<C-W>
map <C-K> <C-W>k<C-W>