set nocompatible filetype off " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required Plugin 'gmarik/Vundle.vim' Plugin 'vim-airline/vim-airline' Plugin 'kien/ctrlp.vim' Plugin 'scrooloose/nerdtree' "Plugin 'edkolev/tmuxline.vim' Plugin 'vim-airline/vim-airline-themes' Plugin 'leafgarland/typescript-vim' Plugin 'peitalin/vim-jsx-typescript' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required map j map k map h map l let NERDTreeShowHidden=1 set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab set mouse=a set nowrap colorscheme ron syntax on set splitright set splitbelow set number "---------explorer------ let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 25 "----airline tabs for buffers------- let g:airline#extensions#tabline#enabled = 1 let g:airline_theme = 'violet' let g:airline_solarized_bg='dark' let g:tmuxline_powerline_separators = 1 let g:airline_powerline_fonts = 1 "----markdown folding------------ "let g:vim_markdown_folding_disabled = 1 set nofoldenable " disable folding "---general-------------------- let mapleader = ";" set showcmd map a :bn map f :bp map d :bp:bd # "---move the whole page without moving the cursor--- nnoremap J nnoremap K "-----nerdtree-------------------- nmap e :NERDTreeToggle " Search as you type, highlight results set incsearch set showmatch set hlsearch set mouse=a "----disable the bell; t_vb is required to be set to nothing set visualbell set t_vb= nnoremap \\ :noh " Clear higlighting set nowrap "nnoremap :noh " Resize windows nnoremap 5+ nnoremap 5- nnoremap 10> nnoremap 10<