-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
50 lines (41 loc) · 1.21 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
42
43
44
45
46
47
48
49
" Lazy 插件管理
lua require('plugins')
lua require('conf/nvim-treesitter-context')
lua require('conf/nvim-treesitter')
lua require('conf/nvim-tree')
lua require('conf/bufferline')
lua require('conf/toggleterm')
lua require('conf/lualine')
lua require("conf/telescope")
lua require("conf/comment")
lua require("conf/autopairs")
lua require("conf/gitsigns")
" LSP
lua require("lsp/setup")
lua require("lsp/nvim-cmp")
" lua neovim 配置
lua require('options')
lua require('keymaps')
lua require('colorscheme')
lua require('autocmds')
" 语法高亮
" syntax on
" 显示行号
" set rnu
" set number
" set number relativenumber
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,cp936
" set mouse=a " 启用鼠标
" 退出vim重置光标
:autocmd VimLeave * set guicursor= | call chansend(v:stderr, "\x1b[ q")
set guifont=JetBrainsMono\ Nerd\ Font:h12
" add tab space
" set ts=4 " tabstop
" set softtabstop=4 " 在编辑模式的时候按退格键的时候退回缩进的长度
" set shiftwidth=4 " 每一级缩进的长度
" expandtab 缩进用空格来表示,noexpandtab 则是用制表符表示一个缩进。
" set expandtab
" set autoindent " 自动缩进