feat(prog/nvim): add cmd abbr for belright split

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-07 17:01:01 +03:00
parent 37992c5766
commit ee8cd68b5c

View file

@ -27,6 +27,9 @@ nnoremap <leader>ev :split $MYVIMRC<cr>
nnoremap <leader>sv :source $MYVIMRC<cr> nnoremap <leader>sv :source $MYVIMRC<cr>
" }}} " }}}
cabbrev bsp belowright split
cabbrev rvsp belowright vsplit
" Markdown file settings {{{ " Markdown file settings {{{
aug filetype_md aug filetype_md
au! au!
@ -68,7 +71,7 @@ let g:sql_type_default = 'pgsql'
let g:neoformat_try_node_exe = 1 let g:neoformat_try_node_exe = 1
aug fmt aug fmt
au! au!
au FileType javascript,javascriptreact,typescript,typescriptreact,rust au FileType javascript,javascriptreact,typescript,typescriptreact,rust,haskell
\ au BufWritePre <buffer> undojoin | Neoformat \ au BufWritePre <buffer> undojoin | Neoformat
aug END aug END
" }}} " }}}