-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
91 lines (72 loc) · 1.96 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
81
82
83
84
85
86
87
88
89
90
91
" _
" (_)
" __ ___ _ __ ___ _ __ ___
" \ \ / / | '_ ` _ \| '__/ __|
" \ V /| | | | | | | | | (__
" (_)_/ |_|_| |_| |_|_| \___|
" GENERAL ---------------------------------------------------------------- {{{
filetype plugin indent on
syntax on
set nocompatible
set termguicolors
set number
set expandtab
set nobackup
set nowrap
set cursorline
set incsearch
set ignorecase
set smartcase
set showcmd
set noshowmode
set showmatch
set hlsearch
set t_Co=256
set encoding=utf-8
set fileencoding=utf-8
set backspace=indent,eol,start
set shiftwidth=4
set tabstop=4
set cursorlineopt=number
set history=1000
set ttimeoutlen=0
" }}}
" PLUGINS ---------------------------------------------------------------- {{{
" Vim-pathogen ---------------------------------------- {{{
runtime bundle/vim-pathogen.git/autoload/pathogen.vim
execute pathogen#infect()
" }}}
" Vim-startify ---------------------------------------- {{{
let g:startify_center = 40
let g:startify_files_number = 5
let g:splash_head = [
\ ' __ ___ ',
\ ' \ \ / (_) ',
\ ' \ \ / / _ _ __ ___ ',
\ ' \ \/ / | | ‘_ ` _ \ ',
\ ' \ / | | | | | | |',
\ ' \/ |_|_| |_| |_|',
\ ' ',
\ ' ',
\ ]
let g:startify_custom_header = startify#center(g:splash_head)
" }}}
" Vim-airline ----------------------------------------- {{{
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#whitespace#enabled = 0
let g:airline_powerline_fonts = 1
let g:airline_theme = 'catppuccin_macchiato'
" }}}
" }}}
" VIMSCRIPT -------------------------------------------------------------- {{{
" This will enable code folding.
" Use the marker method of folding.
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END
" }}}
" COLORS ----------------------------------------------------------------- {{{
colorscheme catppuccin_macchiato
hi EndOfBuffer guifg=bg
" }}}