diff options
| -rw-r--r-- | nvim/init.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index fe50fd8..0071fa6 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -20,6 +20,10 @@ set shiftwidth=4 set exrc set secure +" Open splits to the right and below +set splitright +set splitbelow + " Customize the prefix key let mapleader = "," @@ -29,6 +33,12 @@ nnoremap <Esc><Esc> :nohlsearch<CR> " Leave terminal mode more quickly tnoremap <Esc><Esc> <C-\><C-n> +" Open terminal in a vertical split +nnoremap <leader>tv :vertical terminal<CR> + +" Open terminal in a horizontal split +nnoremap <leader>th :horizontal terminal<CR> + " " Netrw: the built-in file explorer " |
