lib/soywiki.vim in soywiki-0.3.9 vs lib/soywiki.vim in soywiki-0.4.0

- old
+ new

@@ -190,13 +190,13 @@ end call system("mkdir -p " . namespace) call writefile([title, '', ''], file) endif if (a:split == 2) - exec "rightbelow vsplit ". file + exec "botright vsplit ". file elseif (a:split == 1) - exec "rightbelow split ". file + exec "botright split ". file elseif (a:split == 0) exec "e ".file endif if s:search_for_link != '' let res = search(s:search_for_link, 'cw') @@ -473,11 +473,11 @@ if len(namespace) > 0 call system("mkdir -p " . namespace) endif call writefile([page_title, '', ''], file) endif - exec "rightbelow vsplit ".file + exec "botright vsplit ".file else let targetWindow = bufwinnr(bufnr(file)) exe targetWindow."wincmd w" end if mode == 'append' @@ -525,11 +525,11 @@ else " seamless echom "Expanding seamlessly. Please wait." let res = system(s:expand_command . " seamful " . bufname('%')) endif if a:vertical - rightbelow vnew + botright vnew else new endif setlocal buftype=nofile "scratch buffer for viewing; user can write silent! put =res @@ -565,10 +565,10 @@ noremap <leader>m :call <SID>list_pages()<CR> noremap <leader>M :call <SID>list_pages_linking_in()<CR> noremap <silent> <leader>o :call <SID>find_next_href_and_open()<cr> nnoremap <silent> q :close<cr> " for netrw vertical split - nnoremap ,O :exec "silent rightbelow vsplit ". expand("<cWORD>")<cr> + nnoremap ,O :exec "silent botright vsplit ". expand("<cWORD>")<cr> command! -bar -nargs=1 -range -complete=file SWAppend :<line1>,<line2>call s:extract(<f-args>, 'append', 0) command! -bar -nargs=1 -range -complete=file SWInsert :<line1>,<line2>call s:extract(<f-args>, 'insert', 0) command! -bar -nargs=1 -range -complete=file SWLinkAppend :<line1>,<line2>call s:extract(<f-args>, 'append', 1) command! -bar -nargs=1 -range -complete=file SWLinkInsert :<line1>,<line2>call s:extract(<f-args>, 'insert', 1)