summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 194624a..6a398a7 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -41,6 +41,7 @@ let mapleader=" "
set shiftwidth=2
set mouse=a
+set splitright
" ruler
set relativenumber number
@@ -78,6 +79,12 @@ nnoremap <leader>fg <cmd>Telescope live_grep<CR>
nnoremap <leader><leader> <cmd>Telescope buffers<CR>
+" GitGutter
+
+nnoremap <leader>gp <cmd>GitGutterPreviewHunk<CR>
+nnoremap <leader>gu <cmd>GitGutterUndoHunk<CR>
+
+
" Treesitter
lua <<EOF