Skip to content

Commit

Permalink
Allow user to remove percentage sign in VimuxHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
jmriego authored and alerque committed Jul 27, 2024
1 parent fa35410 commit 690d4aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/vimux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let g:loaded_vimux = 1

" Set up all global options with defaults right away, in one place
let g:VimuxDebug = get(g:, 'VimuxDebug', v:false)
let g:VimuxHeight = get(g:, 'VimuxHeight', 20)
let g:VimuxHeight = get(g:, 'VimuxHeight', '20%')
let g:VimuxOpenExtraArgs = get(g:, 'VimuxOpenExtraArgs', '')
let g:VimuxOrientation = get(g:, 'VimuxOrientation', 'v')
let g:VimuxPromptString = get(g:, 'VimuxPromptString', 'Command? ')
Expand Down Expand Up @@ -230,7 +230,7 @@ endfunction
function! s:vimuxPaneOptions() abort
let height = VimuxOption('VimuxHeight')
let orientation = VimuxOption('VimuxOrientation')
return '-l '.height.'% -'.orientation
return '-l '.height.' -'.orientation
endfunction

""
Expand Down

0 comments on commit 690d4aa

Please sign in to comment.