-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
executable file
·41 lines (41 loc) · 1.1 KB
/
init.vim
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
let g:did_load_filetypes = 0
lua require('impatient.lua.impatient')
let g:plug_home = stdpath('data').'/plugged'
set guifont=JetBrainsMono\ Nerd\ Font\ Mono:h6.5
set confirm
set title titlestring=NeoVim\ 🧠\ %(%{expand(\"%:~:.:h\")}%)/%t
set encoding=utf-8
set spelllang=en_us
set spell " we need this now?
set number relativenumber
set clipboard+=unnamedplus
set noerrorbells
set smartindent
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
set incsearch nohlsearch
set linebreak
set showbreak=›››\ " there's a trailing <Space>, here.
set breakindent
set smartcase ignorecase
set scrolloff=4
set signcolumn=yes
set cul
set undofile
set colorcolumn=80
set termguicolors
runtime plugins.vim
lua require('init')
runtime maps.vim
augroup highlight_yank
autocmd!
au TextYankPost * silent! lua vim.highlight.on_yank { higroup='IncSearch', timeout=200 }
augroup END
set completeopt=menu,menuone,noselect
let g:cursorhold_updatetime = 500
let g:rose_pine_variant = 'moon'
colorscheme kanagawa