diff --git a/vim/.vimrc b/vim/.vimrc new file mode 100644 index 0000000..bf44677 --- /dev/null +++ b/vim/.vimrc @@ -0,0 +1,42 @@ +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'}