Thomas Brisbout
Freelance JS developer
tbrisbout
Vim codebase is a really bad one according to several people.
http://geoff.greer.fm/vim/
Contributions are hard.
#if defined(BEOS)
int
#else
static int
#endif
RealWaitForChar(fd, msec, check_for_gpm)
int fd;
long msec;
int *check_for_gpm UNUSED;
{
int ret;
#ifdef FEAT_NETBEANS_INTG
int nb_fd = netbeans_filedesc();
#endif
#if defined(FEAT_XCLIPBOARD) || defined(USE_XSMP) || defined(FEAT_MZSCHEME)
static int busy = FALSE;[WIP] VimL to lua translator #243
[WIP] Compiling under Windows #810
# Ubuntu
sudo add-apt-repository \
ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
# OSX
brew tap neovim/neovim
brew install --HEAD neovim
# Python Module
sudo pip2 install neovim
# Clipboard (on Linux, depends on distro)
sudo apt-get install xsel
# The easy way
ln -s ~/.vimrc ~/.nvimrc
ln -s ~/.vim ~/.nvim
" Conditionals
if !has('nvim')
set ttymouse=xterm2
endif
if has('nvim')
tnoremap <Esc> <C-\><C-n>
endif
" load specific
if has('nvim')
source ./nvim_only
else
source ./vim_only
endif
" common config
...
- 'autoindent' is set by default
- 'autoread' is set by default
- 'backspace' defaults to "indent,eol,start"
- 'complete' doesn't include "i"
- 'display' defaults to "lastline"
- 'encoding' defaults to "utf-8"
- 'formatoptions' defaults to "tcqj"
- 'history' defaults to 10000 (the maximum)
- 'hlsearch' is set by default
- 'incsearch' is set by default
- 'langnoremap' is set by default
- 'laststatus' defaults to 2 (statusline is always shown)
- 'listchars' defaults to "tab:> ,trail:-,nbsp:+"
- 'mouse' defaults to "a"
- 'nocompatible' is always set
- 'nrformats' defaults to "hex"
- 'sessionoptions' doesn't include "options"
- 'smarttab' is set by default
- 'tabpagemax' defaults to 50
- 'tags' defaults to "./tags;,tags"
- 'ttyfast' is always set
- 'viminfo' includes "!"
- 'wildmenu' is set by default