Changes

Jump to navigation Jump to search
166 bytes added ,  17:21, 30 October 2016
no edit summary
</pre>
It is useful to add mappings for these commands. For example: nnoremap <silent> ]q :<c-u><c-r>=v:count1<cr>cnext<cr>zz nnoremap <silent> [q :<c-u><c-r>=v:count1<cr>cprevious<cr>zzOr install Tim Pope's <i>unimpaired</i> plugin. === Key mappings borrowed from SciTE===
If you use the stand-alone distribution for Windows/Linux.
</pre>
 
=== Quickfix mappings ===
 
It is useful to define mappings for quickfix commands, to be able to navigate among ConTeXt errors.
For example:
nnoremap <silent> ]q :<c-u><c-r>=v:count1<cr>cnext<cr>zz
nnoremap <silent> [q :<c-u><c-r>=v:count1<cr>cprevious<cr>zz
Or install Tim Pope's <i>unimpaired</i> plugin.
== Makefiles ==
" map ":make" to the F9 key
imap <F9> <ESC>:exe "lcd" fnameescape(expand("%:p:h"))<CR>:make<CR> nmap <F9> :exe "lcd" fnameescape(expand("%:p:h"))<CR> :make<CR>
"map ":make test" to the F8 key
134

edits

Navigation menu