Files
dotfiles/vim/.vimrc
Dan MacLeod e636084b0d added vim
2023-12-30 11:15:26 +10:30

43 lines
1.1 KiB
VimL

syntax on
set nocompatible
set tabstop=4
set shiftwidth=4
set smarttab smartindent
set number
set colorcolumn=120
set termguicolors
set mouse=a
call plug#begin()
" The default plugin directory will be as follows:
" - Vim (Linux/macOS): '~/.vim/plugged'
" - Vim (Windows): '~/vimfiles/plugged'
" - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
" You can specify a custom plugin directory by passing it as the argument
" - e.g. `call plug#begin('~/.vim/plugged')`
" - Avoid using standard Vim directory names like 'plugin'
" Make sure you use single quotes
" General
Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'davidhalter/jedi-vim'
Plug 'tpope/vim-fugitive'
Plug 'shumphrey/fugitive-gitlab.vim'
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'jeetsukumaran/vim-filesearch'
Plug 'dense-analysis/ale'
" languages
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
call plug#end()
" catppuccin theme
colorscheme catppuccin_frappe
hi Normal guibg=NONE
" custom gitlab instance
let g:fugitive_gitlab_domains = ['https://gitlab.reivernet.com']
let g:gitlab_api_keys = {'gitlab.reivernet.com': 'rnetgitlabMBmmo_A-Zm6xwxcPkCFE'}