init.vim 912 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. :set number
  2. :set relativenumber
  3. :set autoindent
  4. :set tabstop=4
  5. :set shiftwidth=4
  6. :set smarttab
  7. :set softtabstop=4
  8. :set mouse=a
  9. call plug#begin()
  10. Plug 'https://github.com/vim-airline/vim-airline'
  11. Plug 'https://github.com/preservim/nerdtree'
  12. Plug 'https://github.com/tpope/vim-surround'
  13. Plug 'https://github.com/tpope/vim-commentary'
  14. Plug 'https://github.com/ap/vim-css-color'
  15. Plug 'https://github.com/rafi/awesome-vim-colorschemes'
  16. Plug 'https://github.com/ryanoasis/vim-devicons'
  17. Plug 'https://github.com/tc50cal/vim-terminal'
  18. Plug 'https://github.com/terryma/vim-multiple-cursors'
  19. Plug 'https://github.com/preservim/tagbar'
  20. Plug 'https://github.com/neoclide/coc.nvim'
  21. set encoding=UTF-8
  22. nmap <F8> :TagbarToggle<CR>
  23. :set completeopt-=preview
  24. source ~/.config/nvim/plugged/awesome-vim-colorschemes/colors/iceberg.vim
  25. call plug#end()
  26. nnoremap <C-n> :NERDTree<CR>
  27. nnoremap <C-t> :NERDTreeToggle<CR>