Last active
September 28, 2018 09:14
-
-
Save canhtran/5d82542e8116b424317144fb6552ab09 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
cal plug#begin('~/.config/nvim/bundle') | |
Plug 'scrooloose/nerdtree' | |
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'tpope/vim-fugitive' | |
call plug#end() | |
syntax enable | |
set number | |
set cursorline | |
hi CursorLine term=bold cterm=bold guibg=Grey40 | |
" vim airline config | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:airline#extensions#branch#enabled = 1 | |
let g:airline_powerline_fonts = 1 | |
let g:airline_theme='luna' | |
" deoplete config | |
let g:deoplete#enable_at_startup = 1 | |
" map the <tab> to autocomplete | |
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" | |
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" | |
" config python for vim | |
let g:python3_host_prog = '/Users/canhtran/anaconda3/bin/python' | |
" nerdtree | |
map <C-n> :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment