summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-01-29 22:37:02 +0100
committerDaniel Weipert <code@drogueronin.de>2022-01-29 22:37:02 +0100
commit3a044ee89dfa206d116bcbc95f6761796cb6f186 (patch)
tree81697bd6dfd0e477fc07a484d383ec134defbcef /.config/nvim
parent37660a45ee7b4a81faed1d3f001c43321b1c8764 (diff)
Adjust configs and add mako
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