Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DotFiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Marteau
DotFiles
Commits
e581cbdf
Commit
e581cbdf
authored
4 years ago
by
Antoine Marteau
Browse files
Options
Downloads
Patches
Plain Diff
vista : explorateur structure code avec lsp
parent
1f5d9e3d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/nvim/init.vim
+11
-2
11 additions, 2 deletions
config/nvim/init.vim
with
11 additions
and
2 deletions
config/nvim/init.vim
+
11
−
2
View file @
e581cbdf
...
...
@@ -32,7 +32,7 @@ Plug 'ryanoasis/vim-devicons' " various symbols (linux, rust, python, ...)
Plug
'gruvbox-community/gruvbox'
" color scheme
Plug
'junegunn/fzf'
,
{
'do'
:
{
->
fzf#install
()
}
}
" autocompletion recherches
Plug
'junegunn/fzf.vim'
Plug
'junegunn/fzf.vim'
Plug
'tpope/vim-fugitive'
"git integrations
Plug
'stsewd/fzf-checkout.vim'
"gestion branches
et
tags
avec fzf
...
...
@@ -42,6 +42,9 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " completion
" c++/C config
Plug
'jackguo380/vim-lsp-cxx-highlight'
"
c
++
highlighting
" explore source file structure
Plug
'liuchengxu/vista.vim'
Plug
'ThePrimeagen/vim-be-good'
"
vim
tutorial game by The Primeagen
call
plug#end
()
...
...
@@ -85,7 +88,7 @@ au BufWinLeave * call clearmatches()
autocmd
BufWrite
* %s
/\s\+$/
/
e
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"""""""""" COC config
"""""""""" COC config
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Always show the signcolumn, otherwise it would shift the text each time
...
...
@@ -257,3 +260,9 @@ nnoremap <leader>gl :diffget //3<CR>
" faire apparaitre le fenettre fuzzy au milieu de l'ecran
let
g:fzf_layout
=
{
'window'
:
{
'width'
:
0
.
8
,
'height'
:
0
.
8
}
}
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"""""""""" Vista : code structure explorer with lsp support
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
nnoremap
<
silent
>
<
leader
>
vv
:
Vista
!!<
CR
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment