1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
| set number set mouse=a syntax on filetype on set ruler colorscheme koehler set guifont=Monaco:h14
set tabstop=4 set shiftwidth=4 set expandtab
set clipboard=unnamed
set ignorecase set hlsearch
map <C-n> :nohl<CR>
nnoremap <Space> <C-d>
map q :q<CR> map ; :
" Install Plugins Start call plug#begin()
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'majutsushi/tagbar' Plug 'plasticboy/vim-markdown' Plug 'suan/vim-instant-markdown' Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' Plug 'junegunn/gv.vim' Plug 'sodapopcan/vim-twiggy' Plug 'hotoo/pangu.vim' Plug 'vim-scripts/cscope.vim' Plug 'Valloric/YouCompleteMe' Plug 'mileszs/ack.vim' Plug 'ctrlpvim/ctrlp.vim' Plug 'vim-airline/vim-airline' Plug 'mbbill/undotree' " Plug 'pangloss/vim-javascript' Plug 'mxw/vim-jsx' Plug 'leafgarland/typescript-vim' " Plug 'peitalin/vim-jsx-typescript' Plug 'leafgarland/typescript-vim'
call plug#end() " Install Plugins End
" setting: nerdtree nmap <F3> :NERDTreeToggle<CR>
" setting: tagbar nmap <F4> :TagbarToggle<CR>
" setting: vim-markdown let g:vim_markdown_folding_disabled = 1
" setting: vim-gitgutter set updatetime=250
" setting vim-pangu autocmd BufWritePre *.markdown,*.md call PanGuSpacing()
" ctags map <F5> :!ctags -R<CR> let g:Tlist_Ctags_Cmd='/usr/local/Cellar/ctags/5.8_1/bin/ctags'
" YoucompleteMe let g:ycm_global_ycm_extra_conf='~/.vim/plugged/YouCompleteMe/third_party/ycmd/examples/.ycm_extra_conf.py' let g:ycm_show_diagnostics_ui = 0 " disable error checking, 1 for enable
" undotree if has("persistent_undo") set undodir=~/.vim/undo/ set undofile endif
" typescript " autocmd BufNewFile,BufRead *.tsx,*.jsx set filetype=typescript.tsx
|