2020-05-03 00:27:25 -04:00
|
|
|
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'
|
2020-12-17 11:34:25 -05:00
|
|
|
Plugin 'kien/ctrlp.vim'
|
|
|
|
Plugin 'tpop/vim-fugitive'
|
2020-05-03 00:27:25 -04:00
|
|
|
Plugin 'scrooloose/nerdtree'
|
|
|
|
Plugin 'edkolev/tmuxline.vim'
|
2020-05-17 00:01:28 -04:00
|
|
|
Plugin 'vim-airline/vim-airline-themes'
|
2020-05-03 00:27:25 -04:00
|
|
|
"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 <C-j> <C-W>j
|
|
|
|
map <C-k> <C-W>k
|
|
|
|
map <C-h> <C-W>h
|
|
|
|
map <C-l> <C-W>l
|
|
|
|
let NERDTreeShowHidden=1
|
2020-12-06 23:37:13 -05:00
|
|
|
set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
|
2020-05-03 00:27:25 -04:00
|
|
|
colorscheme desert
|
2020-05-04 14:00:50 -04:00
|
|
|
syntax on
|
2020-05-17 00:01:28 -04:00
|
|
|
set splitright
|
|
|
|
set splitbelow
|
|
|
|
set number
|
2020-05-08 11:54:56 -04:00
|
|
|
"---------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
|
2020-05-17 01:15:58 -04:00
|
|
|
"----airline tabs for buffers-------
|
|
|
|
let g:airline#extensions#tabline#enabled = 1
|
2020-05-18 23:17:22 -04:00
|
|
|
let g:airline_theme = 'dark'
|
2020-12-06 22:58:11 -05:00
|
|
|
let g:tmuxline_powerline_separators = 1
|
|
|
|
let g:airline_powerline_fonts = 1
|
2020-05-18 23:17:22 -04:00
|
|
|
let mapleader = ";"
|
|
|
|
set showcmd
|
|
|
|
map <Leader>a :bn<cr>
|
|
|
|
map <Leader>f :bp<cr>
|
|
|
|
map <Leader>d :bp<cr>:bd #<cr>
|
2020-05-17 01:15:58 -04:00
|
|
|
"-----nerdtree--------------------
|
2020-05-18 23:17:22 -04:00
|
|
|
nmap <Leader>e :NERDTreeToggle<CR>
|
2020-12-17 11:34:25 -05:00
|
|
|
" Search as you type, highlight results
|
|
|
|
set incsearch
|
|
|
|
set showmatch
|
|
|
|
set hlsearch
|
|
|
|
nnoremap \\ :noh<cr> " Clear higlighting
|
|
|
|
"nnoremap <esc> :noh<return><esc>
|