Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set nocompatible " no compatiple with old vi editor
- " syntax highlight on
- syntax on
- filetype plugin indent on
- "Save file after VIM window focus lost
- :au FocusLost * :wa
- map <C-s> :wa<CR>
- " Do not alert when switching buffers without saving
- set hidden
- "font
- colorscheme desert
- set guifont=monospace\ 10
- "Indentation on
- set autoindent
- " fold mode
- set foldmethod=manual
- " smart indent on
- set smartindent
- " replace tabs with 2 spaces
- set smarttab
- set softtabstop=2
- set shiftwidth=2
- set tabstop=2
- set expandtab
- " do not show GUI panel
- set guioptions-=T
- " show line numbers
- set number
- set incsearch "incremental search
- set ignorecase " while searching
- set vb " turns off visual bell
- " allow to use backspace instead of "x"
- set backspace=indent,eol,start whichwrap+=<,>,[,]
- " C-c and C-v - Copy/Paste
- vmap <C-C> "+yi
- imap <C-V> <esc>"+gPi
Add Comment
Please, Sign In to add comment