Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " run pathogen
- execute pathogen#infect()
- " Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
- call plug#begin('~/.vim/plugged')
- " Specifiy vim-plug plugins
- Plug '/usr/local/opt/fzf' | Plug 'junegunn/fzf.vim'
- " wut?
- set nocompatible " be iMproved, required
- filetype off " required
- " configure gutter
- set number
- :set numberwidth=3
- :highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
- " configure syntax highlighting
- filetype plugin indent on
- syntax on
- "colorscheme distinguished
- " Folding Settings
- set foldmethod=indent "fold based on indent
- set foldnestmax=10 "deepest fold is 10 levels
- set nofoldenable "dont fold by default
- set foldlevel=2 "this is just what i use
- " Set tab size
- set expandtab
- set shiftwidth=4
- set softtabstop=4
- " map to system clipboard
- set clipboard=unnamed
- " open NERDTree by default
- autocmd vimenter * NERDTree
- let NERDTreeShowHidden=1
- " map NERDTree commands
- map <C-c> :NERDTreeToggle<CR>
- " close NERDTree if last window
- autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement