From 904cc98e855a47cdc38337965c617e39c97e0e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Tue, 20 Jul 2021 16:52:15 +0200 Subject: [PATCH] Update Gstatus to open up on the topleft with a fixed size --- vimrc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 6883500..f8dcff3 100644 --- a/vimrc +++ b/vimrc @@ -403,6 +403,13 @@ Plug 'godlygeek/tabular' Plug 'plasticboy/vim-markdown' +"Plug 'pwntester/octo.vim' +"Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update + +Plug 'nvim-lua/popup.nvim' +Plug 'nvim-lua/plenary.nvim' +Plug 'nvim-telescope/telescope.nvim' + call plug#end() set clipboard=unnamedplus @@ -430,7 +437,10 @@ set relativenumber " Search in files nnoremap :Ag " Git status -nnoremap :15Gstatus +" Old layout in the bottom +"nnoremap :15Gstatus +" New layout vertical +nnoremap :vertical topleft Gstatus vertical resize 50 " Search file name nnoremap :Files " Search git file name @@ -468,3 +478,12 @@ nnoremap o nnoremap O " nnoremap %!xxd + +nnoremap / Telescope search_history +nnoremap ch Telescope command_history +nnoremap gc Telescope git_commits +nnoremap gb Telescope git_branches +nnoremap gss Telescope git_status +nnoremap gsc Telescope git_stash + +nnoremap iss ! glab issue list