From ae21f3bc5b756fe33375e328e5c4fb484a1bd07d Mon Sep 17 00:00:00 2001 From: Fazil Altinel Date: Mon, 26 Apr 2021 13:33:56 +0300 Subject: [PATCH] Add indentation guideline plugin --- nvim/init.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 7abd0a4..900c54a 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -25,6 +25,8 @@ Plug 'tpope/vim-fugitive' Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } Plug 'scrooloose/nerdtree' Plug 'sheerun/vim-polyglot' +Plug 'lukas-reineke/indent-blankline.nvim' +Plug 'Yggdroot/indentLine' call plug#end() @@ -66,6 +68,13 @@ nnoremap gpl :Git pull " Note that to use bar literally, we need backslash it, see also `:h :bar`. nnoremap gpu :15split \| term git push +" Add spaces after comment delimiters by default +let g:NERDSpaceDelims = 0 + +"let g:indent_blankline_space_char = ' ' +let b:indent_blankline_enabled = v:false +let g:indentLine_char = '▏' + set noswapfile set number " Show line number and relative line number @@ -94,6 +103,12 @@ set history=500 " The number of command and search history to keep set nofoldenable +" Case insensitive autocompletion for command mode +set wildignorecase + +" Switch between buffers without saving +set hidden + " Some keybindings " cc comment out single line " cu uncomment a line