diff --git a/nvim/init.vim b/nvim/init.vim index e65110f..352bd5e 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -43,6 +43,7 @@ Plug 'easymotion/vim-easymotion' Plug 'yuttie/comfortable-motion.vim' Plug 'vim-scripts/restore_view.vim' Plug 'ericbn/vim-relativize' +Plug 'majutsushi/tagbar' "Other files Plug 'elzr/vim-json' @@ -111,6 +112,13 @@ map :UndotreeToggle noremap :call comfortable_motion#flick(40) noremap :call comfortable_motion#flick(-40) +nnoremap :TagbarToggle + +"Splits +nnoremap +nnoremap +nnoremap +nnoremap "Other mappings nmap :Files @@ -152,7 +160,7 @@ au Filetype tex 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 "Syntax @@ -167,7 +175,6 @@ syntax on "let g:syntastic_check_on_open = 1 "let g:syntastic_check_on_wq = 0 -"Install: python-language-server, pylama, autopep8 let g:ale_open_list = 'on_save' let g:ale_list_window_size = 7 let g:ale_close_preview_on_insert = 1 @@ -209,6 +216,8 @@ let g:airline_powerline_fonts = 1 highlight! TermCursorNC guibg=red let g:colorizer_auto_filetype='css,html,python,js' +let g:tagbar_sort = 0 +let g:tagbar_show_line_numbers = 1 "Rainbow brackets let g:rainbow_active = 1 diff --git a/nvim/readme.md b/nvim/readme.md new file mode 100644 index 0000000..8927406 --- /dev/null +++ b/nvim/readme.md @@ -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`