Make Syntastic close just the error window

Syntastic uses the location list (a window-local variant of the quickfix list), so a :lclose will close it, but keep the other buffers. As per syntastic’s help pages, the initial height can be configured: :let g:syntastic_loc_list_height=5 But I suspect that your intrusive Janus distribution has a hand in that. Vim “distributions” like spf-13 and Janus … Read more

Cut to the system clipboard from Vim on Ubuntu

Your version of Vim doesn’t support X, which is required for clipboard access. By default, Ubuntu ships several builds of vim and only the GUI variant supports clipboard access. I always recompile vim from source so that a single vim (with symlinks for gvim etc) supports everything required (including :gui to switch from command line … Read more

Matchit not working

Since Vim comes shipped with matchit plugin, all I needed to do was activate it: vim ~/.vimrc Then add the following into your .vimrc: set nocompatible filetype plugin on runtime macros/matchit.vim

Escape to IntelliJ IDEA shortcuts from IdeaVim

I made .ideavimrc that contains bindings for all conflicted mappings. Maybe it’ll be usefull to someone. imap jj <Esc> let mapleader = ” ” map <leader>a :action $SelectAll<CR> map <leader>b :action GotoDeclaration<CR> map <leader>c :action $Copy<CR> map <leader>d :action EditorDuplicate<CR> map <leader>e :action RecentFiles<CR> map <leader>f :action Find<CR> map <leader>g :action GotoLine<CR> map <leader>h :action … Read more