Record the vim configuration file

Source: Internet
Author: User
Tags imap
1 "show row number 2 set nu 3 4" Hide assist prompt 5 set shortmess = ATI 6 7 "syntax highlight 8 syntax on 9 10" file type automatic detection 11 filetype on 12 13 "Use Vim keyboard mode 14 set nocompatible 15 16" No need to back up 17 set nobackup 18 19 "no storage or file read-only pop-up confirmation 20 set confirm 21 22" 23 set mouse available = a 24 25 "tab indent 26 set tabstop = 4 27 Set shiftwidth = 4 28 set expandtab 29 set smarttab 30 31" file automatically detects external changes 32 set autoread 33 34 "c file automatically indent 35 set cindent 36 37 "automatic alignment 38 set Autoindent 39 40 "smart indent 41 set smartindent 42 43" highlight search match 44 set hlsearch 45 46 "background color 47 set background = Dark 48 49" display match 50 set showmatch 51 52 "display ruler, is to show the cursor position 53 set r000054 55 "Remove VI consistency 56 set nocompatible 57 58" allow collapse 59 set foldenable 60 61 """"""""""" "62 63" syntax-based folding 64 set OFDM = syntax 65 66 "manually fold 67 set OFDM = manual 68 69" set keyboard ing, fold 70 "nnoremap <space >@= (fo Ldclosed (line ('.') <0 )? 'Zc': 'Z ')) <CR> 71 72 """"""""""""""""""""""""""""""""""" "73 74" Do Not flash 75 set novisualbell 76 77 "Start display status line 78 set laststatus = 2 79 80" light display current line 81 autocmd insertleave * se nocul 82 83 "highlight the current line with a light color 84 autocmd insertenter * se cul 85 86" display input command 87 set showcmd 88 89 "blank between Split windows 90 set fillchars = vert: /91 92 set fillchars = STL:/93 94 set fillchars = stlnc: /95 96 "tags Settings """"""""""""""""" "97 98" configure the tags-list location 99 let tlist_ctags_cmd = "/usr/local/bin/ctags" 100 101 "to automatically enable tlist102 Map <F9>: tlisttoggle <CR> 103 imap <F9> <ESC>: tlisttoggle <CR> i104 105 imap <C-S> <ESC>: W <CR> i107 108 "positioning tlist on the right side 109 let tlist_use_right_window = 1110 111" tlist112 let tlist_show_one_file = 1113 114 "when the last window is taglist, disable vim115 let tlist_exit_onlywindow = 1116 117 "Other plug-in settings """"""""" "118" execute pathogen119 execute pathogen # infect () 120 121 "Open nerdtree122 Map <F3>: nerdtreetoggle <CR>

 

Record the vim configuration file

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.