dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit d71fa47b623f990fd0904d0fb5e3ac7e1c1bc7dd
parent fee46dff35b23ba80ca88d20cbe70517187dd01c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon,  2 Mar 2020 19:31:04 +0100

Submodule update


Former-commit-id: a62856b94c41e36245a8d46f8e114058dc9e46ad
Diffstat:
Mvim/vimrc | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -411,6 +411,7 @@ augroup zepl autocmd FileType javascript let b:repl_config = { 'cmd': 'node' } autocmd FileType haskell let b:repl_config = { 'cmd': 'ghci' } augroup END +nnoremap gzr :Repl<CR> " }}} " }}} " }}} @@ -816,6 +817,11 @@ inoremap <expr> <C-x>s &spell ? "<c-g>u<Esc>[s1z=`]a<c-g>u" : "" nnoremap <leader>m? :set makeprg<CR> nnoremap <expr> <leader>mm g:loaded_dispatch ? ":Make<CR>" : ":silent make<CR>\|:redraw!<CR>\|:cwindow<CR>" nnoremap <expr> <leader>mc g:loaded_dispatch ? ":Make clean<CR>" : ":silent make clean<CR>\|:redraw!<CR>" + +" Buffer text object +vnoremap % :<C-U>silent! normal! ggVG<CR> +omap % :normal V%<CR> + " }}} " Autocommands {{{ if has('autocmd')