syntax enable let mapleader = " " call plug#begin('~/.vim/plugged') Plug 'ervandew/supertab' Plug 'preservim/nerdtree' Plug 'liuchengxu/space-vim-dark' Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' Plug 'mhinz/vim-startify' Plug 'jeetsukumaran/vim-buffergator' Plug 'ap/vim-buftabline' Plug 'airblade/vim-gitgutter' Plug 'majutsushi/tagbar' Plug 'vim-airline/vim-airline' " Plug 'ctrlpvim/ctrlp.vim' " Replaced with telescope Plug 'enricobacis/vim-airline-clock' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' call plug#end() map :NERDTreeToggle set tabstop=2 set shell=/bin/bash set shiftwidth=2 set expandtab set hidden set background=dark set autoindent set preserveindent set copyindent " Set Colors if (has("termguicolors")) set termguicolors endif colorscheme space-vim-dark hi Comment cterm=italic " Relative numbers and when not in buiffer set absolute numbers set number relativenumber augroup numbertoggle autocmd! autocmd BufEnter,FocusGained,InsertLeave * set relativenumber autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber augroup END " Colors " Disable EX Mode map q: " Disable EX Mode nnoremap Q " Search with Ag nnoremap / :Ag nnoremap :bnext nnoremap :bprev nmap bq :bp bd # "Clock let g:airline#extensions#clock#format = '%I:%M:%S %X' " Find files using Telescope command-line sugar. nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags let g:python_host_prog = '/home/tyrel/.nvim.pythonenv2/bin/python' let g:python3_host_prog = '/home/tyrel/.nvim.pythonenv/bin/python'