Vim configuration for JavaScript development with: Yarn 1.70, npm 5.6.0, node 8.x
10K+
shenron/vim-ide:latestMy vim configuration for JavaScript development. Dependencies availalble:

Vim sessions can be stored if the /home/node/.vim/sessions is mapped to a volume.
Today only one session can be saved, because the name of the session refer to the WORKDIR (/home/node/app).
So all sessions rewrite the app.node.home.vim file.
docker run -ti --rm -v $(pwd):/home/node/app shenron/vim-idebash and launch vim manuallydocker run -ti --rm -v $(pwd):/home/node/app vim-ide /bin/bashvimIf for some reasons you want to install vim-ide on your host (Gnu Linux / OSX),
(from npm install -g jsctags)(from npm install -g git+https://github.com/Perlence/tstags.git)clone the project in ~/.vim/
git clone https://github.com/shenron/docker-vim-ide.git ~/.vim/
run cd ~/.vim/ && ./host-install
tabs navigation
nnoremap <S-Tab> :tabprevious<CR>
nnoremap <Tab> :tabnext<CR>
NerdTree toggle
map <silent> <C-o> :NERDTreeToggle<CR>
map <silent> <C-f> :NERDTreeFind<CR>
Align file
:nnoremap <localleader>= <Esc>gg=G<C-o>
outindent /indent
vnoremap < <gvvnoremap > >gv
tagbar
nmap <C-g> :TagbarToggle<CR>
Gundo toggle
map <silent> <C-h> :GundoToggle<CR>
show buffer
:nnoremap <localleader>b :ls<CR>:buffer<Space>
marks
:nnoremap <localleader>m :<CR>:DoShowMarks<CR>
:nnoremap <localleader>m! :<CR>:NoShowMarks<CR>
delete marks
:delm! | delm A-Z0-9
sessions
:nnoremap <localleader>q :<CR>:execute MakeSession()<CR>
:nnoremap <localleader>o :<CR>:execute OpenSession()<CR>
Content type
Image
Digest
Size
443.2 MB
Last updated
almost 7 years ago
docker pull shenron/vim-ide