1
0
mirror of https://github.com/vbrandl/dotfiles synced 2025-07-01 16:55:09 +02:00

Add vimux bindings, highlight current line, add vimux-cargo plugin

This commit is contained in:
Valentin Brandl
2017-02-18 15:25:06 +01:00
parent 9ab22cce15
commit 1986f95bde
2 changed files with 16 additions and 0 deletions

View File

@ -81,6 +81,7 @@ set history=1000 " keep 1000 lines of history
" set textwidth=120
set number " display absolute number of current line
set relativenumber " display relative line numbers
set cursorline " highlight current line
" encoding
set fileencoding=utf-8
" break at last word instead of last char
@ -354,4 +355,18 @@ endfunction
autocmd! User GoyoEnter call <SID>goyo_enter()
autocmd! User GoyoLeave call <SID>goyo_leave()
" vimux mappings
" Prompt for a command
map <Leader>vp :VimuxPromptCommand<CR>
" Prompt for a make command
map <Leader>vm :VimuxPromptCommand("make ")<CR>
" Inspect runner pane
map <Leader>vi :VimuxInspectRunner<CR>
" Close runner
map <Leader>vq :VimuxCloseRunner<CR>
" Rerun last command
map <Leader>vl :VimuxRunLastCommand<CR>
" Stop runninc command
map <Leader>vs :VimuxInterruptRunner<CR>
" vim: set filetype=vim ts=8 sw=2 tw=120 noet :