1
0
Fork 0

Make nvim default editor

This commit is contained in:
Jeremy Kaplan 2017-12-28 11:38:11 -08:00 committed by Jeremy Kaplan
commit c24d78f435
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,6 @@ if dein#load_state('~/.config/nvim/plugins')
call dein#add('Shougo/denite.nvim') call dein#add('Shougo/denite.nvim')
call dein#add('Shougo/deoplete.nvim') call dein#add('Shougo/deoplete.nvim')
call dein#add('fatih/vim-go') call dein#add('fatih/vim-go')
call dein#add('vim-python/python-syntax')
call dein#add('jiangmiao/auto-pairs') call dein#add('jiangmiao/auto-pairs')
call dein#add('neomake/neomake') call dein#add('neomake/neomake')
call dein#add('ntpeters/vim-better-whitespace') call dein#add('ntpeters/vim-better-whitespace')
@ -19,6 +18,7 @@ if dein#load_state('~/.config/nvim/plugins')
call dein#add('scrooloose/nerdtree') call dein#add('scrooloose/nerdtree')
call dein#add('tpope/vim-repeat') call dein#add('tpope/vim-repeat')
call dein#add('tpope/vim-surround') call dein#add('tpope/vim-surround')
call dein#add('vim-python/python-syntax')
call dein#add('zchee/deoplete-go') call dein#add('zchee/deoplete-go')
call dein#end() call dein#end()

View file

@ -18,7 +18,7 @@ source_many($HOME + '/.config/tako/completers', is_tako)
$TAKO_SETTINGS.auto_pushd = True $TAKO_SETTINGS.auto_pushd = True
$XDG_CONFIG_HOME = $HOME + '/.config' $XDG_CONFIG_HOME = $HOME + '/.config'
$EDITOR = 'emacs' $EDITOR = 'nvim'
$VISUAL = $EDITOR $VISUAL = $EDITOR
for path in [ for path in [

View file

@ -1,6 +1,6 @@
export PATH=$HOME/bin:$HOME/.local/bin:$PATH export PATH=$HOME/bin:$HOME/.local/bin:$PATH
export EDITOR='emacs' export EDITOR='nvim'
export VISUAL=$EDITOR export VISUAL=$EDITOR
if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then