Last active
August 29, 2015 14:03
-
-
Save ikawka/a518ed6f9554fa8f70ed to your computer and use it in GitHub Desktop.
Vim+NERDTree+PowerLine Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
python from powerline.vim import setup as powerline_setup | |
python powerline_setup() | |
python del powerline_setup | |
set guifont=Inconsolata\ for\ Powerline:h18 | |
set background=dark | |
colorscheme macvim "delek | |
set number | |
set laststatus=2 " Always display the statusline in all windows | |
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline) | |
set nowrap | |
set tabstop=4 shiftwidth=4 expandtab | |
autocmd VimEnter * NERDTree | |
autocmd VimEnter * wincmd p | |
"autocmd BufEnter * NERDTreeMirror | |
"NERDTree shortcut | |
function OpenNERDTree() | |
execute ":NERDTreeToggle" | |
endfunction | |
command -nargs=0 OpenNERDTree :call OpenNERDTree() | |
nmap <ESC>t :OpenNERDTree<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NERDTree | |
requires: pathogen.vim | |
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
cd ~/.vim/bundle | |
git clone https://github.com/scrooloose/nerdtree.git | |
PowerLine Status bar | |
https://powerline.readthedocs.org/en/latest/overview.html#installation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment