From ee8cd68b5c57bca5c8f3b21695540d09711a21a5 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 7 Apr 2022 17:01:01 +0300 Subject: [PATCH] feat(prog/nvim): add cmd abbr for belright split --- programs/nvim/init.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/programs/nvim/init.vim b/programs/nvim/init.vim index 460a37b..9af0e7d 100644 --- a/programs/nvim/init.vim +++ b/programs/nvim/init.vim @@ -27,6 +27,9 @@ nnoremap ev :split $MYVIMRC nnoremap sv :source $MYVIMRC " }}} +cabbrev bsp belowright split +cabbrev rvsp belowright vsplit + " Markdown file settings {{{ aug filetype_md au! @@ -68,7 +71,7 @@ let g:sql_type_default = 'pgsql' let g:neoformat_try_node_exe = 1 aug fmt au! - au FileType javascript,javascriptreact,typescript,typescriptreact,rust + au FileType javascript,javascriptreact,typescript,typescriptreact,rust,haskell \ au BufWritePre undojoin | Neoformat aug END " }}}