New answers tagged

3

The command line window (q:, :<C-f>) is a convenient place to run normal vim commands when editing :-commands. In this case, I would add to the mapping the opening of the command-line window and the usual crs. Some subtleties: we need nmap to make crs work; normally we'd prefer nnoremap <C-f> leaves the cursor where it is, and apparently it ...


2

You'll have to reverse engineer the internal function used by Abolish and call it. It's quite likely one of the functions from the autoload plugin file that is part of abolish. In the case of my lh-style plugin (which provides a feature similar to abolish, but which is also meant to provide a stable API to be used from other plugins), it would have been lh#...


0

From :help YCM YCM has a g:ycm_filetype_blacklist option that lists filetypes for which YCM shouldn't be turned on. YCM will work only in filetypes that both the whitelist and the blacklist allow (the blacklist "allows" a filetype by _not_ having it as a key). My blacklist (in my .vimrc) looks like this, and YCM isn't triggered for plaintext files:...


Top 50 recent answers are included