-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
80 lines (66 loc) · 1.6 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
" Plugins
call plug#begin()
" code plugins
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdcommenter'
Plug 'github/copilot.vim'
" theme pluggins
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
Plug 'itchyny/lightline.vim'
" file manager
Plug 'preservim/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
" file search
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
call plug#end()
" Basic
set number
set relativenumber
set cursorline
set showcmd
set showmatch
set ignorecase
set smartcase
set incsearch
set hlsearch
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set smartindent
set wrap
set linebreak
set clipboard=unnamedplus
set backspace=indent,eol,start
set clipboard=unnamed
let mapleader = ","
" plugins
source $HOME/.vim/init/plugins.vimrc
" lsp settings -- coc
source $HOME/.vim/init/coc.vimrc
" file explorer settings -- nerdtree
source $HOME/.vim/init/nerdtree.vimrc
" key bindings
source $HOME/.vim/init/keybindings.vimrc
" visual
" catppuccin-latte, catppuccin-frappe, catppuccin-macchiato, catppuccin-mocha
colorscheme catppuccin_mocha
let g:lightline = {'colorscheme': 'catppuccin_mocha'}
hi Normal guibg=NONE ctermbg=NONE
" interface
set wildmode=longest:full,full
set showtabline=2
set laststatus=2
set termguicolors
set noshowmode
let g:NERDSpaceDelims = 1
" performance
set lazyredraw
set updatetime=300
set ttimeout
set timeoutlen=1000 ttimeoutlen=0
set backspace=indent,eol,start