My _vimrc For Gvim Running On Windows

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View My _vimrc For Gvim Running On Windows as PDF for free.

More details

  • Words: 337
  • Pages: 2
set nocompatible source $VIMRUNTIME/vimrc_example.vim source $VIMRUNTIME/mswin.vim behave mswin set diffexpr=MyDiff() function MyDiff() let opt = '-a --binary ' if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif let arg1 = v:fname_in if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif let arg2 = v:fname_new if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif let arg3 = v:fname_out if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif let eq = '' if $VIMRUNTIME =~ ' ' if &sh =~ '\ ' . arg3 . eq endfunction "my settings set showcmd set showmatch set ignorecase "set incsearch "set autowrite set cindent set autoindent set shiftwidth=4 set tabstop=4 set softtabstop=4 set backspace=2 set laststatus=2 set ignorecase set ruler set nohlsearch set smarttab set vb syntax on set fdm=marker set nofen colo desert

" " " " "

Show (partial) command in status line. Show matching brackets. Do case insensitive matching Incremental search Automatically save before commands like :next and :make

map <silent> :if &background == "light"set background=darkelseset background=lightendif noremap :res noremap = map :set invhlsearch

map map map map map

g :set invnu j k

" last-position-jump :au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g'\"" | endif " windows settings: (font/size/position) " default system " set guifont=Lucida_Console:h11 " system with Consolas font, download it from M$: " http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-48078a86-b3d36fab68d3&displaylang=en set guifont=Consolas:h12 winsize 100 50 winpos 120 60 set nobackup set nowritebackup

Related Documents

Vimrc
October 2019 7
Gvim
October 2019 4
Vimrc
August 2019 6