Vim configuration file--partial configuration

Source: Internet
Author: User

Vim related set nuset showmatchset autoindentset smartindentset rulerset incsearchset tabstop=4set shiftwidth=4set Cindentset clipboard+=unnamedsyntax onset nocompatibleset showcmdset ignorecaseset novisualbellset laststatus=2set Mouse=alet tlist_use_right_window=1

Compilation, language

Compile configuration Map <F6>: Call CR () <cr>func! CR () Exec "W" exec "!g++%-o%<" exec "! ./%<" Endfuncmap <F2>: Call Settitle () <cr>func settitle () Let L = 0 Let L = L + 1 | Call Setline (L, ' #include <stdio.h> ') let L = L + 1 | Call Setline (L, ' #include <string.h> ') let L = L + 1 | Call Setline (L, ' #include <iostream> ') let L = L + 1 | Call Setline (L, ' #include <algorithm> ') let L = L + 1 | Call Setline (L, ' #include <vector> ') let L = L + 1 | Call Setline (L, ' #include <queue> ') let L = L + 1 | Call Setline (L, ' #include <set> ') let L = L + 1 | Call Setline (L, ' #include <map> ') let L = L + 1 | Call Setline (L, ' #include <math.h> ') let L = L + 1 | Call Setline (L, ' #include <string> ') let L = L + 1 | Call Setline (L, ' #include <stdlib.h> ') let L = L + 1 | Call Setline (L, ' #include <time.h> ') let L = L + 1 | Call Setline (L, ") let L = L + 1 | Call Setline (l, ' int main () ') let L = L + 1 | Call Setline (L, ' {') let L = L + 1 | Call Setline (l,'//freopen ("In.txt", "R", stdin); Let L = L + 1 | Call Setline (L, '//freopen ("OUT.txt", "w", stdout); Let L = L + 1 | Call Setline (L, ") let L = L + 1 | Call Setline (L, ' return 0; ') Let L = L + 1 | Call Setline (L, '} ') Endfunc

Vim configuration file--partial configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.