mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
Tagbar
This commit is contained in:
parent
02e74e52f0
commit
5d3c243cba
2 changed files with 28 additions and 2 deletions
|
|
@ -43,6 +43,7 @@ Plug 'easymotion/vim-easymotion'
|
||||||
Plug 'yuttie/comfortable-motion.vim'
|
Plug 'yuttie/comfortable-motion.vim'
|
||||||
Plug 'vim-scripts/restore_view.vim'
|
Plug 'vim-scripts/restore_view.vim'
|
||||||
Plug 'ericbn/vim-relativize'
|
Plug 'ericbn/vim-relativize'
|
||||||
|
Plug 'majutsushi/tagbar'
|
||||||
|
|
||||||
"Other files
|
"Other files
|
||||||
Plug 'elzr/vim-json'
|
Plug 'elzr/vim-json'
|
||||||
|
|
@ -111,6 +112,13 @@ map <C-m> :UndotreeToggle<CR>
|
||||||
|
|
||||||
noremap <silent> <ScrollWheelDown> :call comfortable_motion#flick(40)<CR>
|
noremap <silent> <ScrollWheelDown> :call comfortable_motion#flick(40)<CR>
|
||||||
noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
|
noremap <silent> <ScrollWheelUp> :call comfortable_motion#flick(-40)<CR>
|
||||||
|
nnoremap <Tab> :TagbarToggle<CR>
|
||||||
|
|
||||||
|
"Splits
|
||||||
|
nnoremap <C-J> <C-W><C-J>
|
||||||
|
nnoremap <C-K> <C-W><C-K>
|
||||||
|
nnoremap <C-L> <C-W><C-L>
|
||||||
|
nnoremap <C-H> <C-W><C-H>
|
||||||
|
|
||||||
"Other mappings
|
"Other mappings
|
||||||
nmap <C-p> :Files<CR>
|
nmap <C-p> :Files<CR>
|
||||||
|
|
@ -152,7 +160,7 @@ au Filetype tex
|
||||||
|
|
||||||
|
|
||||||
let g:indent_guides_enable_on_vim_startup = 1
|
let g:indent_guides_enable_on_vim_startup = 1
|
||||||
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree']
|
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'tagbar']
|
||||||
let g:indent_guides_guide_size = 1
|
let g:indent_guides_guide_size = 1
|
||||||
|
|
||||||
"Syntax
|
"Syntax
|
||||||
|
|
@ -167,7 +175,6 @@ syntax on
|
||||||
"let g:syntastic_check_on_open = 1
|
"let g:syntastic_check_on_open = 1
|
||||||
"let g:syntastic_check_on_wq = 0
|
"let g:syntastic_check_on_wq = 0
|
||||||
|
|
||||||
"Install: python-language-server, pylama, autopep8
|
|
||||||
let g:ale_open_list = 'on_save'
|
let g:ale_open_list = 'on_save'
|
||||||
let g:ale_list_window_size = 7
|
let g:ale_list_window_size = 7
|
||||||
let g:ale_close_preview_on_insert = 1
|
let g:ale_close_preview_on_insert = 1
|
||||||
|
|
@ -209,6 +216,8 @@ let g:airline_powerline_fonts = 1
|
||||||
highlight! TermCursorNC guibg=red
|
highlight! TermCursorNC guibg=red
|
||||||
|
|
||||||
let g:colorizer_auto_filetype='css,html,python,js'
|
let g:colorizer_auto_filetype='css,html,python,js'
|
||||||
|
let g:tagbar_sort = 0
|
||||||
|
let g:tagbar_show_line_numbers = 1
|
||||||
|
|
||||||
"Rainbow brackets
|
"Rainbow brackets
|
||||||
let g:rainbow_active = 1
|
let g:rainbow_active = 1
|
||||||
|
|
|
||||||
17
nvim/readme.md
Normal file
17
nvim/readme.md
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Stuff to install
|
||||||
|
## Neovim
|
||||||
|
https://github.com/junegunn/vim-plug
|
||||||
|
https://github.com/ryanoasis/nerd-fonts#patched-fonts
|
||||||
|
`pip install neovim`
|
||||||
|
`npm i -g neovim`
|
||||||
|
|
||||||
|
## Tagbar
|
||||||
|
`git clone https://github.com/universal-ctags/ctags`
|
||||||
|
`apt install autoconf automake`
|
||||||
|
`./autogen.sh`
|
||||||
|
`./configure --prefix=/where/you/want # defaults to /usr/local`
|
||||||
|
`make`
|
||||||
|
`make install # may require extra privileges depending on where to install`
|
||||||
|
|
||||||
|
## Python
|
||||||
|
`pip install neovim python-language-servers yapf isort pylama`
|
||||||
Loading…
Add table
Reference in a new issue