Browse Source

lazygit

dev
Gregory Leeman 8 months ago
parent
commit
6e5b8496b8
  1. 19
      vimrc

19
vimrc

@ -1,4 +1,3 @@
" (_) " (_)
" __ ___ _ __ ___ _ __ ___ " __ ___ _ __ ___ _ __ ___
" \ \ / / | '_ ` _ \| '__/ __| " \ \ / / | '_ ` _ \| '__/ __|
@ -30,6 +29,11 @@ Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'github/copilot.vim', {'branch': 'release'} Plug 'github/copilot.vim', {'branch': 'release'}
Plug 'roxma/nvim-yarp', { 'do': 'pip install -r requirements.txt' }
Plug 'ncm2/ncm2'
Plug 'ncm2/ncm2-bufword'
Plug 'ncm2/ncm2-path'
Plug 'ncm2/ncm2-jedi'
call plug#end() call plug#end()
@ -43,12 +47,10 @@ set comments=b:# " patterns that can start a comment li
set completeopt=noinsert,menuone,noselect " options for Insert mode completion set completeopt=noinsert,menuone,noselect " options for Insert mode completion
set completeopt=noinsert,menuone,noselect " options for Insert mode completion set completeopt=noinsert,menuone,noselect " options for Insert mode completion
set cursorline " highlight the screen line of the cursor set cursorline " highlight the screen line of the cursor
" set foldenable " set to display all folds open set foldenable " set to display all folds open
" set foldopen-=block " for which commands a fold will be opened set foldopen-=block " for which commands a fold will be opened
set foldmethod=expr set foldmethod=marker
set foldexpr=nvim_treesitter#foldexpr() " expression used to determine fold level " set nofoldenable " disable folding at startup.
" set foldmethod=marker
set nofoldenable " disable folding at startup.
set foldtext=FoldText() " expression used to display for a closed fold set foldtext=FoldText() " expression used to display for a closed fold
set formatoptions-=cro " how automatic formatting is to be done set formatoptions-=cro " how automatic formatting is to be done
set hlsearch " highlight matches with last search pattern set hlsearch " highlight matches with last search pattern
@ -148,3 +150,6 @@ augroup dirvish_config
\ | nmap <silent><buffer> p <Plug>(dovish_copy) \ | nmap <silent><buffer> p <Plug>(dovish_copy)
augroup END augroup END
" autocmd BufEnter * call ncm2#enable_for_buffer()
set completeopt=noinsert,menuone,noselect

Loading…
Cancel
Save